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

Wolfram Sang wsa at the-dreams.de
Tue Apr 6 20:48:56 BST 2021


On Sat, Mar 13, 2021 at 04:04:24PM +0800, qii.wang at mediatek.com wrote:
> From: Qii Wang <qii.wang at mediatek.com>
> 
> tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device
> clock-stretching or circuit loss, we could get device
> clock-stretch time from dts to adjust these parameters
> to meet the spec via EXT_CONF register.
> 
> Signed-off-by: Qii Wang <qii.wang at mediatek.com>

I tried to understand from the code what the new binding expresses, but
I don't fully understand it. Is it the maximum clock stretch time?
Because I cannot recall a device which always uses the same delay for
clock stretching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210406/0494fb0f/attachment-0001.sig>


More information about the linux-arm-kernel mailing list