* [PATCH 1/2] dt: snps,designware-i2c: Add clock bindings documentation
[not found] <1531731553-22979-1-git-send-email-phil.edworthy@renesas.com>
@ 2018-07-16 8:59 ` Phil Edworthy
2018-07-20 16:19 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Phil Edworthy @ 2018-07-16 8:59 UTC (permalink / raw)
To: Rob Herring, Mark Rutland
Cc: Geert Uytterhoeven, linux-i2c, linux-kernel, linux-renesas-soc,
Phil Edworthy, devicetree
The driver requires an undocumented clock property, so detail it.
Add documentation for a separate bus clock.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
Documentation/devicetree/bindings/i2c/i2c-designware.txt | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-designware.txt b/Documentation/devicetree/bindings/i2c/i2c-designware.txt
index fbb0a6d..e9f4387 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt
@@ -1,16 +1,21 @@
* Synopsys DesignWare I2C
Required properties :
-
- compatible : should be "snps,designware-i2c"
- reg : Offset and length of the register set for the device
- interrupts : <IRQ> where IRQ is the interrupt number.
+ - clocks : phandles for the clocks, see the description of clock-names below.
+ The phandle for the "ic_clk" clock is required. The phandle for the "bus"
+ clock is optional. If a single clock is specified but no clock-name, it is
+ the "ic_clk" clock. If both clocks are listed, the "ic_clk" must be first.
Recommended properties :
-
- clock-frequency : desired I2C bus clock frequency in Hz.
Optional properties :
+ - clock-names : Contains the names of the clocks:
+ "ic_clk", for the core clock used to generate the external I2C clock.
+ "bus", the bus clock, sometimes described as pclk, for register accesses.
- i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
This option is only supported in hardware blocks version 1.11a or newer.
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] dt: snps,designware-i2c: Add clock bindings documentation
2018-07-16 8:59 ` [PATCH 1/2] dt: snps,designware-i2c: Add clock bindings documentation Phil Edworthy
@ 2018-07-20 16:19 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-07-20 16:19 UTC (permalink / raw)
To: Phil Edworthy
Cc: Mark Rutland, Geert Uytterhoeven, linux-i2c, linux-kernel,
linux-renesas-soc, devicetree
On Mon, Jul 16, 2018 at 09:59:12AM +0100, Phil Edworthy wrote:
> The driver requires an undocumented clock property, so detail it.
> Add documentation for a separate bus clock.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
> ---
> Documentation/devicetree/bindings/i2c/i2c-designware.txt | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-20 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1531731553-22979-1-git-send-email-phil.edworthy@renesas.com>
2018-07-16 8:59 ` [PATCH 1/2] dt: snps,designware-i2c: Add clock bindings documentation Phil Edworthy
2018-07-20 16:19 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).