* [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A
@ 2026-08-10 10:53 Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 1/3] arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva) Reza Kurniawan
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Reza Kurniawan @ 2026-08-10 10:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Reza Kurniawan
Thank you for the feedback. This is my first contribution and I'm not
quite familiar with the process yet, apologies for the mistakes.
As instructed, I've added my name in the Signed-off-by field. Aside from
that, since the changes are isolated from each other, the patch is split
into multiple patches.
Changes in v2:
- Split the patch into multiple patches.
- Change name in Signed-off-by field.
v1: https://lore.kernel.org/r/20260810062611.735673-2-imkyufie@gmail.com
Reza Kurniawan (3):
arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva)
arm64: dts: qcom: Add haptic vibrator support for Xiaomi Redmi 5A
(riva)
arm64: dts: qcom: Add notification LED support for Xiaomi Redmi 5A
(riva)
.../boot/dts/qcom/msm8917-xiaomi-riva.dts | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
base-commit: 6b8c8af514d739d0335f5579b585e02babe8a727
--
2.55.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/3] arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva)
2026-08-10 10:53 [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
@ 2026-08-10 10:53 ` Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 2/3] arm64: dts: qcom: Add haptic vibrator " Reza Kurniawan
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Reza Kurniawan @ 2026-08-10 10:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Reza Kurniawan
Signed-off-by: Reza Kurniawan <imkyufie@gmail.com>
---
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/3] arm64: dts: qcom: Add haptic vibrator support for Xiaomi Redmi 5A (riva)
2026-08-10 10:53 [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 1/3] arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva) Reza Kurniawan
@ 2026-08-10 10:53 ` Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 3/3] arm64: dts: qcom: Add notification LED " Reza Kurniawan
2026-08-18 9:14 ` [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Konrad Dybcio
3 siblings, 0 replies; 5+ messages in thread
From: Reza Kurniawan @ 2026-08-10 10:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Reza Kurniawan
Signed-off-by: Reza Kurniawan <imkyufie@gmail.com>
---
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
index abfaae502..e6e708601 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
@@ -27,6 +27,11 @@ battery: battery {
charge-term-current-microamp = <60000>;
voltage-min-design-microvolt = <3400000>;
};
+
+ vibrator {
+ compatible = "gpio-vibrator";
+ enable-gpios = <&tlmm 97 GPIO_ACTIVE_HIGH>;
+ };
};
&blsp1_uart2 {
--
2.55.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 3/3] arm64: dts: qcom: Add notification LED support for Xiaomi Redmi 5A (riva)
2026-08-10 10:53 [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 1/3] arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva) Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 2/3] arm64: dts: qcom: Add haptic vibrator " Reza Kurniawan
@ 2026-08-10 10:53 ` Reza Kurniawan
2026-08-18 9:14 ` [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Konrad Dybcio
3 siblings, 0 replies; 5+ messages in thread
From: Reza Kurniawan @ 2026-08-10 10:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Reza Kurniawan
Signed-off-by: Reza Kurniawan <imkyufie@gmail.com>
---
.../boot/dts/qcom/msm8917-xiaomi-riva.dts | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
index e6e708601..e74433f89 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
@@ -5,6 +5,7 @@
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include "msm8917-xiaomi-wingtech.dtsi"
/ {
@@ -34,6 +35,28 @@ vibrator {
};
};
+&blsp1_i2c2 {
+ status = "okay";
+
+ led-controller@45 {
+ compatible = "awinic,aw2013";
+ reg = <0x45>;
+ vcc-supply = <&pm8937_l10>;
+ vio-supply = <&pm8937_l5>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "okay";
+
+ led@0 {
+ reg = <0>;
+ led-max-microamp = <5000>;
+ function = LED_FUNCTION_INDICATOR;
+ color = <LED_COLOR_ID_WHITE>;
+ };
+ };
+};
+
&blsp1_uart2 {
status = "okay";
};
--
2.55.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A
2026-08-10 10:53 [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
` (2 preceding siblings ...)
2026-08-10 10:53 ` [PATCH v2 3/3] arm64: dts: qcom: Add notification LED " Reza Kurniawan
@ 2026-08-18 9:14 ` Konrad Dybcio
3 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2026-08-18 9:14 UTC (permalink / raw)
To: Reza Kurniawan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 8/10/26 12:53 PM, Reza Kurniawan wrote:
> Thank you for the feedback. This is my first contribution and I'm not
> quite familiar with the process yet, apologies for the mistakes.
>
> As instructed, I've added my name in the Signed-off-by field. Aside from
> that, since the changes are isolated from each other, the patch is split
> into multiple patches.
You're on good track. Please make sure all of the commits, apart from a
suitable title, also come with a commit message. This is important both
for the reviewer to more easily grok the change (or have confidence in
your understanding on the problem), as well as it brings historical
value for people that come after you - they can learn from your notes.
See: https://docs.kernel.org/process/submitting-patches.html#describe-your-changeslore
For the patch submission itself, there's a tool called b4 that takes
care of some of the headaches for you:
https://b4.docs.kernel.org/
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-08-18 9:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 10:53 [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 1/3] arm64: dts: qcom: Add UART support for Xiaomi Redmi 5A (riva) Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 2/3] arm64: dts: qcom: Add haptic vibrator " Reza Kurniawan
2026-08-10 10:53 ` [PATCH v2 3/3] arm64: dts: qcom: Add notification LED " Reza Kurniawan
2026-08-18 9:14 ` [PATCH v2 0/3] arm64: dts: qcom: Refine device support for Xiaomi Redmi 5A Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®