From: Jianfeng Liu <liujianfeng1994@gmail.com>
To: devicetree@vger.kernel.org
Cc: Jianfeng Liu <liujianfeng1994@gmail.com>,
Abel Vesa <abelvesa@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
linux-arm-msm@vger.kernel.org
Subject: [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display panel variants
Date: Thu, 26 Nov 2026 14:30:34 +0800 [thread overview]
Message-ID: <20261126063056.2276703-3-liujianfeng1994@gmail.com> (raw)
In-Reply-To: <20261126063056.2276703-1-liujianfeng1994@gmail.com>
The BOE and CSOT variants of the Xiaomi Mi Pad 5 Pro have separate device
trees, but both advertise the same root compatible list. Firmware using
that list to select a DTB, such as Stubble, cannot distinguish them and
may select the device tree for the wrong panel.
Prepend a panel-specific board compatible to each variant's root node.
Retain xiaomi,elish and qcom,sm8250 as fallbacks for existing users of the
generic board and SoC compatibles.
Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts | 2 +-
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts
index de6101ddebe7d..4838f3950124c 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts
+++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts
@@ -9,7 +9,7 @@
/ {
model = "Xiaomi Mi Pad 5 Pro (BOE)";
- compatible = "xiaomi,elish", "qcom,sm8250";
+ compatible = "xiaomi,elish-boe", "xiaomi,elish", "qcom,sm8250";
};
&display_panel {
diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts
index 4cffe9c703df8..0ad0a76ee9d04 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts
+++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts
@@ -9,7 +9,7 @@
/ {
model = "Xiaomi Mi Pad 5 Pro (CSOT)";
- compatible = "xiaomi,elish", "qcom,sm8250";
+ compatible = "xiaomi,elish-csot", "xiaomi,elish", "qcom,sm8250";
};
&display_panel {
--
2.47.3
next prev parent reply other threads:[~2026-11-26 6:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 6:30 [PATCH v1 0/2] arm64: dts: qcom: Distinguish Xiaomi elish display panel variants Jianfeng Liu
2026-11-26 6:30 ` [PATCH v1 1/2] dt-bindings: arm: qcom: Document Xiaomi elish " Jianfeng Liu
2026-11-26 11:14 ` Jianhua Lu
2026-11-26 6:30 ` Jianfeng Liu [this message]
2026-11-26 11:18 ` [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display " Jianhua Lu
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=20261126063056.2276703-3-liujianfeng1994@gmail.com \
--to=liujianfeng1994@gmail.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox