arm64: dts: synaptics: Use generic "ngpios" rather than "snps,nr-gpios"
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 9 Nov 2020 08:49:55 +0000 (16:49 +0800)
committerJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 10 Dec 2020 09:51:57 +0000 (17:51 +0800)
This is to remove similar errors as below:

OF: /.../gpio-port@0: could not find phandle

Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support")
explained the reason of above errors well and added the generic
"ngpios" property, let's use it.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
arch/arm64/boot/dts/synaptics/as370.dtsi
arch/arm64/boot/dts/synaptics/berlin4ct.dtsi

index addeb0e..4bb5d65 100644 (file)
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
index 15625b9..0949ace 100644 (file)
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                };
                        };
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                };
                        };