Devicetree
 help / color / mirror / Atom feed
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 0/2] arm64: dts: qcom: Distinguish Xiaomi elish display panel variants
Date: Thu, 26 Nov 2026 14:30:32 +0800	[thread overview]
Message-ID: <20261126063056.2276703-1-liujianfeng1994@gmail.com> (raw)


The Xiaomi Mi Pad 5 Pro (elish) ships with either a BOE or a CSOT display
panel. The two variants already have separate device trees, but their
root compatible lists are identical. Loaders such as Stubble cannot use
those lists to select the device tree for the detected panel.

Document a board compatible for each panel variant, then prepend it to
the corresponding device tree's root compatible list. Keep xiaomi,elish
and qcom,sm8250 as fallbacks, and continue to accept the existing generic
compatible list in the binding.

This series is based on next-20261125. The binding update precedes the
DTS changes.

Validation:
- Strict checkpatch: no errors or warnings.
- dt_binding_check with DT_SCHEMA_FILES=arm/qcom.yaml.
- Both Elish DTBs built and validated against arm/qcom.yaml.
- Existing generic-compatible Elish DTBs accepted by the updated schema.

On-device Stubble boot has been tested using U-Boot firmware.

AI assistance: OpenAI Codex helped adapt the existing downstream patch,
prepare the binding, commit messages and cover letter, and run the local
checks described above.


Jianfeng Liu (2):
  dt-bindings: arm: qcom: Document Xiaomi elish panel variants
  arm64: dts: qcom: sm8250-elish: Distinguish display panel variants

 Documentation/devicetree/bindings/arm/qcom.yaml       | 7 +++++++
 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts  | 2 +-
 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

---
base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
branch: xiaomi-elish-panel-upstream

-- 
2.47.3


             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 Jianfeng Liu [this message]
2026-11-26  6:30 ` [PATCH v1 1/2] dt-bindings: arm: qcom: Document Xiaomi elish panel variants Jianfeng Liu
2026-11-26 11:14   ` Jianhua Lu
2026-11-26  6:30 ` [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display " Jianfeng Liu
2026-11-26 11:18   ` 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-1-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