1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-31 18:35:42 +01:00
Files
u-boot-megous/drivers/i2c/rcar_i2c.c
Adam Ford e53979cd34 i2c: rcar_i2c: Enable configuring SCL rise and fall times
The Linux i2c driver supports i2c-scl-rising-time-ns,
and i2c-scl-falling-time-ns, but U-Boot uses hard-coded values
for these values.

Update the calculation by fetching them from the device tree if
present and use the previous values as the default if they are
missing.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2021-09-28 06:34:14 +02:00

10 KiB