arm64: dts: rk3399: Remove extcon unit address and extcon-cells from Gru
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 7 Feb 2020 14:13:24 +0000 (15:13 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 12 Feb 2020 22:19:21 +0000 (23:19 +0100)
The cros-ec-extcon has no reg property so remove the unit address from
the DT node to make DT compiler happy.

While here, remove the inexistent extcon-cells property from the extcon
nodes.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200207141324.3188898-1-enric.balletbo@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi

index 7cd6d470c1cbdb657e5c54b015ac012e07c2d085..1384dabbdf4067b38af92ccf017f6afc9c6fec11 100644 (file)
@@ -291,11 +291,9 @@ ap_i2c_tp: &i2c5 {
                #pwm-cells = <1>;
        };
 
-       usbc_extcon1: extcon@1 {
+       usbc_extcon1: extcon1 {
                compatible = "google,extcon-usbc-cros-ec";
                google,usb-port-id = <1>;
-
-               #extcon-cells = <0>;
        };
 };
 
index dd5624975c9b40e4614b60bf175d169ffd530511..2f3997740068db3956ed5bc7ae8ced06b7e5b8b4 100644 (file)
@@ -570,11 +570,9 @@ ap_i2c_audio: &i2c8 {
                        #size-cells = <0>;
                };
 
-               usbc_extcon0: extcon@0 {
+               usbc_extcon0: extcon0 {
                        compatible = "google,extcon-usbc-cros-ec";
                        google,usb-port-id = <0>;
-
-                       #extcon-cells = <0>;
                };
        };
 };