diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-03-06 18:59:27 +0100 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-03-12 11:50:44 +0100 |
commit | ec189b9fb83cd1c869d45bfe3c9cb27b71093a16 (patch) | |
tree | 117552002fc518b8386e08e6f4c5c0961eff4371 /tools/perf/scripts/python/gecko.py | |
parent | c763072ab4533f0669b19c60d8a18b31f2877164 (diff) |
i2c: nomadik: fetch i2c-transfer-timeout-us property from devicetree
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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions