* [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO
@ 2026-03-15 16:26 Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
` (6 more replies)
0 siblings, 7 replies; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán, Krzysztof Kozlowski
Redmi 5A is similar device like Redmi GO and Redmi 4A.
This patch series commonize it to avoid code duplications.
Differences between 4A and 5A:
- Different charger and fg
- Different displays panel but same resolution
- Different speaker codec configuration (awinic-mode)
Differences between GO and 5A:
- Different charger and fg
- Different speaker codec (aw87319)
Additional changes:
- Update Redmi 5A board-id for support nougat and oreo bootloader.
- Add Goodix touch controller support for all variants.
The necessary touch controller can be enabled by devicetree overlay or lk2nd.
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
Changes in v3:
- xiaomi-tiare: Remove l23 regulator override, add min-volateg for l22.
- xiaomi-riva: use generic names for fg and charger.
- xiaomi-wingtech: Use memory-region for framebuffer.
- squash riva addition commit to comminization commit.
- Link to v2: https://lore.kernel.org/r/20260310-riva-common-v2-0-3bfc23996857@mainlining.org
Changes in v2:
- Rename msm8917-xiaomi-riva-common to msm8917-xiaomi-wingtech.
- Split goodix touch controller addition to a different commit.
- Disable touch controllers by default.
- Split new Redmi 5A devicetree to a different commit.
- Fix Redmi 4A board-id.
- Update riva board-id to make it able to run all bootloader version.
- Squash the devicetree bindings.
- Link to v1: https://lore.kernel.org/r/20260305-riva-common-v1-0-436f1f4b7399@mainlining.org
---
Barnabás Czémán (6):
arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader
arm64: dts: qcom: Make a common base from Redmi 5A
arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
dt-bindings: arm: qcom: Add Redmi 4A and Go
arm64: dts: qcom: Add Redmi 4A
arm64: dts: qcom: Add Redmi Go
Documentation/devicetree/bindings/arm/qcom.yaml | 2 +
arch/arm64/boot/dts/qcom/Makefile | 2 +
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 310 +--------------------
arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts | 15 +
arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts | 20 ++
...iaomi-riva.dts => msm8917-xiaomi-wingtech.dtsi} | 61 ++--
6 files changed, 60 insertions(+), 350 deletions(-)
---
base-commit: fc7b1a72c6cd5cbbd989c6c32a6486e3e4e3594d
change-id: 20260304-riva-common-66e9c94819a4
Best regards,
--
Barnabás Czémán <barnabas.czeman@mainlining.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-16 14:23 ` Dmitry Baryshkov
2026-03-15 16:26 ` [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
` (5 subsequent siblings)
6 siblings, 1 reply; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán
Redmi 5A comes with multiple bootloader versions where the expected
board-id is different.
Change the board-id to unified form what works on both bootloader
version.
Fixes: 26633b582056 ("arm64: dts: qcom: Add Xiaomi Redmi 5A")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
index 9db503e21888..1bfb16f90ddd 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
@@ -18,7 +18,7 @@ / {
chassis-type = "handset";
qcom,msm-id = <QCOM_ID_MSM8917 0>;
- qcom,board-id = <0x1000b 2>, <0x2000b 2>;
+ qcom,board-id = <0x1000b 1>, <0x1000b 2>;
pwm_backlight: backlight {
compatible = "pwm-backlight";
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-16 2:56 ` Dmitry Baryshkov
2026-03-16 9:54 ` Konrad Dybcio
2026-03-15 16:26 ` [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch Barnabás Czémán
` (4 subsequent siblings)
6 siblings, 2 replies; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán
Redmi 5A was made by wingtech like Redmi 4A (rolex) and Redmi GO (tiare).
They are very similar, make a common base from riva for avoid
unnecessary code duplications.
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 308 +-------------------
.../boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 315 +++++++++++++++++++++
2 files changed, 318 insertions(+), 305 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
index 1bfb16f90ddd..4ea4fbdb5ce7 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
@@ -5,29 +5,14 @@
/dts-v1/;
-#include <dt-bindings/arm/qcom,ids.h>
-#include <dt-bindings/gpio/gpio.h>
-#include "msm8917.dtsi"
-#include "pm8937.dtsi"
-
-/delete-node/ &qseecom_mem;
+#include "msm8917-xiaomi-wingtech.dtsi"
/ {
model = "Xiaomi Redmi 5A (riva)";
compatible = "xiaomi,riva", "qcom,msm8917";
- chassis-type = "handset";
- qcom,msm-id = <QCOM_ID_MSM8917 0>;
qcom,board-id = <0x1000b 1>, <0x1000b 2>;
- pwm_backlight: backlight {
- compatible = "pwm-backlight";
- pwms = <&pm8937_pwm 0 100000>;
- brightness-levels = <0 255>;
- num-interpolated-steps = <255>;
- default-brightness-level = <128>;
- };
-
battery: battery {
compatible = "simple-battery";
charge-full-design-microamp-hours = <3000000>;
@@ -38,96 +23,18 @@ battery: battery {
charge-term-current-microamp = <60000>;
voltage-min-design-microvolt = <3400000>;
};
-
- chosen {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
-
- stdout-path = "framebuffer0";
-
- framebuffer0: framebuffer@90001000 {
- compatible = "simple-framebuffer";
- reg = <0x0 0x90001000 0x0 (720 * 1280 * 3)>;
- width = <720>;
- height = <1280>;
- stride = <(720 * 3)>;
- format = "r8g8b8";
-
- clocks = <&gcc GCC_MDSS_AHB_CLK>,
- <&gcc GCC_MDSS_AXI_CLK>,
- <&gcc GCC_MDSS_VSYNC_CLK>,
- <&gcc GCC_MDSS_MDP_CLK>,
- <&gcc GCC_MDSS_BYTE0_CLK>,
- <&gcc GCC_MDSS_PCLK0_CLK>,
- <&gcc GCC_MDSS_ESC0_CLK>;
- power-domains = <&gcc MDSS_GDSC>;
- };
- };
-
- gpio-keys {
- compatible = "gpio-keys";
-
- pinctrl-0 = <&gpio_keys_default>;
- pinctrl-names = "default";
-
- key-volup {
- label = "Volume Up";
- linux,code = <KEY_VOLUMEUP>;
- gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
- debounce-interval = <15>;
- };
- };
-
- vph_pwr: regulator-vph-pwr {
- compatible = "regulator-fixed";
- regulator-name = "vph_pwr";
- regulator-min-microvolt = <3700000>;
- regulator-max-microvolt = <3700000>;
- regulator-always-on;
- regulator-boot-on;
- };
-
- reserved-memory {
- qseecom_mem: qseecom@84a00000 {
- reg = <0x0 0x84a00000 0x0 0x1900000>;
- no-map;
- };
-
- framebuffer_mem: memory@90001000 {
- reg = <0x0 0x90001000 0x0 (720 * 1280 * 3)>;
- no-map;
- };
- };
-};
-
-&blsp1_i2c3 {
- status = "okay";
-
- touchscreen@38 {
- compatible = "edt,edt-ft5306";
- reg = <0x38>;
- interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>;
- reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
- pinctrl-0 = <&tsp_int_rst_default>;
- pinctrl-names = "default";
- vcc-supply = <&pm8937_l10>;
- iovcc-supply = <&pm8937_l5>;
- touchscreen-size-x = <720>;
- touchscreen-size-y = <1280>;
- };
};
&blsp2_i2c1 {
status = "okay";
- bq27426@55 {
+ power-monitor@55 {
compatible = "ti,bq27426";
reg = <0x55>;
monitored-battery = <&battery>;
};
- bq25601@6b {
+ charger@6b {
compatible = "ti,bq25601";
reg = <0x6b>;
interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
@@ -139,172 +46,6 @@ bq25601@6b {
};
};
-&pm8937_gpios {
- pwm_enable_default: pwm-enable-default-state {
- pins = "gpio8";
- function = "dtest2";
- output-low;
- bias-disable;
- qcom,drive-strength = <2>;
- };
-};
-
-&pm8937_pwm {
- pinctrl-0 = <&pwm_enable_default>;
- pinctrl-names = "default";
-
- status = "okay";
-};
-
-&pm8937_resin {
- linux,code = <KEY_VOLUMEDOWN>;
-
- status = "okay";
-};
-
-&rpm_requests {
- regulators-0 {
- compatible = "qcom,rpm-pm8937-regulators";
-
- vdd_s1-supply = <&vph_pwr>;
- vdd_s2-supply = <&vph_pwr>;
- vdd_s3-supply = <&vph_pwr>;
- vdd_s4-supply = <&vph_pwr>;
-
- vdd_l1_l19-supply = <&pm8937_s3>;
- vdd_l2_l23-supply = <&pm8937_s3>;
- vdd_l3-supply = <&pm8937_s3>;
- vdd_l4_l5_l6_l7_l16-supply = <&pm8937_s4>;
- vdd_l8_l11_l12_l17_l22-supply = <&vph_pwr>;
- vdd_l9_l10_l13_l14_l15_l18-supply = <&vph_pwr>;
-
- pm8937_s1: s1 {
- regulator-min-microvolt = <1000000>;
- regulator-max-microvolt = <1225000>;
- };
-
- pm8937_s3: s3 {
- regulator-min-microvolt = <1300000>;
- regulator-max-microvolt = <1300000>;
- };
-
- pm8937_s4: s4 {
- regulator-min-microvolt = <2050000>;
- regulator-max-microvolt = <2050000>;
- };
-
- pm8937_l2: l2 {
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
- };
-
- pm8937_l5: l5 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- pm8937_l6: l6 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- pm8937_l7: l7 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- pm8937_l8: l8 {
- regulator-min-microvolt = <2850000>;
- regulator-max-microvolt = <2900000>;
- };
-
- pm8937_l9: l9 {
- regulator-min-microvolt = <3000000>;
- regulator-max-microvolt = <3300000>;
- };
-
- pm8937_l10: l10 {
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <3000000>;
- };
-
- pm8937_l11: l11 {
- regulator-min-microvolt = <2950000>;
- regulator-max-microvolt = <2950000>;
- regulator-allow-set-load;
- regulator-system-load = <200000>;
- };
-
- pm8937_l12: l12 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <2950000>;
- };
-
- pm8937_l13: l13 {
- regulator-min-microvolt = <3075000>;
- regulator-max-microvolt = <3075000>;
- };
-
- pm8937_l14: l14 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- };
-
- pm8937_l15: l15 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
- };
-
- pm8937_l16: l16 {
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- };
-
- pm8937_l17: l17 {
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2900000>;
- };
-
- pm8937_l19: l19 {
- regulator-min-microvolt = <1225000>;
- regulator-max-microvolt = <1350000>;
- };
-
- pm8937_l22: l22 {
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- };
-
- pm8937_l23: l23 {
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
- };
- };
-
-};
-
-&sdhc_1 {
- vmmc-supply = <&pm8937_l8>;
- vqmmc-supply = <&pm8937_l5>;
-
- status = "okay";
-};
-
-&sdhc_2 {
- cd-gpios = <&tlmm 67 GPIO_ACTIVE_LOW>;
- vmmc-supply = <&pm8937_l11>;
- vqmmc-supply = <&pm8937_l12>;
- pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
- pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
- pinctrl-names = "default", "sleep";
-
- status = "okay";
-};
-
-&sleep_clk {
- clock-frequency = <32768>;
-};
-
&tlmm {
bq25601_int_default: bq25601-int-default-state {
pins = "gpio61";
@@ -312,47 +53,4 @@ bq25601_int_default: bq25601-int-default-state {
drive-strength = <2>;
bias-pull-up;
};
-
- gpio_keys_default: gpio-keys-default-state {
- pins = "gpio91";
- function = "gpio";
- drive-strength = <2>;
- bias-pull-up;
- };
-
- sdc2_cd_default: sdc2-cd-default-state {
- pins = "gpio67";
- function = "gpio";
- drive-strength = <2>;
- bias-disable;
- };
-
- tsp_int_rst_default: tsp-int-rst-default-state {
- pins = "gpio64", "gpio65";
- function = "gpio";
- drive-strength = <8>;
- bias-pull-up;
- };
-};
-
-&wcnss {
- vddpx-supply = <&pm8937_l5>;
-
- status = "okay";
-};
-
-&wcnss_iris {
- compatible = "qcom,wcn3620";
- vddxo-supply = <&pm8937_l7>;
- vddrfa-supply = <&pm8937_l19>;
- vddpa-supply = <&pm8937_l9>;
- vdddig-supply = <&pm8937_l5>;
-};
-
-&wcnss_mem {
- status = "okay";
-};
-
-&xo_board {
- clock-frequency = <19200000>;
};
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
new file mode 100644
index 000000000000..714e75de014b
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
@@ -0,0 +1,315 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2023, Barnabas Czeman
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/arm/qcom,ids.h>
+#include <dt-bindings/gpio/gpio.h>
+#include "msm8917.dtsi"
+#include "pm8937.dtsi"
+
+/delete-node/ &qseecom_mem;
+
+/ {
+ chassis-type = "handset";
+
+ qcom,msm-id = <QCOM_ID_MSM8917 0>;
+
+ pwm_backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pm8937_pwm 0 100000>;
+ brightness-levels = <0 255>;
+ num-interpolated-steps = <255>;
+ default-brightness-level = <128>;
+ };
+
+ chosen {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ framebuffer {
+ compatible = "simple-framebuffer";
+ memory-region = <&framebuffer_mem>;
+ width = <720>;
+ height = <1280>;
+ stride = <(720 * 3)>;
+ format = "r8g8b8";
+
+ clocks = <&gcc GCC_MDSS_AHB_CLK>,
+ <&gcc GCC_MDSS_AXI_CLK>,
+ <&gcc GCC_MDSS_VSYNC_CLK>,
+ <&gcc GCC_MDSS_MDP_CLK>,
+ <&gcc GCC_MDSS_BYTE0_CLK>,
+ <&gcc GCC_MDSS_PCLK0_CLK>,
+ <&gcc GCC_MDSS_ESC0_CLK>;
+ power-domains = <&gcc MDSS_GDSC>;
+ };
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ pinctrl-0 = <&gpio_keys_default>;
+ pinctrl-names = "default";
+
+ key-volup {
+ label = "Volume Up";
+ linux,code = <KEY_VOLUMEUP>;
+ gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
+ debounce-interval = <15>;
+ };
+ };
+
+ vph_pwr: regulator-vph-pwr {
+ compatible = "regulator-fixed";
+ regulator-name = "vph_pwr";
+ regulator-min-microvolt = <3700000>;
+ regulator-max-microvolt = <3700000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ reserved-memory {
+ qseecom_mem: qseecom@84a00000 {
+ reg = <0x0 0x84a00000 0x0 0x1900000>;
+ no-map;
+ };
+
+ framebuffer_mem: memory@90001000 {
+ reg = <0x0 0x90001000 0x0 (720 * 1280 * 3)>;
+ no-map;
+ };
+ };
+};
+
+&blsp1_i2c3 {
+ status = "okay";
+
+ edt_ft5306: touchscreen@38 {
+ compatible = "edt,edt-ft5306";
+ reg = <0x38>;
+ interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&tsp_int_rst_default>;
+ pinctrl-names = "default";
+ vcc-supply = <&pm8937_l10>;
+ iovcc-supply = <&pm8937_l5>;
+ touchscreen-size-x = <720>;
+ touchscreen-size-y = <1280>;
+
+ status = "disabled";
+ };
+};
+
+&pm8937_gpios {
+ pwm_enable_default: pwm-enable-default-state {
+ pins = "gpio8";
+ function = "dtest2";
+ output-low;
+ bias-disable;
+ qcom,drive-strength = <2>;
+ };
+};
+
+&pm8937_pwm {
+ pinctrl-0 = <&pwm_enable_default>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+&pm8937_resin {
+ linux,code = <KEY_VOLUMEDOWN>;
+
+ status = "okay";
+};
+
+&rpm_requests {
+ regulators-0 {
+ compatible = "qcom,rpm-pm8937-regulators";
+
+ vdd_s1-supply = <&vph_pwr>;
+ vdd_s2-supply = <&vph_pwr>;
+ vdd_s3-supply = <&vph_pwr>;
+ vdd_s4-supply = <&vph_pwr>;
+
+ vdd_l1_l19-supply = <&pm8937_s3>;
+ vdd_l2_l23-supply = <&pm8937_s3>;
+ vdd_l3-supply = <&pm8937_s3>;
+ vdd_l4_l5_l6_l7_l16-supply = <&pm8937_s4>;
+ vdd_l8_l11_l12_l17_l22-supply = <&vph_pwr>;
+ vdd_l9_l10_l13_l14_l15_l18-supply = <&vph_pwr>;
+
+ pm8937_s1: s1 {
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1225000>;
+ };
+
+ pm8937_s3: s3 {
+ regulator-min-microvolt = <1300000>;
+ regulator-max-microvolt = <1300000>;
+ };
+
+ pm8937_s4: s4 {
+ regulator-min-microvolt = <2050000>;
+ regulator-max-microvolt = <2050000>;
+ };
+
+ pm8937_l2: l2 {
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ };
+
+ pm8937_l5: l5 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ pm8937_l6: l6 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ pm8937_l7: l7 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ pm8937_l8: l8 {
+ regulator-min-microvolt = <2850000>;
+ regulator-max-microvolt = <2900000>;
+ };
+
+ pm8937_l9: l9 {
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ pm8937_l10: l10 {
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <3000000>;
+ };
+
+ pm8937_l11: l11 {
+ regulator-min-microvolt = <2950000>;
+ regulator-max-microvolt = <2950000>;
+ regulator-allow-set-load;
+ regulator-system-load = <200000>;
+ };
+
+ pm8937_l12: l12 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <2950000>;
+ };
+
+ pm8937_l13: l13 {
+ regulator-min-microvolt = <3075000>;
+ regulator-max-microvolt = <3075000>;
+ };
+
+ pm8937_l14: l14 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ pm8937_l15: l15 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ pm8937_l16: l16 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ pm8937_l17: l17 {
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2900000>;
+ };
+
+ pm8937_l19: l19 {
+ regulator-min-microvolt = <1225000>;
+ regulator-max-microvolt = <1350000>;
+ };
+
+ pm8937_l22: l22 {
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ };
+
+ pm8937_l23: l23 {
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ };
+ };
+};
+
+&sdhc_1 {
+ vmmc-supply = <&pm8937_l8>;
+ vqmmc-supply = <&pm8937_l5>;
+
+ status = "okay";
+};
+
+&sdhc_2 {
+ cd-gpios = <&tlmm 67 GPIO_ACTIVE_LOW>;
+ vmmc-supply = <&pm8937_l11>;
+ vqmmc-supply = <&pm8937_l12>;
+ pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
+ pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
+ pinctrl-names = "default", "sleep";
+
+ status = "okay";
+};
+
+&sleep_clk {
+ clock-frequency = <32768>;
+};
+
+&tlmm {
+ gpio_keys_default: gpio-keys-default-state {
+ pins = "gpio91";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ sdc2_cd_default: sdc2-cd-default-state {
+ pins = "gpio67";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ tsp_int_rst_default: tsp-int-rst-default-state {
+ pins = "gpio64", "gpio65";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+};
+
+&wcnss {
+ vddpx-supply = <&pm8937_l5>;
+
+ status = "okay";
+};
+
+&wcnss_iris {
+ compatible = "qcom,wcn3620";
+ vddxo-supply = <&pm8937_l7>;
+ vddrfa-supply = <&pm8937_l19>;
+ vddpa-supply = <&pm8937_l9>;
+ vdddig-supply = <&pm8937_l5>;
+};
+
+&wcnss_mem {
+ status = "okay";
+};
+
+&xo_board {
+ clock-frequency = <19200000>;
+};
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-15 19:58 ` David Heidelberg
2026-03-15 16:26 ` [PATCH v3 4/6] dt-bindings: arm: qcom: Add Redmi 4A and Go Barnabás Czémán
` (3 subsequent siblings)
6 siblings, 1 reply; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán
There are variants from MSM8917 wingtech xiaomis what
are using goodix touch controller instead of focaltech.
Add goodix node for make it able to use touch on all
variants.
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
index 714e75de014b..69eda5f42c06 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
@@ -102,6 +102,22 @@ edt_ft5306: touchscreen@38 {
status = "disabled";
};
+
+ goodix_gt911: touchscreen@5d {
+ compatible = "goodix,gt911";
+ reg = <0x5d>;
+ interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>;
+ irq-gpios = <&tlmm 65 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
+ pinctrl-0 = <&tsp_int_rst_default>;
+ pinctrl-names = "default";
+ AVDD28-supply = <&pm8937_l10>;
+ VDDIO-supply = <&pm8937_l5>;
+ touchscreen-size-x = <720>;
+ touchscreen-size-y = <1280>;
+
+ status = "disabled";
+ };
};
&pm8937_gpios {
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 4/6] dt-bindings: arm: qcom: Add Redmi 4A and Go
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
` (2 preceding siblings ...)
2026-03-15 16:26 ` [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A Barnabás Czémán
` (2 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán, Krzysztof Kozlowski
Add Redmi 4A (rolex) and Redmi Go (tiare).
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 153664da91d9..1bdf2d8c9b47 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -200,6 +200,8 @@ properties:
- items:
- enum:
- xiaomi,riva
+ - xiaomi,rolex
+ - xiaomi,tiare
- const: qcom,msm8917
- items:
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
` (3 preceding siblings ...)
2026-03-15 16:26 ` [PATCH v3 4/6] dt-bindings: arm: qcom: Add Redmi 4A and Go Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-16 9:55 ` Konrad Dybcio
2026-03-15 16:26 ` [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go Barnabás Czémán
2026-03-24 3:05 ` [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Bjorn Andersson
6 siblings, 1 reply; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán
Redmi 4A (rolex) is like Redmi 5A with small differences like charging,
fuel gauge, different speaker codec configuration and display.
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 6d87be639aac..20e161e843ed 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -82,6 +82,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt86528.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-riva.dtb
+dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-rolex.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8929-wingtech-wt82918hd.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8937-xiaomi-land.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8939-asus-z00t.dtb
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts
new file mode 100644
index 000000000000..f0b72d9878c4
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2026, Barnabas Czeman
+ */
+
+/dts-v1/;
+
+#include "msm8917-xiaomi-wingtech.dtsi"
+
+/ {
+ model = "Xiaomi Redmi 4A (rolex)";
+ compatible = "xiaomi,rolex", "qcom,msm8917";
+
+ qcom,board-id = <0x1000b 1>;
+};
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
` (4 preceding siblings ...)
2026-03-15 16:26 ` [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A Barnabás Czémán
@ 2026-03-15 16:26 ` Barnabás Czémán
2026-03-16 9:55 ` Konrad Dybcio
2026-03-24 3:05 ` [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Bjorn Andersson
6 siblings, 1 reply; 15+ messages in thread
From: Barnabás Czémán @ 2026-03-15 16:26 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Barnabás Czémán
Redmi Go (tiare) is like Redmi 5A with small differences like charging,
fuel gauge and different speaker codec.
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 20e161e843ed..a74598cf0b47 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-riva.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-rolex.dtb
+dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-tiare.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8929-wingtech-wt82918hd.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8937-xiaomi-land.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8939-asus-z00t.dtb
diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts
new file mode 100644
index 000000000000..fe844230030f
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2026, Barnabas Czeman
+ */
+
+/dts-v1/;
+
+#include "msm8917-xiaomi-wingtech.dtsi"
+
+/ {
+ model = "Xiaomi Redmi Go (tiare)";
+ compatible = "xiaomi,tiare", "qcom,msm8917";
+
+ qcom,board-id = <0x1000b 1>;
+};
+
+&pm8937_l22 {
+ regulator-min-microvolt = <2850000>;
+ regulator-max-microvolt = <2850000>;
+};
--
2.53.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
2026-03-15 16:26 ` [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch Barnabás Czémán
@ 2026-03-15 19:58 ` David Heidelberg
2026-03-16 2:57 ` Dmitry Baryshkov
0 siblings, 1 reply; 15+ messages in thread
From: David Heidelberg @ 2026-03-15 19:58 UTC (permalink / raw)
To: Barnabás Czémán, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Konrad Dybcio
On 15/03/2026 17:26, Barnabás Czémán wrote:
> There are variants from MSM8917 wingtech xiaomis what
> are using goodix touch controller instead of focaltech.
> Add goodix node for make it able to use touch on all
> variants.
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
> arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 16 ++++++++++++++++
The file is not in the linux-next or linus tree.
If this patch depends on another series, it should be stated here and preferably
also reference (can be done with b4 tool).
David
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
> index 714e75de014b..69eda5f42c06 100644
> --- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
> @@ -102,6 +102,22 @@ edt_ft5306: touchscreen@38 {
>
> status = "disabled";
> };
> +
> + goodix_gt911: touchscreen@5d {
> + compatible = "goodix,gt911";
> + reg = <0x5d>;
> + interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>;
> + irq-gpios = <&tlmm 65 GPIO_ACTIVE_HIGH>;
> + reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&tsp_int_rst_default>;
> + pinctrl-names = "default";
> + AVDD28-supply = <&pm8937_l10>;
> + VDDIO-supply = <&pm8937_l5>;
> + touchscreen-size-x = <720>;
> + touchscreen-size-y = <1280>;
> +
> + status = "disabled";
> + };
> };
>
> &pm8937_gpios {
>
--
David Heidelberg
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A
2026-03-15 16:26 ` [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
@ 2026-03-16 2:56 ` Dmitry Baryshkov
2026-03-16 9:54 ` Konrad Dybcio
1 sibling, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2026-03-16 2:56 UTC (permalink / raw)
To: Barnabás Czémán
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio
On Sun, Mar 15, 2026 at 05:26:20PM +0100, Barnabás Czémán wrote:
> Redmi 5A was made by wingtech like Redmi 4A (rolex) and Redmi GO (tiare).
> They are very similar, make a common base from riva for avoid
> unnecessary code duplications.
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
> arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 308 +-------------------
> .../boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 315 +++++++++++++++++++++
> 2 files changed, 318 insertions(+), 305 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
2026-03-15 19:58 ` David Heidelberg
@ 2026-03-16 2:57 ` Dmitry Baryshkov
0 siblings, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2026-03-16 2:57 UTC (permalink / raw)
To: David Heidelberg
Cc: Barnabás Czémán, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, phone-devel, Konrad Dybcio
On Sun, Mar 15, 2026 at 08:58:01PM +0100, David Heidelberg wrote:
> On 15/03/2026 17:26, Barnabás Czémán wrote:
> > There are variants from MSM8917 wingtech xiaomis what
> > are using goodix touch controller instead of focaltech.
> > Add goodix node for make it able to use touch on all
> > variants.
> >
> > Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> > ---
> > arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 16 ++++++++++++++++
>
> The file is not in the linux-next or linus tree.
>
> If this patch depends on another series, it should be stated here and
> preferably also reference (can be done with b4 tool).
It is added in the previous patch.
>
> David
>
> > 1 file changed, 16 insertions(+)
> >
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A
2026-03-15 16:26 ` [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
2026-03-16 2:56 ` Dmitry Baryshkov
@ 2026-03-16 9:54 ` Konrad Dybcio
1 sibling, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-03-16 9:54 UTC (permalink / raw)
To: Barnabás Czémán, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel
On 3/15/26 5:26 PM, Barnabás Czémán wrote:
> Redmi 5A was made by wingtech like Redmi 4A (rolex) and Redmi GO (tiare).
> They are very similar, make a common base from riva for avoid
> unnecessary code duplications.
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A
2026-03-15 16:26 ` [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A Barnabás Czémán
@ 2026-03-16 9:55 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-03-16 9:55 UTC (permalink / raw)
To: Barnabás Czémán, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel
On 3/15/26 5:26 PM, Barnabás Czémán wrote:
> Redmi 4A (rolex) is like Redmi 5A with small differences like charging,
> fuel gauge, different speaker codec configuration and display.
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go
2026-03-15 16:26 ` [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go Barnabás Czémán
@ 2026-03-16 9:55 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-03-16 9:55 UTC (permalink / raw)
To: Barnabás Czémán, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel
On 3/15/26 5:26 PM, Barnabás Czémán wrote:
> Redmi Go (tiare) is like Redmi 5A with small differences like charging,
> fuel gauge and different speaker codec.
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader
2026-03-15 16:26 ` [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
@ 2026-03-16 14:23 ` Dmitry Baryshkov
0 siblings, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2026-03-16 14:23 UTC (permalink / raw)
To: Barnabás Czémán
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio
On Sun, Mar 15, 2026 at 05:26:19PM +0100, Barnabás Czémán wrote:
> Redmi 5A comes with multiple bootloader versions where the expected
> board-id is different.
> Change the board-id to unified form what works on both bootloader
> version.
>
> Fixes: 26633b582056 ("arm64: dts: qcom: Add Xiaomi Redmi 5A")
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
> arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
` (5 preceding siblings ...)
2026-03-15 16:26 ` [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go Barnabás Czémán
@ 2026-03-24 3:05 ` Bjorn Andersson
6 siblings, 0 replies; 15+ messages in thread
From: Bjorn Andersson @ 2026-03-24 3:05 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Barnabás Czémán
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, phone-devel, Konrad Dybcio,
Krzysztof Kozlowski
On Sun, 15 Mar 2026 17:26:18 +0100, Barnabás Czémán wrote:
> Redmi 5A is similar device like Redmi GO and Redmi 4A.
>
> This patch series commonize it to avoid code duplications.
>
> Differences between 4A and 5A:
> - Different charger and fg
> - Different displays panel but same resolution
> - Different speaker codec configuration (awinic-mode)
>
> [...]
Applied, thanks!
[1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader
commit: 5be60b59614f642344f5f0da6af0724e89a7029f
[2/6] arm64: dts: qcom: Make a common base from Redmi 5A
commit: d22b57071d610f1d0067539a29e64fc79020f7d3
[3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
commit: 701441d899b1a8659fd0e0e572ba8249e6e00e2c
[4/6] dt-bindings: arm: qcom: Add Redmi 4A and Go
commit: ec60610c82c4b1fa9114feb4d0d139eebe850307
[5/6] arm64: dts: qcom: Add Redmi 4A
commit: 0762524b1d61a7b348ca074045ee7065f3a573af
[6/6] arm64: dts: qcom: Add Redmi Go
commit: 4b718581d10e1b947e73e98fb0c7f7a0b6bc0e5f
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2026-03-24 3:06 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-15 16:26 [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 1/6] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
2026-03-16 14:23 ` Dmitry Baryshkov
2026-03-15 16:26 ` [PATCH v3 2/6] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
2026-03-16 2:56 ` Dmitry Baryshkov
2026-03-16 9:54 ` Konrad Dybcio
2026-03-15 16:26 ` [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch Barnabás Czémán
2026-03-15 19:58 ` David Heidelberg
2026-03-16 2:57 ` Dmitry Baryshkov
2026-03-15 16:26 ` [PATCH v3 4/6] dt-bindings: arm: qcom: Add Redmi 4A and Go Barnabás Czémán
2026-03-15 16:26 ` [PATCH v3 5/6] arm64: dts: qcom: Add Redmi 4A Barnabás Czémán
2026-03-16 9:55 ` Konrad Dybcio
2026-03-15 16:26 ` [PATCH v3 6/6] arm64: dts: qcom: Add Redmi Go Barnabás Czémán
2026-03-16 9:55 ` Konrad Dybcio
2026-03-24 3:05 ` [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO Bjorn Andersson
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®