From: barnabas.czeman@mainlining.org
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: 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>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org,
phone-devel@vger.kernel.org
Subject: Re: [PATCH 3/5] arm64: dts: qcom: Add Redmi 4A
Date: Mon, 09 Mar 2026 22:25:23 +0100 [thread overview]
Message-ID: <d17c54c18af7734fbf218af399efa8ea@mainlining.org> (raw)
In-Reply-To: <098cf81c-d3a4-4591-948f-0517b0430343@oss.qualcomm.com>
On 2026-03-09 13:52, Konrad Dybcio wrote:
> On 3/5/26 6:28 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>
>> ---
>> arch/arm64/boot/dts/qcom/Makefile | 1 +
>> .../boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi | 16
>> ++++++++++++++++
>> arch/arm64/boot/dts/qcom/msm8917-xiaomi-rolex.dts | 19
>> +++++++++++++++++++
>> 3 files changed, 36 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-riva-common.dtsi
>> b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi
>> index f0a534106e11..50868c679693 100644
>> --- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi
>> @@ -104,6 +104,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";
>> + };
>
> I think an easier thing would be to just add a 'touchscreen' label
> to the original one, /delete-node/ &touchscreen from rolex.dts and
> add the new node there (seems like it's the only used) and do nothing
> in the other two using EDT_FT5306
There is focaltech variant from rolex, and there is goodix variant from
riva and tiare,
maybe i should disable both node by default.
>
> Konrad
next prev parent reply other threads:[~2026-03-09 21:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 17:28 [PATCH 0/5] Commonize Redmi 5A for 4A and GO Barnabás Czémán
2026-03-05 17:28 ` [PATCH 1/5] arm64: dts: qcom: msm8917-xiaomi-riva: Commonize for Redmi " Barnabás Czémán
2026-03-06 8:21 ` Krzysztof Kozlowski
2026-03-09 12:55 ` Konrad Dybcio
2026-03-09 21:48 ` barnabas.czeman
2026-03-10 12:57 ` barnabas.czeman
2026-03-10 13:04 ` Konrad Dybcio
2026-03-10 13:11 ` barnabas.czeman
2026-03-10 13:21 ` Konrad Dybcio
2026-03-10 13:26 ` barnabas.czeman
2026-03-10 13:41 ` Konrad Dybcio
2026-03-05 17:28 ` [PATCH 2/5] dt-bindings: arm: qcom: Add Redmi 4A Barnabás Czémán
2026-03-09 10:57 ` Krzysztof Kozlowski
2026-03-09 12:50 ` Konrad Dybcio
2026-03-09 12:54 ` Krzysztof Kozlowski
2026-03-05 17:28 ` [PATCH 3/5] arm64: dts: " Barnabás Czémán
2026-03-09 12:52 ` Konrad Dybcio
2026-03-09 21:25 ` barnabas.czeman [this message]
2026-03-05 17:28 ` [PATCH 4/5] dt-bindings: arm: qcom: Add Redmi Go Barnabás Czémán
2026-03-06 8:21 ` Krzysztof Kozlowski
2026-03-06 8:29 ` Krzysztof Kozlowski
2026-03-05 17:28 ` [PATCH 5/5] arm64: dts: " Barnabás Czémán
2026-03-09 12:53 ` Konrad Dybcio
2026-03-09 21:19 ` barnabas.czeman
2026-03-09 21:36 ` barnabas.czeman
2026-03-10 12:31 ` Konrad Dybcio
2026-03-10 12:47 ` barnabas.czeman
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=d17c54c18af7734fbf218af399efa8ea@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=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@mainlining.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