From: Reza Kurniawan <imkyufie@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Reza Kurniawan <imkyufie@gmail.com>
Subject: [PATCH v4 1/3] arm64: dts: qcom: msm8917-xiaomi-riva: Enable debug UART console
Date: Thu, 20 Aug 2026 18:03:45 +0700 [thread overview]
Message-ID: <20260820110347.98068-2-imkyufie@gmail.com> (raw)
In-Reply-To: <20260820110347.98068-1-imkyufie@gmail.com>
Xiaomi Redmi 5A has accessible UART test points on its PCB, they are
routed to the BLSP1 UART2 port.
Enable the blsp1_uart2 node and configure stdout-path under the chosen
node to allow outputting kernel logs and facilitate early debugging.
Signed-off-by: Reza Kurniawan <imkyufie@gmail.com>
---
v4:
- Simplify commit title
- Add commit description
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
index 4ea4fbdb5..abfaae502 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
@@ -13,6 +13,10 @@ / {
qcom,board-id = <0x1000b 1>, <0x1000b 2>;
+ chosen {
+ stdout-path = &blsp1_uart2;
+ };
+
battery: battery {
compatible = "simple-battery";
charge-full-design-microamp-hours = <3000000>;
@@ -25,6 +29,10 @@ battery: battery {
};
};
+&blsp1_uart2 {
+ status = "okay";
+};
+
&blsp2_i2c1 {
status = "okay";
--
2.55.0
next prev parent reply other threads:[~2026-08-20 11:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 11:03 [PATCH v4 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
2026-08-20 11:03 ` Reza Kurniawan [this message]
2026-08-20 11:03 ` [PATCH v4 2/3] arm64: dts: qcom: msm8917-xiaomi-riva: Add GPIO haptic vibrator Reza Kurniawan
2026-08-20 11:03 ` [PATCH v4 3/3] arm64: dts: qcom: msm8917-xiaomi-riva: Add notification LED support Reza Kurniawan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260820110347.98068-2-imkyufie@gmail.com \
--to=imkyufie@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.