arm64: dts: bitmain: Use generic "ngpios" rather than "snps, nr-gpios"
Subsystems (2)
PATCH 1/1 arm64: dts: bitmain: Use generic "ngpios" rather than "snps, nr-gpios"
From: Jisheng Zhang <[email protected]>
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.
---
Arnd, Olof: I just have this single patch for Bitmain platform this cycle. So sending it directly.
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.25.1
This patch was applied to soc/soc.git (refs/heads/arm/fixes):
Hello:
This patch was applied to soc/soc.git (refs/heads/arm/fixes):
Quoted 11 lines · On Thu, 10 Dec 2020 15:10:56 +0530 you wrote:
From: Jisheng Zhang <[email protected]>
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.[...]
Here is the summary with links:
- arm64: dts: bitmain: Use generic "ngpios" rather than "snps, nr-gpios"
https://git.kernel.org/soc/soc/c/43ffe817bfe3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html