All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: dts: spacemit: Update UART compatible for k1
@ 2025-02-23  6:19 Junhui Liu
  2025-02-23 15:35 ` Yixun Lan
  0 siblings, 1 reply; 2+ messages in thread
From: Junhui Liu @ 2025-02-23  6:19 UTC (permalink / raw)
  To: Rick Chen, Leo, Tom Rini; +Cc: u-boot, Huan Zhou, Junhui Liu

Update UART compatible in k1 dts to "intel,xscale-uart", introduced in
commit 2d84e1519c5b ("serial: ns16550: Add Intel XScale support")
recently, aligning dts with the upstream kernel.

Tested-by: Huan Zhou <me@per1cycle.org>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
---
 arch/riscv/dts/k1.dtsi | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi
index 514be453dbaf6713cdf4ad5a5d653488297ebb83..fa1cb507351e4dc80b39d439d739865bf9b1f170 100644
--- a/arch/riscv/dts/k1.dtsi
+++ b/arch/riscv/dts/k1.dtsi
@@ -327,7 +327,7 @@
 		ranges;
 
 		uart0: serial@d4017000 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017000 0x0 0x100>;
 			interrupts = <42>;
 			clock-frequency = <14857000>;
@@ -337,7 +337,7 @@
 		};
 
 		uart2: serial@d4017100 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017100 0x0 0x100>;
 			interrupts = <44>;
 			clock-frequency = <14857000>;
@@ -347,7 +347,7 @@
 		};
 
 		uart3: serial@d4017200 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017200 0x0 0x100>;
 			interrupts = <45>;
 			clock-frequency = <14857000>;
@@ -357,7 +357,7 @@
 		};
 
 		uart4: serial@d4017300 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017300 0x0 0x100>;
 			interrupts = <46>;
 			clock-frequency = <14857000>;
@@ -367,7 +367,7 @@
 		};
 
 		uart5: serial@d4017400 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017400 0x0 0x100>;
 			interrupts = <47>;
 			clock-frequency = <14857000>;
@@ -377,7 +377,7 @@
 		};
 
 		uart6: serial@d4017500 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017500 0x0 0x100>;
 			interrupts = <48>;
 			clock-frequency = <14857000>;
@@ -387,7 +387,7 @@
 		};
 
 		uart7: serial@d4017600 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017600 0x0 0x100>;
 			interrupts = <49>;
 			clock-frequency = <14857000>;
@@ -397,7 +397,7 @@
 		};
 
 		uart8: serial@d4017700 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017700 0x0 0x100>;
 			interrupts = <50>;
 			clock-frequency = <14857000>;
@@ -407,7 +407,7 @@
 		};
 
 		uart9: serial@d4017800 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xd4017800 0x0 0x100>;
 			interrupts = <51>;
 			clock-frequency = <14857000>;
@@ -447,7 +447,7 @@
 		};
 
 		sec_uart1: serial@f0612000 {
-			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+			compatible = "spacemit,k1-uart", "intel,xscale-uart";
 			reg = <0x0 0xf0612000 0x0 0x100>;
 			interrupts = <43>;
 			clock-frequency = <14857000>;
@@ -456,4 +456,4 @@
 			status = "reserved"; /* for TEE usage */
 		};
 	};
-};
\ No newline at end of file
+};

---
base-commit: 5061eab96acd60d28149e080f3a37fbe7220ca54
change-id: 20250223-k1-uart-f833d6d5978f

Best regards,
-- 
Junhui Liu <junhui.liu@pigmoral.tech>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] riscv: dts: spacemit: Update UART compatible for k1
  2025-02-23  6:19 [PATCH] riscv: dts: spacemit: Update UART compatible for k1 Junhui Liu
@ 2025-02-23 15:35 ` Yixun Lan
  0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2025-02-23 15:35 UTC (permalink / raw)
  To: Junhui Liu; +Cc: Rick Chen, Leo, Tom Rini, u-boot, Huan Zhou

On 14:19 Sun 23 Feb     , Junhui Liu wrote:
> Update UART compatible in k1 dts to "intel,xscale-uart", introduced in
> commit 2d84e1519c5b ("serial: ns16550: Add Intel XScale support")
> recently, aligning dts with the upstream kernel.
> 
> Tested-by: Huan Zhou <me@per1cycle.org>
> Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>

Reviewed-by: Yixun Lan <dlan@gentoo.org>

> ---
>  arch/riscv/dts/k1.dtsi | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi
> index 514be453dbaf6713cdf4ad5a5d653488297ebb83..fa1cb507351e4dc80b39d439d739865bf9b1f170 100644
> --- a/arch/riscv/dts/k1.dtsi
> +++ b/arch/riscv/dts/k1.dtsi
> @@ -327,7 +327,7 @@
>  		ranges;
>  
>  		uart0: serial@d4017000 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017000 0x0 0x100>;
>  			interrupts = <42>;
>  			clock-frequency = <14857000>;
> @@ -337,7 +337,7 @@
>  		};
>  
>  		uart2: serial@d4017100 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017100 0x0 0x100>;
>  			interrupts = <44>;
>  			clock-frequency = <14857000>;
> @@ -347,7 +347,7 @@
>  		};
>  
>  		uart3: serial@d4017200 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017200 0x0 0x100>;
>  			interrupts = <45>;
>  			clock-frequency = <14857000>;
> @@ -357,7 +357,7 @@
>  		};
>  
>  		uart4: serial@d4017300 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017300 0x0 0x100>;
>  			interrupts = <46>;
>  			clock-frequency = <14857000>;
> @@ -367,7 +367,7 @@
>  		};
>  
>  		uart5: serial@d4017400 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017400 0x0 0x100>;
>  			interrupts = <47>;
>  			clock-frequency = <14857000>;
> @@ -377,7 +377,7 @@
>  		};
>  
>  		uart6: serial@d4017500 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017500 0x0 0x100>;
>  			interrupts = <48>;
>  			clock-frequency = <14857000>;
> @@ -387,7 +387,7 @@
>  		};
>  
>  		uart7: serial@d4017600 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017600 0x0 0x100>;
>  			interrupts = <49>;
>  			clock-frequency = <14857000>;
> @@ -397,7 +397,7 @@
>  		};
>  
>  		uart8: serial@d4017700 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017700 0x0 0x100>;
>  			interrupts = <50>;
>  			clock-frequency = <14857000>;
> @@ -407,7 +407,7 @@
>  		};
>  
>  		uart9: serial@d4017800 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xd4017800 0x0 0x100>;
>  			interrupts = <51>;
>  			clock-frequency = <14857000>;
> @@ -447,7 +447,7 @@
>  		};
>  
>  		sec_uart1: serial@f0612000 {
> -			compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
> +			compatible = "spacemit,k1-uart", "intel,xscale-uart";
>  			reg = <0x0 0xf0612000 0x0 0x100>;
>  			interrupts = <43>;
>  			clock-frequency = <14857000>;
> @@ -456,4 +456,4 @@
>  			status = "reserved"; /* for TEE usage */
>  		};
>  	};
> -};
> \ No newline at end of file
> +};
> 
> ---
> base-commit: 5061eab96acd60d28149e080f3a37fbe7220ca54
> change-id: 20250223-k1-uart-f833d6d5978f
> 
> Best regards,
> -- 
> Junhui Liu <junhui.liu@pigmoral.tech>
> 

-- 
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-23 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-23  6:19 [PATCH] riscv: dts: spacemit: Update UART compatible for k1 Junhui Liu
2025-02-23 15:35 ` Yixun Lan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.