Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c14f3ec4 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman
Browse files

ARM: dts: koelsch: Convert to named i2c-gpio bindings



Commits 7d29f509 ("dt-bindings: i2c: i2c-gpio: Add support for
named gpios") and 05c74778 ("i2c: gpio: Add support for named
gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the
more error-prone unnamed variant.

Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O
flags, which were implicitly assumed before.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent e99185b2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -312,9 +312,8 @@
		#size-cells = <0>;
		compatible = "i2c-gpio";
		status = "disabled";
		gpios = <&gpio7 16 GPIO_ACTIVE_HIGH /* sda */
			 &gpio7 15 GPIO_ACTIVE_HIGH /* scl */
			>;
		sda-gpios = <&gpio7 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
		scl-gpios = <&gpio7 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
		i2c-gpio,delay-us = <5>;
	};