Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp663908img; Thu, 28 Feb 2019 06:01:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IYI/gYcttY5ZzRT+AHrZlF7JFLuluaBiHp6cXEf5WrHIpKp5FOfh3vUsRfQI4TIrS7JicFN X-Received: by 2002:a63:2bc6:: with SMTP id r189mr8429312pgr.201.1551362505474; Thu, 28 Feb 2019 06:01:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551362505; cv=none; d=google.com; s=arc-20160816; b=Dx7+nWZAXpkOjq+sqkBsaVRHWmOxqA4tzIuXMH+HrxIxmzoHFUnisBu9F+Gnb6jb/+ NC5tQGj3bjYc6Xs2pa8HF8xAhFEFegeCcOeO2/vkH4TaDHlZ7T6ur9WM3ryQVHCqABez ciThKeX3D1FqyCH+3OqJbVV8EgbLIOfmWE8T70NfpTm2IDlmcBiFphMyDs9WaQbrYSpR DZHsavfNfWeB0xqQhAfhvzwmtsM5cYmZstZVbRPs0CHZ71blGkUCMwMdPd/+JyrZNMUa YZA5YgrSNmxQ4aeS4A50ThPWjgnqYTTA85FpD6Pk856Sers7pvc1EhXU5pyk06Bisc1r mz4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=UDtVIH4C5RGFbb6CijwINPBUU2+9pXNT3llbFAJBIww=; b=qo+clYGICbhVQxHSM6H6WqekFRccox2HI5UgZXZqb1C72h2dx8buJQGkR/MlubbD4D 3otuWonc0hq3UtfkG6azmX+ttNQt8mFbtY1yg5qD+1gyV9XovK9wuWSHtCQ/WXYK+zNQ fqG5txGfAzETBAz5A/jijaAiEr+C7+mWkdKgGEfaASfvj1Ry0gyCID0uhqSKNUUblxhR 7VLuK9wysBEIspP2bdackpU4Hh3K1u+wiseJsmkJB/C4zL6kSGhF3EWegZxYjCJsmECP ddDkIaaSNCFIy/APox+fiE6g+eYmpuR3DID3REoCs1fKLwDHW94cCiwkR8k0pKQDgZp/ MPtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m88si13984555pfi.176.2019.02.28.06.01.29; Thu, 28 Feb 2019 06:01:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732740AbfB1OA2 (ORCPT + 99 others); Thu, 28 Feb 2019 09:00:28 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:54366 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731450AbfB1OA1 (ORCPT ); Thu, 28 Feb 2019 09:00:27 -0500 X-IronPort-AV: E=Sophos;i="5.58,423,1544454000"; d="scan'208";a="8917271" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 28 Feb 2019 23:00:25 +0900 Received: from renesas-VirtualBox.ree.adwin.renesas.com (unknown [10.226.37.56]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 3C321446E12B; Thu, 28 Feb 2019 23:00:22 +0900 (JST) From: Gareth Williams To: Rob Herring , Mark Rutland , Alexandre Belloni , Wolfram Sang , Jarkko Nikula , Andy Shevchenko , Mika Westerberg Cc: Gareth Williams , Phil Edworthy , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/2] i2c: designware: Add support for a bus clock Date: Thu, 28 Feb 2019 13:52:08 +0000 Message-Id: <1551361930-24434-1-git-send-email-gareth.williams.jx@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Synopsys I2C Controller has an interface clock that some SoCs require to access the registers. This series also details the new clock property in the bindings documentation. v5: - Code comments and commit messages updated to reference "interface clock" instead of "peripheral clock". v4: - Code comments and commit messages updated to reference "peripheral clock" instead of "bus clock". v3: - busclk renamed to pclk. - Added comment with dw_i2c_dev struct definition describing pclk. - Added enable rollback of first clock if second fails to enable. - Changed clocks and clock-names sections to use term "peripheral clock" (pclk) instead of "bus clock" (busclk) in dt-bindings documentation. v2: - Use new devm_clk_get_optional() function as it simplifies handling when the optional clock is not present. Phil Edworthy (2): dt: snps,designware-i2c: Add clock bindings documentation i2c: designware: Add support for an interface clock .../devicetree/bindings/i2c/i2c-designware.txt | 9 +++++++++ drivers/i2c/busses/i2c-designware-common.c | 18 ++++++++++++++++-- drivers/i2c/busses/i2c-designware-core.h | 2 ++ drivers/i2c/busses/i2c-designware-platdrv.c | 5 +++++ 4 files changed, 32 insertions(+), 2 deletions(-) -- 2.7.4