2023-09-14 08:15:22

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path

The GENI UART driver requires one specifies a numeric alias. Do so and
set the stdout-path to route the console to the debug uart in the microSD
slot by default.

Signed-off-by: Konrad Dybcio <[email protected]>
---
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
index ecdc20bc10f5..e07d0311ecb5 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
@@ -18,7 +18,12 @@ / {
qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */
qcom,board-id = <0x10008 0>;

+ aliases {
+ serial0 = &uart12;
+ };
+
chosen {
+ stdout-path = "serial0:115200n8";
#address-cells = <2>;
#size-cells = <2>;
ranges;

---
base-commit: 3c13c772fc233a10342c8e1605ff0855dfdf0c89
change-id: 20230912-topic-edoconsole-f1395cae5f9a

Best regards,
--
Konrad Dybcio <[email protected]>


2023-09-14 19:29:35

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path


On Tue, 12 Sep 2023 15:48:31 +0200, Konrad Dybcio wrote:
> The GENI UART driver requires one specifies a numeric alias. Do so and
> set the stdout-path to route the console to the debug uart in the microSD
> slot by default.
>
>

Applied, thanks!

[1/1] arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path
commit: 2e754956848889d5b04d8023753fa28de679373d

Best regards,
--
Bjorn Andersson <[email protected]>