From patchwork Wed Sep 30 08:47:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ludovic.desroches@atmel.com X-Patchwork-Id: 524178 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D50C3140D17 for ; Wed, 30 Sep 2015 18:47:47 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754766AbbI3IrZ (ORCPT ); Wed, 30 Sep 2015 04:47:25 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:32443 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754317AbbI3IrW (ORCPT ); Wed, 30 Sep 2015 04:47:22 -0400 Received: from ibiza.corp.atmel.com (10.161.101.13) by eusmtp01.atmel.com (10.161.101.30) with Microsoft SMTP Server id 14.3.235.1; Wed, 30 Sep 2015 10:47:17 +0200 From: Ludovic Desroches To: CC: , , , , , Wenyou Yang , Ludovic Desroches Subject: [PATCH 2/2] i2c: at91: update documentation for new "atmel, twd-hold-cycles" property Date: Wed, 30 Sep 2015 10:47:11 +0200 Message-ID: <1443602831-27069-2-git-send-email-ludovic.desroches@atmel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1443602831-27069-1-git-send-email-ludovic.desroches@atmel.com> References: <1443602831-27069-1-git-send-email-ludovic.desroches@atmel.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Wenyou Yang 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 Signed-off-by: Ludovic Desroches --- 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";