From: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: Amir Hanip <killdeath104@gmail.com>,
abelvesa@kernel.org, andersson@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, konradybcio@kernel.org,
krzk+dt@kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, robh@kernel.org, a39skl@gmail.com
Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: Add Xiaomi Poco M3
Date: Mon, 02 Nov 2026 21:11:33 +0100 [thread overview]
Message-ID: <3ec43b1b00bca7506c1ca678c118f8c2@mainlining.org> (raw)
In-Reply-To: <f4c2b984-e255-457a-9b39-f797b840cac4@oss.qualcomm.com>
On 2026-11-02 11:44, Konrad Dybcio wrote:
> On 11/1/26 8:44 PM, Barnabás Czémán wrote:
>> On 2026-11-01 17:49, Amir Hanip wrote:
>>> On Fri, 30 Oct 2026 13:30:28 +0100, Barnabas Czeman wrote:
>>>> Poco M3 (citrus) is same HW like Redmi 9T (lime) and Remi 9T NFC
>>>> (lemon) basically is a lime with NFC.
>>>> So i think it would be better make a common base from lemon's
>>>> devicetree instead of making the same devicetree again for the
>>>> different variants where only the compatible and the model property
>>>> will be the difference.
>>>> Check sm6115-xiaomi-gingkgo-common for example, it was the same case
>>>> for Redmi Note 8 (ginkgo) and 8T (willow).
>>>
>>> Hi Barnabas, Adam,
>>>
>>> Thanks for the review, that makes sense. I am preparing a v3 that
>>> moves the shared parts of lemon into sm6115-xiaomi-lime-common.dtsi
>>> and has both lemon and citrus include it. I used the name lime-common
>>> following your naming. Happy to rename it.
>>>
>>> Plan for v3:
>>> 1. dt-bindings (unchanged)
>>> 2. lemon: move the shared nodes into the common dtsi, no functional
>>> change intended
>>> 3. citrus on top of the common dtsi
>>>
>>> I can only test citrus. I do not own a Redmi 9T, so lemon is untested
>>> on hardware. Instead, I compared the lemon DTS before and after the
>>> split, normalized with dtc (dtc -I dts -O dts -s). The only
>>> difference is the numbering of two auto-generated phandles. I will
>>> describe the check in the cover letter. Adam,
>>> would you be able to test lemon once v3 is posted, or look at the
>>> split beforehand?
>>>
>>> The IPA carve-outs (pil_ipa_fw_mem and pil_ipa_gsi_mem) are identical
>>> on both, so they now live in the common dtsi.
>>>
>>> I kept the following per variant because I cannot tell whether they
>>> are real hardware differences or just differences between the stock
>>> firmware images:
>>>
>>> - ADSP carve-out: 0x53800000/0x2200000 on citrus,
>>> 0x53400000/0x2600000
>>> on lemon. Both regions end at 0x55a00000, so only the start and
>>> size differ. I can only confirm that the citrus value works on my
>>> device.
>> If there are no overlaps the bigger range could work for both of them.
>
> Waste of precious RAM!
I have checked it seems lemon have same adsp region like citrus.
`pil_adsp_region@53800000`
>
> Konrad
next prev parent reply other threads:[~2026-11-02 20:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 20:51 [PATCH v2 0/2] arm64: dts: qcom: Add Xiaomi Poco M3 (citrus) Amir Hanip
2026-10-27 20:51 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Document Xiaomi Poco M3 Amir Hanip
2026-10-28 12:52 ` Krzysztof Kozlowski
2026-10-27 20:51 ` [PATCH v2 2/2] arm64: dts: qcom: Add " Amir Hanip
2026-10-27 21:06 ` sashiko-bot
2026-10-28 12:35 ` Konrad Dybcio
2026-10-30 12:30 ` Barnabás Czémán
2026-11-01 16:49 ` Amir Hanip
2026-11-01 19:44 ` Barnabás Czémán
2026-11-02 10:44 ` Konrad Dybcio
2026-11-02 20:11 ` Barnabás Czémán [this message]
2026-11-04 9:58 ` Amir Hanip
2026-11-04 10:25 ` Barnabás Czémán
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=3ec43b1b00bca7506c1ca678c118f8c2@mainlining.org \
--to=barnabas.czeman@mainlining.org \
--cc=a39skl@gmail.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=killdeath104@gmail.com \
--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=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.