* [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
@ 2020-11-09 9:02 Jisheng Zhang
2020-11-09 9:03 ` [PATCH 1/8] arm64: dts: socfpga: " Jisheng Zhang
` (8 more replies)
0 siblings, 9 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:02 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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(-)
--
2.29.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 1/8] arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
@ 2020-11-09 9:03 ` Jisheng Zhang
2020-11-13 13:47 ` Dinh Nguyen
2020-11-09 9:04 ` [PATCH 2/8] arm64: dts: apm: " Jisheng Zhang
` (7 subsequent siblings)
8 siblings, 1 reply; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:03 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/altera/socfpga_stratix10.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 0f893984c256..d301ac0d406b 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -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>;
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 2/8] arm64: dts: apm: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
2020-11-09 9:03 ` [PATCH 1/8] arm64: dts: socfpga: " Jisheng Zhang
@ 2020-11-09 9:04 ` Jisheng Zhang
2020-11-09 9:04 ` [PATCH 3/8] arm64: dts: bitmain: " Jisheng Zhang
` (6 subsequent siblings)
8 siblings, 0 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:04 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/apm/apm-shadowcat.dtsi | 2 +-
arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
index a83c82c50e29..08b19fc5ee9f 100644
--- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
@@ -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>;
};
};
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 0f37e77f5459..4689fca9112e 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -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>;
};
};
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 3/8] arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
2020-11-09 9:03 ` [PATCH 1/8] arm64: dts: socfpga: " Jisheng Zhang
2020-11-09 9:04 ` [PATCH 2/8] arm64: dts: apm: " Jisheng Zhang
@ 2020-11-09 9:04 ` Jisheng Zhang
2020-11-16 5:31 ` Manivannan Sadhasivam
2020-11-09 9:05 ` [PATCH 4/8] arm64: dts: hisilicon: " Jisheng Zhang
` (5 subsequent siblings)
8 siblings, 1 reply; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:04 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/bitmain/bm1880.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi
index fa6e6905f588..53a9b76057aa 100644
--- a/arch/arm64/boot/dts/bitmain/bm1880.dtsi
+++ b/arch/arm64/boot/dts/bitmain/bm1880.dtsi
@@ -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>;
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (2 preceding siblings ...)
2020-11-09 9:04 ` [PATCH 3/8] arm64: dts: bitmain: " Jisheng Zhang
@ 2020-11-09 9:05 ` Jisheng Zhang
2020-11-25 2:28 ` Wei Xu
2020-11-09 9:05 ` [PATCH 5/8] arm64: dts: agilex: " Jisheng Zhang
` (4 subsequent siblings)
8 siblings, 1 reply; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:05 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/hisilicon/hip05.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
index bc49955360db..fbe83eb9f77b 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
@@ -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>;
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (3 preceding siblings ...)
2020-11-09 9:05 ` [PATCH 4/8] arm64: dts: hisilicon: " Jisheng Zhang
@ 2020-11-09 9:05 ` Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
2020-11-13 13:48 ` Dinh Nguyen
2020-11-09 9:06 ` [PATCH 6/8] arm64: dts: synaptics: " Jisheng Zhang
` (3 subsequent siblings)
8 siblings, 2 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:05 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/intel/socfpga_agilex.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index e1c0fcba5c20..2f731e3a7cd7 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -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>;
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 6/8] arm64: dts: synaptics: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (4 preceding siblings ...)
2020-11-09 9:05 ` [PATCH 5/8] arm64: dts: agilex: " Jisheng Zhang
@ 2020-11-09 9:06 ` Jisheng Zhang
2020-11-09 9:06 ` [PATCH 7/8] ARM: dts: berlin: " Jisheng Zhang
` (2 subsequent siblings)
8 siblings, 0 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:06 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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 | 4 ++--
arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm64/boot/dts/synaptics/as370.dtsi b/arch/arm64/boot/dts/synaptics/as370.dtsi
index addeb0efc616..4bb5d650df9c 100644
--- a/arch/arm64/boot/dts/synaptics/as370.dtsi
+++ b/arch/arm64/boot/dts/synaptics/as370.dtsi
@@ -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>;
diff --git a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi
index 15625b99e336..0949acee4728 100644
--- a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi
+++ b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi
@@ -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>;
};
};
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 7/8] ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (5 preceding siblings ...)
2020-11-09 9:06 ` [PATCH 6/8] arm64: dts: synaptics: " Jisheng Zhang
@ 2020-11-09 9:06 ` Jisheng Zhang
2020-11-09 9:07 ` [PATCH 8/8] ARM: dts: socfgpa: " Jisheng Zhang
2020-11-10 14:43 ` [PATCH 0/8] arm/arm64: dts: " Linus Walleij
8 siblings, 0 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:06 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/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(-)
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi
index 6194857f8a02..1114c592e461 100644
--- a/arch/arm/boot/dts/berlin2.dtsi
+++ b/arch/arm/boot/dts/berlin2.dtsi
@@ -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>;
diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
index 6f30d7eb3b41..b2768f7a3185 100644
--- a/arch/arm/boot/dts/berlin2cd.dtsi
+++ b/arch/arm/boot/dts/berlin2cd.dtsi
@@ -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>;
};
};
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index b6a0acac6836..598a46f96a82 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -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>;
};
};
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (6 preceding siblings ...)
2020-11-09 9:06 ` [PATCH 7/8] ARM: dts: berlin: " Jisheng Zhang
@ 2020-11-09 9:07 ` Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
2021-01-04 21:19 ` Dinh Nguyen
2020-11-10 14:43 ` [PATCH 0/8] arm/arm64: dts: " Linus Walleij
8 siblings, 2 replies; 19+ messages in thread
From: Jisheng Zhang @ 2020-11-09 9:07 UTC (permalink / raw)
To: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
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/arm/boot/dts/socfpga.dtsi | 6 +++---
arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 0b021eef0b53..32b7ad814ec6 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -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>;
diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
index 0013ec3463c4..34e23e0582fb 100644
--- a/arch/arm/boot/dts/socfpga_arria10.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
@@ -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>;
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* Re: [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
` (7 preceding siblings ...)
2020-11-09 9:07 ` [PATCH 8/8] ARM: dts: socfgpa: " Jisheng Zhang
@ 2020-11-10 14:43 ` Linus Walleij
2020-12-10 9:12 ` Jisheng Zhang
8 siblings, 1 reply; 19+ messages in thread
From: Linus Walleij @ 2020-11-10 14:43 UTC (permalink / raw)
To: Jisheng Zhang
Cc: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel, Saravana Kannan
On Mon, Nov 9, 2020 at 10:07 AM Jisheng Zhang
<Jisheng.Zhang@synaptics.com> wrote:
> 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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
For all 8 patches.
Thanks for cleaning this up!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 1/8] arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:03 ` [PATCH 1/8] arm64: dts: socfpga: " Jisheng Zhang
@ 2020-11-13 13:47 ` Dinh Nguyen
0 siblings, 0 replies; 19+ messages in thread
From: Dinh Nguyen @ 2020-11-13 13:47 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
On 11/9/20 3:03 AM, Jisheng Zhang wrote:
> 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/altera/socfpga_stratix10.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index 0f893984c256..d301ac0d406b 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -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>;
>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:05 ` [PATCH 5/8] arm64: dts: agilex: " Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
@ 2020-11-13 13:48 ` Dinh Nguyen
1 sibling, 0 replies; 19+ messages in thread
From: Dinh Nguyen @ 2020-11-13 13:48 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
On 11/9/20 3:05 AM, Jisheng Zhang wrote:
> 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/intel/socfpga_agilex.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> index e1c0fcba5c20..2f731e3a7cd7 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> @@ -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>;
>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:05 ` [PATCH 5/8] arm64: dts: agilex: " Jisheng Zhang
@ 2020-11-13 13:48 ` Dinh Nguyen
2020-11-13 13:48 ` Dinh Nguyen
1 sibling, 0 replies; 19+ messages in thread
From: Dinh Nguyen @ 2020-11-13 13:48 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
On 11/9/20 3:05 AM, Jisheng Zhang wrote:
> 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/intel/socfpga_agilex.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> index e1c0fcba5c20..2f731e3a7cd7 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> @@ -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>;
>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:07 ` [PATCH 8/8] ARM: dts: socfgpa: " Jisheng Zhang
@ 2020-11-13 13:48 ` Dinh Nguyen
2021-01-04 21:19 ` Dinh Nguyen
1 sibling, 0 replies; 19+ messages in thread
From: Dinh Nguyen @ 2020-11-13 13:48 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
On 11/9/20 3:07 AM, Jisheng Zhang wrote:
> 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/arm/boot/dts/socfpga.dtsi | 6 +++---
> arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 0b021eef0b53..32b7ad814ec6 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -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>;
> diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
> index 0013ec3463c4..34e23e0582fb 100644
> --- a/arch/arm/boot/dts/socfpga_arria10.dtsi
> +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
> @@ -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>;
>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 3/8] arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:04 ` [PATCH 3/8] arm64: dts: bitmain: " Jisheng Zhang
@ 2020-11-16 5:31 ` Manivannan Sadhasivam
0 siblings, 0 replies; 19+ messages in thread
From: Manivannan Sadhasivam @ 2020-11-16 5:31 UTC (permalink / raw)
To: Jisheng Zhang
Cc: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Wei Xu, linux-arm-kernel, devicetree, linux-kernel,
Saravana Kannan, Linus Walleij
On Mon, Nov 09, 2020 at 05:04:31PM +0800, Jisheng Zhang wrote:
> 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>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thanks,
Mani
> ---
> arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi
> index fa6e6905f588..53a9b76057aa 100644
> --- a/arch/arm64/boot/dts/bitmain/bm1880.dtsi
> +++ b/arch/arm64/boot/dts/bitmain/bm1880.dtsi
> @@ -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>;
> --
> 2.29.2
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:05 ` [PATCH 4/8] arm64: dts: hisilicon: " Jisheng Zhang
@ 2020-11-25 2:28 ` Wei Xu
0 siblings, 0 replies; 19+ messages in thread
From: Wei Xu @ 2020-11-25 2:28 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Dinh Nguyen,
Khuong Dinh, Manivannan Sadhasivam
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
Hi Jisheng,
On 2020/11/9 17:05, Jisheng Zhang wrote:
> 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/hisilicon/hip05.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
> index bc49955360db..fbe83eb9f77b 100644
> --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
> +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
> @@ -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>;
>
Thanks!
Applied to the hisilicon arm64 dt tree.
Best Regards,
Wei
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-10 14:43 ` [PATCH 0/8] arm/arm64: dts: " Linus Walleij
@ 2020-12-10 9:12 ` Jisheng Zhang
2020-12-10 9:33 ` Manivannan Sadhasivam
0 siblings, 1 reply; 19+ messages in thread
From: Jisheng Zhang @ 2020-12-10 9:12 UTC (permalink / raw)
To: Linus Walleij
Cc: Sebastian Hesselbarth, Rob Herring, Dinh Nguyen, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel, Saravana Kannan
On Tue, 10 Nov 2020 15:43:36 +0100 Linus Walleij <linus.walleij@linaro.org> wrote:
>
>
> On Mon, Nov 9, 2020 at 10:07 AM Jisheng Zhang
> <Jisheng.Zhang@synaptics.com> wrote:
>
> > 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.
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"
2020-12-10 9:12 ` Jisheng Zhang
@ 2020-12-10 9:33 ` Manivannan Sadhasivam
0 siblings, 0 replies; 19+ messages in thread
From: Manivannan Sadhasivam @ 2020-12-10 9:33 UTC (permalink / raw)
To: Jisheng Zhang
Cc: Linus Walleij, Sebastian Hesselbarth, Rob Herring, Dinh Nguyen,
Khuong Dinh, Wei Xu, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel, Saravana Kannan
On Thu, Dec 10, 2020 at 05:12:24PM +0800, Jisheng Zhang wrote:
> On Tue, 10 Nov 2020 15:43:36 +0100 Linus Walleij <linus.walleij@linaro.org> wrote:
>
>
> >
> >
> > On Mon, Nov 9, 2020 at 10:07 AM Jisheng Zhang
> > <Jisheng.Zhang@synaptics.com> wrote:
> >
> > > 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.
> >
> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> > 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?
For bitmain platform, I don't have any other patches this cylce. So I'll
just send this patch directly to soc@kernel.org.
Thanks,
Mani
>
> thanks
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"
2020-11-09 9:07 ` [PATCH 8/8] ARM: dts: socfgpa: " Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
@ 2021-01-04 21:19 ` Dinh Nguyen
1 sibling, 0 replies; 19+ messages in thread
From: Dinh Nguyen @ 2021-01-04 21:19 UTC (permalink / raw)
To: Jisheng Zhang, Sebastian Hesselbarth, Rob Herring, Khuong Dinh,
Manivannan Sadhasivam, Wei Xu
Cc: linux-arm-kernel, devicetree, linux-kernel, Saravana Kannan,
Linus Walleij
On 11/9/20 3:07 AM, Jisheng Zhang wrote:
> 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/arm/boot/dts/socfpga.dtsi | 6 +++---
> arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 0b021eef0b53..32b7ad814ec6 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -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>;
> diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
> index 0013ec3463c4..34e23e0582fb 100644
> --- a/arch/arm/boot/dts/socfpga_arria10.dtsi
> +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
> @@ -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>;
>
Applied to socfpga dts tree.
Thanks,
Dinh
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2021-01-04 21:20 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 9:02 [PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios" Jisheng Zhang
2020-11-09 9:03 ` [PATCH 1/8] arm64: dts: socfpga: " Jisheng Zhang
2020-11-13 13:47 ` Dinh Nguyen
2020-11-09 9:04 ` [PATCH 2/8] arm64: dts: apm: " Jisheng Zhang
2020-11-09 9:04 ` [PATCH 3/8] arm64: dts: bitmain: " Jisheng Zhang
2020-11-16 5:31 ` Manivannan Sadhasivam
2020-11-09 9:05 ` [PATCH 4/8] arm64: dts: hisilicon: " Jisheng Zhang
2020-11-25 2:28 ` Wei Xu
2020-11-09 9:05 ` [PATCH 5/8] arm64: dts: agilex: " Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
2020-11-13 13:48 ` Dinh Nguyen
2020-11-09 9:06 ` [PATCH 6/8] arm64: dts: synaptics: " Jisheng Zhang
2020-11-09 9:06 ` [PATCH 7/8] ARM: dts: berlin: " Jisheng Zhang
2020-11-09 9:07 ` [PATCH 8/8] ARM: dts: socfgpa: " Jisheng Zhang
2020-11-13 13:48 ` Dinh Nguyen
2021-01-04 21:19 ` Dinh Nguyen
2020-11-10 14:43 ` [PATCH 0/8] arm/arm64: dts: " Linus Walleij
2020-12-10 9:12 ` Jisheng Zhang
2020-12-10 9:33 ` Manivannan Sadhasivam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).