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

From: Wolfram Sang
Date: Tue Apr 06 2021 - 15:49:05 EST


On Sat, Mar 13, 2021 at 04:04:24PM +0800, qii.wang@xxxxxxxxxxxx wrote:
> From: Qii Wang <qii.wang@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>

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.

Attachment: signature.asc
Description: PGP signature