All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jianfeng Liu <liujianfeng1994@gmail.com>
To: devicetree@vger.kernel.org
Cc: Jianhua Lu <lujianhua000@gmail.com>,
	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 v2 1/2] dt-bindings: arm: qcom: Document Xiaomi elish panel variants
Date: Fri, 27 Nov 2026 18:19:19 +0800	[thread overview]
Message-ID: <20261127101942.3215633-2-liujianfeng1994@gmail.com> (raw)
In-Reply-To: <20261127101942.3215633-1-liujianfeng1994@gmail.com>

The Xiaomi Mi Pad 5 Pro (elish) is available with either a BOE or a CSOT
display panel. Document a board compatible for each variant so firmware
can distinguish the corresponding device trees.

Keep xiaomi,elish as a fallback in the panel-specific compatible lists
and replace the generic-only entry with the two panel variants.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>

---

Changes in v2:
- Remove xiaomi,elish from the generic SM8250 enum, as suggested by
  Jianhua Lu.
- Add a Xiaomi Mi Pad 5 Pro description to the Elish entry, as suggested
  by Jianhua Lu.

 Documentation/devicetree/bindings/arm/qcom.yaml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index a7157795870cd..badf99e92d321 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -1188,10 +1188,17 @@ properties:
               - samsung,x1q
               - sony,pdx203-generic
               - sony,pdx206-generic
-              - xiaomi,elish
               - xiaomi,pipa
           - const: qcom,sm8250
 
+      - description: Xiaomi Mi Pad 5 Pro
+        items:
+          - enum:
+              - xiaomi,elish-boe
+              - xiaomi,elish-csot
+          - const: xiaomi,elish
+          - const: qcom,sm8250
+
       - items:
           - enum:
               - microsoft,surface-duo2
-- 
2.47.3


  reply	other threads:[~2026-11-27 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 10:19 [PATCH v2 0/2] arm64: dts: qcom: Distinguish Xiaomi elish display panel variants Jianfeng Liu
2026-11-27 10:19 ` Jianfeng Liu [this message]
2026-11-27 11:32   ` [PATCH v2 1/2] dt-bindings: arm: qcom: Document Xiaomi elish " Jianhua Lu
2026-11-27 10:19 ` [PATCH v2 2/2] arm64: dts: qcom: sm8250-xiaomi-elish: Distinguish display " Jianfeng Liu
2026-11-27 11:34   ` 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=20261127101942.3215633-2-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=lujianhua000@gmail.com \
    --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.