Clear some dtbs_check warnings detected by snps-dw-apb-uart.yaml
Subsystems (5)
cover Clear some dtbs_check warnings detected by snps-dw-apb-uart.yaml
The Synopsys DesignWare ABP UART is commonly used. Therefore, it is meaningful to clear the warnings detected by snps-dw-apb-uart.yaml. I fixed everything I could. The only problem left is that some serial port nodes do not have the property 'interrupts'. I don't know their interrupt number, so there's no way to fix it. By the way, is there a scenario where serial ports do not need to be interrupted? If it exists, property 'interrupts' should not be defined as required.
Zhen Lei (4):
arm64: dts: bitmain: normalize the node name of the UART devices
arm64: dts: broadcom: normalize the node name of the UART devices
arm64: dts: realtek: rtd16xx: normalize the node name of the UART
devices
arm64: dts: synaptics: normalize the node name of the UART devices
arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 8 ++++---- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 6 +++--- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.21.1
PATCH 1/4 arm64: dts: bitmain: normalize the node name of the UART devices
Change the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".
--- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/bitmain/bm1880.dtsi +3 -3
@@ -184,7 +184,7 @@ status = "disabled"; }; - uart1: serial@5801A000 { + uart1: serial@5801a000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x5801a000 0x0 0x2000>; clocks = <&clk BM1880_CLK_UART_500M>,
@@ -197,7 +197,7 @@ status = "disabled"; }; - uart2: serial@5801C000 { + uart2: serial@5801c000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x5801c000 0x0 0x2000>; clocks = <&clk BM1880_CLK_UART_500M>,
@@ -210,7 +210,7 @@ status = "disabled"; }; - uart3: serial@5801E000 { + uart3: serial@5801e000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x5801e000 0x0 0x2000>; clocks = <&clk BM1880_CLK_UART_500M>,
Signature · 1 line
2.21.1
PATCH 2/4 arm64: dts: broadcom: normalize the node name of the UART devices
In reply to Zhen LeiChange the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".
--- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +4 -4
@@ -470,7 +470,7 @@ status = "disabled"; }; - uart0: uart@100000 { + uart0: serial@100000 { device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00100000 0x1000>;
@@ -481,7 +481,7 @@ status = "disabled"; }; - uart1: uart@110000 { + uart1: serial@110000 { device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00110000 0x1000>;
@@ -492,7 +492,7 @@ status = "disabled"; }; - uart2: uart@120000 { + uart2: serial@120000 { device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00120000 0x1000>;
@@ -503,7 +503,7 @@ status = "disabled"; }; - uart3: uart@130000 { + uart3: serial@130000 { device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00130000 0x1000>;
Signature · 1 line
2.21.1
Florian Fainelli
AppliedRe: [PATCH 2/4] arm64: dts: broadcom: normalize the node name of the UART devices
Quoted 5 lines · Zhen Lei
Change the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".Signed-off-by Zhen Lei <[email protected]>---
Applied to devicetree-arm64/next, thanks!
--
Florian
PATCH 3/4 arm64: dts: realtek: rtd16xx: normalize the node name of the UART devices
In reply to Zhen LeiChange the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".
--- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/realtek/rtd16xx.dtsi +3 -3
@@ -195,7 +195,7 @@ }; &iso { - uart0: serial0@800 { + uart0: serial@800 { compatible = "snps,dw-apb-uart"; reg = <0x800 0x400>; reg-shift = <2>;
@@ -207,7 +207,7 @@ }; &misc { - uart1: serial1@200 { + uart1: serial@200 { compatible = "snps,dw-apb-uart"; reg = <0x200 0x400>; reg-shift = <2>;
@@ -217,7 +217,7 @@ status = "disabled"; }; - uart2: serial2@400 { + uart2: serial@400 { compatible = "snps,dw-apb-uart"; reg = <0x400 0x400>; reg-shift = <2>;
Signature · 1 line
2.21.1
Re: [PATCH 3/4] arm64: dts: realtek: rtd16xx: normalize the node name of the UART devices
Hi,
Quoted 13 lines · Zhen Lei
Change the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".Signed-off-by Zhen Lei <[email protected]>--- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/boot/dts/realtek/rtd16xx.dtsi +0
-0
arch/arm64/boot/dts/realtek/rtd16xx.dtsi line 198
Quoted 5 lines
arch/arm64/boot/dts/realtek/rtd16xx.dtsi +1
-1@@ -195,7 +195,7 @@ }; &iso { - uart0: serial0@800 { + uart0: serial@800 {
[snip]
Ouch, shame on me for not catching this in review...
Are you expecting this to go through the four maintainer trees or centrally somehow?
Thanks,
Andreas
Signature · 4 lines
SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)
Re: [PATCH 3/4] arm64: dts: realtek: rtd16xx: normalize the node name of the UART devices
Quoted 23 lines · Andreas Färber
Hi,
Quoted 18 lines · Zhen Lei
Change the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".Signed-off-by Zhen Lei <[email protected]>--- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/boot/dts/realtek/rtd16xx.dtsi +1
-1@@ -195,7 +195,7 @@ }; &iso { - uart0: serial0@800 { + uart0: serial@800 {[snip]
Quoted 6 lines
Ouch, shame on me for not catching this in review...
Reviewed-by Andreas Färber <[email protected]>Are you expecting this to go through the four maintainer trees or centrally somehow?
It would be nice for each maintainer to add its own patch to its own tree. Each patch is independent, I put these four patches together just for the convenience of describing 0000-cover-letter
Quoted 4 lines
Thanks,
Andreas
PATCH 4/4 arm64: dts: synaptics: normalize the node name of the UART devices
In reply to Zhen LeiChange the node name of the UART devices to match
"^serial(@[0-9a-f,]+)*$".
--- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/synaptics/berlin4ct.dtsi +1 -1
@@ -289,7 +289,7 @@ }; }; - uart0: uart@d000 { + uart0: serial@d000 { compatible = "snps,dw-apb-uart"; reg = <0xd000 0x100>; interrupts = <8>;
Signature · 1 line
2.21.1