Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Commonize Redmi 5A for 4A and GO
@ 2026-03-10 17:21 Barnabás Czémán
  2026-03-10 17:21 ` [PATCH v2 1/7] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Barnabás Czémán @ 2026-03-10 17:21 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 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 (7):
      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
      arm64: dts: qcom: Add back Xiaomi Redmi 5A
      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   | 308 +------------------
 arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts  |  15 +
 arch/arm64/boot/dts/qcom/msm8917-xiaomi-tiare.dts  |  23 ++
 .../boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi     | 333 +++++++++++++++++++++
 6 files changed, 378 insertions(+), 305 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] 14+ messages in thread

end of thread, other threads:[~2026-03-13 12:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 17:21 [PATCH v2 0/7] Commonize Redmi 5A for 4A and GO Barnabás Czémán
2026-03-10 17:21 ` [PATCH v2 1/7] arm64: dts: qcom: msm8917-xiaomi-riva: Fix board-id for all bootloader Barnabás Czémán
2026-03-11  9:14   ` Konrad Dybcio
2026-03-10 17:21 ` [PATCH v2 2/7] arm64: dts: qcom: Make a common base from Redmi 5A Barnabás Czémán
2026-03-10 17:21 ` [PATCH v2 3/7] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch Barnabás Czémán
2026-03-10 17:21 ` [PATCH v2 4/7] arm64: dts: qcom: Add back Xiaomi Redmi 5A Barnabás Czémán
2026-03-11  1:47   ` Dmitry Baryshkov
2026-03-11  9:01   ` Krzysztof Kozlowski
2026-03-10 17:21 ` [PATCH v2 5/7] dt-bindings: arm: qcom: Add Redmi 4A and Go Barnabás Czémán
2026-03-10 17:21 ` [PATCH v2 6/7] arm64: dts: qcom: Add Redmi 4A Barnabás Czémán
2026-03-11  9:16   ` Konrad Dybcio
2026-03-11 14:38     ` barnabas.czeman
2026-03-13 12:52       ` Konrad Dybcio
2026-03-10 17:21 ` [PATCH v2 7/7] arm64: dts: qcom: Add Redmi Go Barnabás Czémán

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox