[PATCH v2 08/11] i2c: nomadik: fetch i2c-transfer-timeout-us property from devicetree

Linus Walleij linus.walleij at linaro.org
Thu Feb 29 13:04:26 PST 2024


On Thu, Feb 29, 2024 at 7:10 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:

> Allow overriding the default timeout value (200ms) from devicetree,
> using the generic i2c-transfer-timeout-us property.
>
> The i2c_adapter->timeout field is an unaccurate jiffies amount;
> i2c-nomadik uses hrtimers for timeouts below one jiffy.
>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list