[PATCH] i2c: i2c-gpio: Support the named GPIO binding

Heiko Schocher hs at denx.de
Sun Aug 22 10:43:36 CEST 2021


Hello Samuel,

On 22.08.21 02:25, Samuel Holland wrote:
> 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 at sholland.org>
> ---
> 
>  drivers/i2c/i2c-gpio.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Reviwed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list