devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles
@ 2023-09-15  7:26 Wang Chen
  2023-09-15  7:32 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Chen @ 2023-09-15  7:26 UTC (permalink / raw)
  To: linux-riscv, conor, aou, krzysztof.kozlowski+dt, palmer,
	paul.walmsley, robh+dt
  Cc: devicetree, linux-kernel, jszhang, guoren, chao.wei,
	xiaoguang.xing, Wang Chen, Emil Renner Berthing

Add compatible for uart.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
---
 arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
index 5c4b82f13207..87f7667bbe63 100644
--- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi
+++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
@@ -492,7 +492,7 @@ &cpu63_intc  0xffffffff &cpu63_intc  9
 		};
 
 		uart0: serial@7040000000 {
-			compatible = "snps,dw-apb-uart";
+			compatible = "sophgo,sg2042-uart", "snps,dw-apb-uart";
 			reg = <0x00000070 0x40000000 0x00000000 0x00001000>;
 			interrupt-parent = <&intc>;
 			interrupts = <SOC_PERIPHERAL_IRQ(112) IRQ_TYPE_LEVEL_HIGH>;
-- 
2.25.1


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

* Re: [PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles
  2023-09-15  7:26 [PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles Wang Chen
@ 2023-09-15  7:32 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-15  7:32 UTC (permalink / raw)
  To: Wang Chen, linux-riscv, conor, aou, krzysztof.kozlowski+dt,
	palmer, paul.walmsley, robh+dt
  Cc: devicetree, linux-kernel, jszhang, guoren, chao.wei,
	xiaoguang.xing, Wang Chen, Emil Renner Berthing

On 15/09/2023 09:26, Wang Chen wrote:
> Add compatible for uart.
> 
> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
> Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
> ---
>  arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
> index 5c4b82f13207..87f7667bbe63 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
> @@ -492,7 +492,7 @@ &cpu63_intc  0xffffffff &cpu63_intc  9
>  		};
>  
>  		uart0: serial@7040000000 {
> -			compatible = "snps,dw-apb-uart";
> +			compatible = "sophgo,sg2042-uart", "snps,dw-apb-uart";

No, you just added this file. Do not add buggy code which is fixed in
next patch.

Best regards,
Krzysztof


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

end of thread, other threads:[~2023-09-15  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15  7:26 [PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles Wang Chen
2023-09-15  7:32 ` Krzysztof Kozlowski

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).