Re: [PATCH] i2c: bcm2835: Set clock-stretch timeout to 35ms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02-07 16:15, Wolfram Sang wrote:
> Date: Mon, 7 Feb 2022 16:15:24 +0100
> From: Wolfram Sang <wsa@xxxxxxxxxx>
> To: "Ivan T. Ivanov" <iivanov@xxxxxxx>, Florian Fainelli
>  <f.fainelli@xxxxxxxxx>, Ray Jui <rjui@xxxxxxxxxxxx>, Scott Branden
>  <sbranden@xxxxxxxxxxxx>, Nicolas Saenz Julienne <nsaenz@xxxxxxxxxx>,
>  linux-i2c@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, Phil
>  Elwell <phil@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH] i2c: bcm2835: Set clock-stretch timeout to 35ms
> Message-ID: <YgE3jMkzisFZFHb5@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@xxxxxxxx/
> 
> 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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux