]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: s5pv210: replace deprecated "gpios" i2c-gpio property in Aquila
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 7 Sep 2020 16:11:38 +0000 (18:11 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 16 Sep 2020 17:16:55 +0000 (19:16 +0200)
"gpios" property is deprecated.  Update the Aquila DTS to fix
dtbs_checks warnings like:

  i2c-pmic: 'sda-gpios' is a required property
  i2c-pmic: 'scl-gpios' is a required property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200907161141.31034-23-krzk@kernel.org
arch/arm/boot/dts/s5pv210-aquila.dts

index 28e9e81bb2d1fb2520953568daaa5b98e3d6ef4a..8e57e5a1f0c51cfca27023a364b66a2426dfbe0a 100644 (file)
@@ -65,8 +65,8 @@
 
        i2c_pmic: i2c-pmic {
                compatible = "i2c-gpio";
-               gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>, /* sda */
-                       <&gpj4 3 GPIO_ACTIVE_HIGH>; /* scl */
+               sda-gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>;
+               scl-gpios = <&gpj4 3 GPIO_ACTIVE_HIGH>;
                i2c-gpio,delay-us = <2>;        /* ~100 kHz */
                #address-cells = <1>;
                #size-cells = <0>;