arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
Subsystems (6)
cover arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
To remove similar errors as below for all snps dw gpio users:
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.
Jisheng Zhang (8):
arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
arm64: dts: apm: Use generic "ngpios" rather than "snps,nr-gpios"
arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"
arm64: dts: hisilicon: Use generic "ngpios" rather than
"snps,nr-gpios"
arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
arm64: dts: synaptics: Use generic "ngpios" rather than
"snps,nr-gpios" ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios"
ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
arch/arm/boot/dts/berlin2.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2cd.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 12 ++++++------ arch/arm/boot/dts/socfpga.dtsi | 6 +++--- arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++-- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 2 +- arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4 ++-- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- arch/arm64/boot/dts/synaptics/as370.dtsi | 4 ++-- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 12 ++++++------ 13 files changed, 43 insertions(+), 43 deletions(-)
Signature · 1 line
2.29.2
PATCH 1/8 arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
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.
--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +2 -2
@@ -203,7 +203,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -223,7 +223,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.29.2
Re: [PATCH 1/8] arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
Quoted 28 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-1@@ -203,7 +203,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi portb: gpio-controller@0 { · line 229
Quoted 8 lines
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1
-1@@ -223,7 +223,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
PATCH 2/8 arm64: dts: apm: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 2 +- arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi +1 -1
@@ -716,7 +716,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
arch/arm64/boot/dts/apm/apm-storm.dtsi +1 -1
@@ -832,7 +832,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
Signature · 1 line
2.29.2
PATCH 3/8 arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/bitmain/bm1880.dtsi +3 -3
@@ -127,7 +127,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -145,7 +145,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -163,7 +163,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.29.2
Re: [PATCH 3/8] arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"
Quoted 9 lines · Jisheng Zhang
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 <[email protected]>
Thanks,
Mani
Quoted 38 lines
--- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/boot/dts/bitmain/bm1880.dtsi +3
-3@@ -127,7 +127,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -145,7 +145,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -163,7 +163,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;Signature · 1 line
2.29.2
PATCH 4/8 arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/hisilicon/hip05.dtsi +2 -2
@@ -335,7 +335,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -354,7 +354,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.29.2
Wei Xu
maintainerRe: [PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios"
Hi Jisheng,
Quoted 28 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/boot/dts/hisilicon/hip05.dtsi +1
-1@@ -335,7 +335,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm64/boot/dts/hisilicon/hip05.dtsi portb: gpio-controller@0 { · line 360
Quoted 8 lines
arch/arm64/boot/dts/hisilicon/hip05.dtsi +1
-1@@ -354,7 +354,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Thanks!
Applied to the hisilicon arm64 dt tree.
Best Regards,
Wei
PATCH 5/8 arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +2 -2
@@ -202,7 +202,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -222,7 +222,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.29.2
Re: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
Quoted 28 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +1
-1@@ -202,7 +202,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi portb: gpio-controller@0 { · line 228
Quoted 8 lines
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +1
-1@@ -222,7 +222,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Re: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangQuoted 28 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +1
-1@@ -202,7 +202,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi portb: gpio-controller@0 { · line 228
Quoted 8 lines
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +1
-1@@ -222,7 +222,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
PATCH 6/8 arm64: dts: synaptics: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm64/boot/dts/synaptics/as370.dtsi | 4 ++-- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/synaptics/as370.dtsi +2 -2
@@ -143,7 +143,7 @@ porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -161,7 +161,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm64/boot/dts/synaptics/berlin4ct.dtsi +6 -6
@@ -140,7 +140,7 @@ porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -158,7 +158,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -176,7 +176,7 @@ portc: gpio-port@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>;
@@ -194,7 +194,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -269,7 +269,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
@@ -284,7 +284,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
Signature · 1 line
2.29.2
PATCH 7/8 ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm/boot/dts/berlin2.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2cd.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-)
arch/arm/boot/dts/berlin2.dtsi +6 -6
@@ -191,7 +191,7 @@ porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -209,7 +209,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -227,7 +227,7 @@ portc: gpio-port@2 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -245,7 +245,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -446,7 +446,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; };
@@ -461,7 +461,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm/boot/dts/berlin2cd.dtsi +6 -6
@@ -181,7 +181,7 @@ porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -199,7 +199,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -217,7 +217,7 @@ portc: gpio-port@2 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -235,7 +235,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -473,7 +473,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; };
@@ -518,7 +518,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; };
arch/arm/boot/dts/berlin2q.dtsi +6 -6
@@ -252,7 +252,7 @@ porta: gpio-port@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -270,7 +270,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -288,7 +288,7 @@ portc: gpio-port@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>;
@@ -306,7 +306,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -552,7 +552,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
@@ -613,7 +613,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };
Signature · 1 line
2.29.2
PATCH 8/8 ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangThis 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.
--- arch/arm/boot/dts/socfpga.dtsi | 6 +++--- arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/socfpga.dtsi +3 -3
@@ -612,7 +612,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -633,7 +633,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -654,7 +654,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm/boot/dts/socfpga_arria10.dtsi +3 -3
@@ -491,7 +491,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -511,7 +511,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
@@ -531,7 +531,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Signature · 1 line
2.29.2
Re: [PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
Quoted 69 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 6 +++--- arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)arch/arm/boot/dts/socfpga.dtsi +3
-3@@ -612,7 +612,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -633,7 +633,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -654,7 +654,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;arch/arm/boot/dts/socfpga_arria10.dtsi +2
-2@@ -491,7 +491,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -511,7 +511,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm/boot/dts/socfpga_arria10.dtsi portc: gpio-controller@0 { · line 537
Quoted 8 lines
arch/arm/boot/dts/socfpga_arria10.dtsi +1
-1@@ -531,7 +531,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Re: [PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
In reply to Jisheng ZhangQuoted 69 lines · Jisheng Zhang
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 <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 6 +++--- arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)arch/arm/boot/dts/socfpga.dtsi +3
-3@@ -612,7 +612,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -633,7 +633,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -654,7 +654,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;arch/arm/boot/dts/socfpga_arria10.dtsi +2
-2@@ -491,7 +491,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;@@ -511,7 +511,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
arch/arm/boot/dts/socfpga_arria10.dtsi portc: gpio-controller@0 { · line 537
Quoted 8 lines
arch/arm/boot/dts/socfpga_arria10.dtsi +1
-1@@ -531,7 +531,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;
Applied to socfpga dts tree.
Thanks,
Dinh
Quoted 7 lines · Jisheng Zhang
To remove similar errors as below for all snps dw gpio users:
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.
For all 8 patches.
Thanks for cleaning this up!
Yours,
Linus Walleij
Quoted 13 lines · On Tue, 10 Nov 2020 15:43:36 +0100 Linus Walleij <[email protected]>…
Quoted 7 lines · Jisheng Zhang
To remove similar errors as below for all snps dw gpio users:
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.
Quoted 7 lines
Reviewed-by Linus Walleij <[email protected]>For all 8 patches.
Thanks for cleaning this up!
Yours,
Linus Walleij
Hi all,
I merged patch6 and patch7 to berlin, will send out a berlin SoC dts Pull-Request today.
For other patches, I see Wei has taken patch4, will other patches be taken by each SoC maintainers?
thanks
Quoted 24 lines · Jisheng Zhang
Quoted 13 lines · On Tue, 10 Nov 2020 15:43:36 +0100 Linus Walleij <[email protected]>…
Quoted 7 lines · Jisheng Zhang
To remove similar errors as below for all snps dw gpio users:
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.Quoted 7 lines
Reviewed-by Linus Walleij <[email protected]>For all 8 patches.
Thanks for cleaning this up!
Yours,
Linus Walleij
Quoted 7 lines
Hi all,
I merged patch6 and patch7 to berlin, will send out a berlin SoC dts Pull-Request today.
For other patches, I see Wei has taken patch4, will other patches be taken by each SoC maintainers?
For bitmain platform, I don't have any other patches this cylce. So I'll just send this patch directly to [email protected].
Thanks,
Mani
Quoted 2 lines
thanks