Re: [PATCH v6 1/2] i2c: core: Add i2c_update_timeout() helper for dynamic transfer timeouts

Wolfram Sang <[email protected]> Sat, 1 Aug 2026 23:02:35 +0200
Newsgroups org.kernel.vger.linux-i2c,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <am5e6yBm-4ZH1W27@shikoro>
--1qJfCwis4bv+clGb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 30, 2026 at 10:23:46PM +0200, Wolfram Sang wrote:
>=20
> > Given the feedback so far, would maintainers prefer that if i drop the =
core
> > helper entirely and keep the dynamic timeout calculation local to the
> > qcom-geni driver or should we continue exploring an opt-in core-based
> > approach?
>=20
> Well, I suggested a potential way in my last mail (Kconfig option). So,
> what do you think about it? Does it handle your use case?

Another bit which may be important for you: there is currently a patch
set under discussion [1] to allow changing bus speeds dynamically. You
probably want to base your work on top of it and/or help getting it
discussed?

Happy hacking!

[1] https://lore.kernel.org/all/[email protected]=
om/



--1qJfCwis4bv+clGb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmpuXusACgkQFA3kzBSg
Kbbq6hAAoYOvUh7GIllIPMFO4jAtyc0tuw1DDAPrJxsovz3cOGtm03SVzXLiQ2QM
Eysn/mQmoczzYnkEpX7UQAYyJBTUVn4IBSCrrQkximE84QnfsRdOnsZRD6R1s8w/
/WcG8nBPWyHlqNcvZDOrKyk+LIRA8WtD2sr5/Fqvnb/92H2XTeHxfoK/YA4xHROT
qCugmqdH0LIU5i5Ys1LZ4rYsi57yqCa4dHC8NZnT/SeSKy3xQlSKiaOWbx435HBE
bpKNrokG9oOQU8HKWVQCZA+0xbqBfk/iC4zMg8IhjDikfjuCb7ydxbQAjbuTkm10
Db+3FEGgHDjPmG52M1lfSeEiLCSMGrWYR4ktYLriJeF0irk49GSwdbKBHZJMWAM3
pYKwoNIMy50Xfa5hJywCeD4tuowDpMQRQDyj0KraabOMhGJdClpI6II3ZiNvbKz4
HrK3IsIFt6ywU/K7oUcZaUTcVkztpkLS4uQ/8k5duI9js3P2s6Lnno8PblNLN3zu
q/266a2Bk40eTbRFzIaGrTTFtgPWjxMruOmAfNg2+JNLB0TE287WbJjLybTV/YbW
s1QYJGE5HYq6puYVLnpZ0cdXwsUZ4t9IOuFLN1IjF8loLOIBUrGRN9H5CJwFWAFN
/H+naDrdeJaF546jJ6eS2tUDFiDfgiTR2794FI2Hzyq0XXnQNS0=
=ToTX
-----END PGP SIGNATURE-----

--1qJfCwis4bv+clGb--