Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbbKYWqd (ORCPT ); Wed, 25 Nov 2015 17:46:33 -0500 Received: from mail.kernel.org ([198.145.29.136]:48725 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbbKYWqb (ORCPT ); Wed, 25 Nov 2015 17:46:31 -0500 Date: Wed, 25 Nov 2015 16:46:27 -0600 From: Rob Herring To: Ludovic Desroches Cc: wsa@the-dreams.de, nicolas.ferre@atmel.com, alexandre.belloni@free-electrons.com, plagnioj@jcrosoft.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cyrille.pichen@atmel.com, Wenyou Yang Subject: Re: [PATCH 2/3] i2c: at91: add DT property "atmel,twd-hold-cycles" to binding Message-ID: <20151125224627.GA16821@rob-hp-laptop> References: <1448372862-11912-1-git-send-email-ludovic.desroches@atmel.com> <1448372862-11912-2-git-send-email-ludovic.desroches@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448372862-11912-2-git-send-email-ludovic.desroches@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1889 Lines: 49 On Tue, Nov 24, 2015 at 02:47:41PM +0100, Ludovic Desroches wrote: > From: Wenyou Yang > > Add a DT property "atmel,twd-hold-cycles" to specify the HOLD > filed of TWIHS_CWGR register to increase the TWD hold time. > > Signed-off-by: Wenyou Yang > Signed-off-by: Ludovic Desroches Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/i2c/i2c-at91.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-at91.txt b/Documentation/devicetree/bindings/i2c/i2c-at91.txt > index 6e81dc1..c81a0cb 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-at91.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-at91.txt > @@ -17,6 +17,9 @@ 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: number of cycles for TWD hold time whose value is > + determinated by (atmel,twd-hold-cycles + 3) x t_peripheral_clock, > + maximum value is 0x1f. > - Child nodes conforming to i2c bus binding > > Examples : > @@ -29,6 +32,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 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/