[PATCH v1] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel

Delphine CC Chiu posted 1 patch 7 months, 1 week ago
There is a newer version of this series
.../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
[PATCH v1] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel
Posted by Delphine CC Chiu 7 months, 1 week ago
From: Marshall Zhan <marshall.zhan.wiwynn@gmail.com>

Add gpio line name to support multiplexed console

Signed-off-by: Marshall Zhan <marshall.zhan.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
---
 .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index 29f224bccd63..ac0678aef7d2 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -189,6 +189,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT1_UART_SEL0","SLOT1_UART_SEL1",
+                                  "SLOT1_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -235,6 +240,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT2_UART_SEL0","SLOT2_UART_SEL1",
+                                  "SLOT2_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -281,6 +291,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT3_UART_SEL0","SLOT3_UART_SEL1",
+                                  "SLOT3_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -327,6 +342,12 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT4_UART_SEL0","SLOT4_UART_SEL1",
+                                  "SLOT4_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
+
 	};
 
 	gpio@23 {
@@ -373,6 +394,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT5_UART_SEL0","SLOT5_UART_SEL1",
+				  "SLOT5_UART_SEL2","","","","","",
+				  "","","","","","","","",
+				  "","","","","","","","",
+				  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -419,6 +445,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT6_UART_SEL0","SLOT6_UART_SEL1",
+                                  "SLOT6_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -465,6 +496,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT7_UART_SEL0","SLOT7_UART_SEL1",
+                                  "SLOT7_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
@@ -511,6 +547,11 @@ gpio@22 {
 		reg = <0x22>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "SLOT8_UART_SEL0","SLOT8_UART_SEL1",
+                                  "SLOT8_UART_SEL2","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","",
+                                  "","","","","","","","";
 	};
 
 	gpio@23 {
-- 
2.25.1
Re: [PATCH v1] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel
Posted by Andrew Jeffery 6 months, 4 weeks ago
Hi Marshall,

On Thu, 2025-05-08 at 13:56 +0800, Delphine CC Chiu wrote:
> From: Marshall Zhan <marshall.zhan.wiwynn@gmail.com>
> 
> Add gpio line name to support multiplexed console
> 
> Signed-off-by: Marshall Zhan <marshall.zhan.wiwynn@gmail.com>
> Signed-off-by: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
> ---
>  .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 41 +++++++++++++++++++
>  1 file changed, 41 insertions(+)

Please run your change through checkpatch, fix all the issues reported,
and send the result as v2.

Andrew