diff mbox series

arm64: dts: qcom: x1e80100: Add debug uart to Lenovo Yoga Slim 7x

Message ID 20241004192436.16195-2-maccraft123mc@gmail.com (mailing list archive)
State Accepted
Commit 4c3d9c134892c4158867075c840b81a5ed28af1f
Headers show
Series arm64: dts: qcom: x1e80100: Add debug uart to Lenovo Yoga Slim 7x | expand

Commit Message

Maya Matuszczyk Oct. 4, 2024, 7:24 p.m. UTC
This commit enables the debug UART found on the motherboard under the SSD

Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
---
 .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts   | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Dmitry Baryshkov Oct. 6, 2024, 7:45 p.m. UTC | #1
On Fri, Oct 04, 2024 at 09:24:36PM GMT, Maya Matuszczyk wrote:
> This commit enables the debug UART found on the motherboard under the SSD
> 
> Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
> ---
>  .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts   | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Bjorn Andersson Oct. 7, 2024, 2:26 p.m. UTC | #2
On Fri, 04 Oct 2024 21:24:36 +0200, Maya Matuszczyk wrote:
> This commit enables the debug UART found on the motherboard under the SSD
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: x1e80100: Add debug uart to Lenovo Yoga Slim 7x
      commit: 4c3d9c134892c4158867075c840b81a5ed28af1f

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
index 3c13331a9ef4..1f292cd4a713 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
@@ -15,6 +15,14 @@  / {
 	model = "Lenovo Yoga Slim 7x";
 	compatible = "lenovo,yoga-slim7x", "qcom,x1e80100";
 
+	aliases {
+		serial0 = &uart21;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	pmic-glink {
 		compatible = "qcom,x1e80100-pmic-glink",
 			     "qcom,sm8550-pmic-glink",
@@ -883,6 +891,11 @@  reset-n-pins {
 
 };
 
+&uart21 {
+	compatible = "qcom,geni-debug-uart";
+	status = "okay";
+};
+
 &usb_1_ss0_hsphy {
 	vdd-supply = <&vreg_l3j_0p8>;
 	vdda12-supply = <&vreg_l2j_1p2>;