lkml.org 
[lkml]   [2015]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] i2c: at91: update documentation for new "atmel,twd-hold-cycles" property
Date
From: Wenyou Yang <wenyou.yang@atmel.com>

Add a DT property "atmel,twd-hold-cycles" to specify the HOLD
field of TWIHS_CWGR register to increase the TWD hold time.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
Documentation/devicetree/bindings/i2c/i2c-at91.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-at91.txt b/Documentation/devicetree/bindings/i2c/i2c-at91.txt
index 6e81dc1..f14c0b2 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-at91.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-at91.txt
@@ -17,6 +17,8 @@ Optional properties:
- dma-names: should contain "tx" and "rx".
- atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO
capable I2C controllers.
+- atmel,twd-hold-cycles: increase the TWD hold time by
+ (atmel,twd-hold-cycles + 3) x t_periperal_clk, maximum value is 0x1f.
- Child nodes conforming to i2c bus binding

Examples :
@@ -29,6 +31,7 @@ i2c0: i2c@fff84000 {
#size-cells = <0>;
clocks = <&twi0_clk>;
clock-frequency = <400000>;
+ atmel,twd-hold-cycles = <2>;

24c512@50 {
compatible = "24c512";
--
2.5.0


\
 
 \ /
  Last update: 2015-09-30 11:01    [W:0.122 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site