Thread (8 messages) 8 messages, 2 authors, 2021-04-14

Re: [RESEND] i2c: mediatek: Get device clock-stretch time via dts

From: Qii Wang <qii.wang@mediatek.com>
Date: 2021-04-12 12:03:30
Also in: linux-i2c, linux-mediatek, lkml

On Wed, 2021-04-07 at 20:19 +0200, Wolfram Sang wrote:
quoted
Due to clock stretch, our HW IP cannot meet the ac-timing
spec(tSU;STA,tSU;STO). 
There isn't a same delay for clock stretching, so we need pass a
parameter which can be found through measurement to meet most
conditions.
What about using this existing binding?

- i2c-scl-internal-delay-ns
        Number of nanoseconds the IP core additionally needs to setup SCL.
I can't see the relationship between "i2c-scl-falling-time-ns" and clock
stretching, is there a parameter related to clock stretching?
If you think both of them will affect the ac-timing of SCL, at this
point, "i2c-scl-falling-time-ns" maybe a good choice.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help