]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: i2c-gpio: Support the named GPIO binding
authorSamuel Holland <samuel@sholland.org>
Sun, 22 Aug 2021 00:25:43 +0000 (19:25 -0500)
committerHeiko Schocher <hs@denx.de>
Sun, 22 Aug 2021 09:03:55 +0000 (11:03 +0200)
commit8fd267812ba9cc9128ca284bc686fa1ce5f64918
tree1ba9473836f0246e13ab722480a0abec295f06cc
parentc0d992b593915b58f1f01b68979f97e3fc2d6075
i2c: i2c-gpio: Support the named GPIO binding

To avoid confusion about the order of the GPIOs, the i2c-gpio binding
was updated to use a separate property for each GPIO instead of an
array. However, the driver only supports the old binding. Add support
for the new binding as well, so the driver continues to work as device
trees are updated.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-gpio.c