[PATCH] i2c: bcm2835: Set clock-stretch timeout to 35ms
Ivan T. Ivanov
iivanov at suse.de
Mon Feb 7 07:41:50 PST 2022
On 02-07 16:15, Wolfram Sang wrote:
> Date: Mon, 7 Feb 2022 16:15:24 +0100
> From: Wolfram Sang <wsa at kernel.org>
> To: "Ivan T. Ivanov" <iivanov at suse.de>, Florian Fainelli
> <f.fainelli at gmail.com>, Ray Jui <rjui at broadcom.com>, Scott Branden
> <sbranden at broadcom.com>, Nicolas Saenz Julienne <nsaenz at kernel.org>,
> linux-i2c at vger.kernel.org, linux-arm-kernel at lists.infradead.org, Phil
> Elwell <phil at raspberrypi.org>
> Subject: Re: [PATCH] i2c: bcm2835: Set clock-stretch timeout to 35ms
> Message-ID: <YgE3jMkzisFZFHb5 at shikoro>
Tags: all arm i2c linux me ring rpi
>
>
> > By default, busses are I2C and not SMBus, so it looks like we should
> > finally apply this patch which disables CLKT:
> >
> > http://patchwork.ozlabs.org/project/linux-i2c/patch/1519422151-6218-1-git-send-email-stefan.wahren@i2se.com/
>
> I applied this now to for-current and added stable. That should avoid
> unwanted timeouts.
Thanks! Unfortunately reporter went silent after I have prepared for him
kernel package with _this_ patch [1], so it will be difficult to verify
above change on my side.
>
> > If you really want the SMBus timeout applied, you can check for a
> > "smbus" property in DT and then set CLKT accordingly in a seperate
> > patch.
>
> This still holds.
Sure, will keep it in mind.
Regards,
Ivan
[1] https://bugzilla.suse.com/show_bug.cgi?id=1192976
More information about the linux-arm-kernel
mailing list