Merge tag 'i2c-gpio-fixes-for-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into soc/dt
i2c-gpio-fixes-for-6.18 We have dedictaded bindings for scl/sda nowadays. Switch away from the deprecated plain 'gpios' property. * tag 'i2c-gpio-fixes-for-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: ARM: dts: stm32: use recent scl/sda gpio bindings ARM: dts: cirrus: ep7211: use recent scl/sda gpio bindings Link: https://lore.kernel.org/r/aLlgGdrFEjh26knK@shikoro Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
|
||||
i2c: i2c {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&portd 4 GPIO_ACTIVE_HIGH>,
|
||||
<&portd 5 GPIO_ACTIVE_HIGH>;
|
||||
sda-gpios = <&portd 4 GPIO_ACTIVE_HIGH>;
|
||||
scl-gpios = <&portd 5 GPIO_ACTIVE_HIGH>;
|
||||
i2c-gpio,delay-us = <2>;
|
||||
i2c-gpio,scl-output-only;
|
||||
#address-cells = <1>;
|
||||
|
||||
@@ -117,8 +117,8 @@
|
||||
/* GPIO I2C connected to the USB portions of the STw4811 only */
|
||||
gpio-i2c {
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&gpio2 10 0>, /* sda */
|
||||
<&gpio2 9 0>; /* scl */
|
||||
sda-gpios = <&gpio2 10 0>;
|
||||
scl-gpios = <&gpio2 9 0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
Reference in New Issue
Block a user