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

Delphine CC Chiu posted 1 patch 7 months ago
There is a newer version of this series
.../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
[PATCH v2] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel
Posted by Delphine CC Chiu 7 months 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  | 40 +++++++++++++++++++
 1 file changed, 40 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..aae789854c52 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,11 @@ 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 +393,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 +444,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 +495,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 +546,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

WIWYNN PROPRIETARY
This email (and any attachments) contains proprietary or confidential information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited. If you are not the intended recipient, please notify the sender and delete this email immediately.
Re: [PATCH v2] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel
Posted by Krzysztof Kozlowski 7 months ago
On 19/05/2025 04:48, Delphine CC Chiu wrote:
> WIWYNN PROPRIETARY
> This email (and any attachments) contains proprietary or confidential information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited. If you are not the intended recipient, please notify the sender and delete this email immediately.


We cannot test proprietary patches. Start working with the community in
the open.

Best regards,
Krzysztof
Re: [PATCH v2] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel
Posted by Andrew Jeffery 7 months ago
Hi Marshall,

On Mon, 2025-05-19 at 08:10 +0200, Krzysztof Kozlowski wrote:
> On 19/05/2025 04:48, Delphine CC Chiu wrote:
> > WIWYNN PROPRIETARY
> > This email (and any attachments) contains proprietary or confidential information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited. If you are not the intended recipient, please notify the sender and delete this email immediately.
> 
> 
> We cannot test proprietary patches. Start working with the community in
> the open.

The kernel.org mailing list docs elaborate a little on Krzysztof's
point:

https://subspace.kernel.org/etiquette.html#do-not-include-confidentiality-disclaimers

(It's worth reading the rest of the page too).

Cheers,

Andrew