diff options
author | Christian Ruppert <christian.ruppert@abilis.com> | 2013-06-26 04:55:06 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-06-26 10:02:06 -0400 |
commit | 9803f868944e879c4623c0d910e81f1ae89ccfb4 (patch) | |
tree | 1dc609539e707c857b7a3e38104a6b0063847a41 /Documentation/devicetree/bindings/i2c | |
parent | 4c730a06c19bb83d2fa4308ee4cbb23abc84c9ca (diff) |
i2c-designware: make SDA hold time configurable
This patch makes the SDA hold time configurable through device tree.
Signed-off-by: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com> for arch/arc bits
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-designware.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-designware.txt b/Documentation/devicetree/bindings/i2c/i2c-designware.txt index e42a2ee233e6..7fd7fa25e9b0 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt | |||
@@ -10,6 +10,10 @@ Recommended properties : | |||
10 | 10 | ||
11 | - clock-frequency : desired I2C bus clock frequency in Hz. | 11 | - clock-frequency : desired I2C bus clock frequency in Hz. |
12 | 12 | ||
13 | Optional properties : | ||
14 | - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. | ||
15 | This option is only supported in hardware blocks version 1.11a or newer. | ||
16 | |||
13 | Example : | 17 | Example : |
14 | 18 | ||
15 | i2c@f0000 { | 19 | i2c@f0000 { |
@@ -20,3 +24,14 @@ Example : | |||
20 | interrupts = <11>; | 24 | interrupts = <11>; |
21 | clock-frequency = <400000>; | 25 | clock-frequency = <400000>; |
22 | }; | 26 | }; |
27 | |||
28 | i2c@1120000 { | ||
29 | #address-cells = <1>; | ||
30 | #size-cells = <0>; | ||
31 | compatible = "snps,designware-i2c"; | ||
32 | reg = <0x1120000 0x1000>; | ||
33 | interrupt-parent = <&ictl>; | ||
34 | interrupts = <12 1>; | ||
35 | clock-frequency = <400000>; | ||
36 | i2c-sda-hold-time-ns = <300>; | ||
37 | }; | ||