mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
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,
	~postmarketos/upstreaming@lists.sr.ht,
	phone-devel@vger.kernel.org,
	"Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
	"Barnabás Czémán" <barnabas.czeman@mainlining.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH v3 0/6] Commonize Redmi 5A for 4A and GO
Date: Sun, 15 Mar 2026 17:26:18 +0100	[thread overview]
Message-ID: <20260315-riva-common-v3-0-897f130786ed@mainlining.org> (raw)

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>


             reply	other threads:[~2026-03-15 16:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-15 16:26 Barnabás Czémán [this message]
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

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=20260315-riva-common-v3-0-897f130786ed@mainlining.org \
    --to=barnabas.czeman@mainlining.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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 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®