Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1280021

Re: [PATCH 1/3] i2c: at91: add setting HOLD field of TWIHS_CWGR via DT

From Ludovic Desroches <ludovic.desroches@atmel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] i2c: at91: add setting HOLD field of TWIHS_CWGR via DT
Date 2015-11-30 17:00 +0100
Message-ID <qAz1U-5xV-7@gated-at.bofh.it> (permalink)
References <qym8O-jw-33@gated-at.bofh.it> <qAypd-5id-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 30, 2015 at 04:13:20PM +0100, Wolfram Sang wrote:
> On Tue, Nov 24, 2015 at 02:47:40PM +0100, Ludovic Desroches wrote:
> > From: Wenyou Yang <wenyou.yang@atmel.com>
> > 
> > Add the HOLD field management. Some i2c devices need a longer data hold
> > time than the one given in the i2c bus specification. Since this value
> > depends on the i2c device connected to the bus, add a DT property to
> > configure it: "atmel,twd-hold-cycles".
> 
> We already have "i2c-sda-hold-time-ns". Can you use that one? Sorry that
> this is not obviously documented, I am working on it...
> 

I think we can use it, I'll rework the patch to convert duration in
number of cycles.
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] i2c: at91: add setting HOLD field of TWIHS_CWGR via DT Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-11-24 14:50 +0100
  Re: [PATCH 1/3] i2c: at91: add setting HOLD field of TWIHS_CWGR via  DT Wolfram Sang <wsa@the-dreams.de> - 2015-11-30 16:20 +0100
    Re: [PATCH 1/3] i2c: at91: add setting HOLD field of TWIHS_CWGR via  DT Ludovic Desroches <ludovic.desroches@atmel.com> - 2015-11-30 17:00 +0100

csiph-web