Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: qcom: Distinguish Xiaomi elish display panel variants
@ 2026-11-27 10:19 Jianfeng Liu
  2026-11-27 10:19 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Document Xiaomi elish " Jianfeng Liu
  2026-11-27 10:19 ` [PATCH v2 2/2] arm64: dts: qcom: sm8250-xiaomi-elish: Distinguish display " Jianfeng Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Jianfeng Liu @ 2026-11-27 10:19 UTC (permalink / raw)
  To: devicetree
  Cc: Jianhua Lu, Jianfeng Liu, Abel Vesa, Bjorn Andersson,
	Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski, Rob Herring,
	linux-arm-msm

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. The binding now describes the panel-specific
compatible lists in place of the generic-only entry.

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.

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.

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.
- Use sm8250-xiaomi-elish in the commit subject, as requested by
  Jianhua Lu.

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

 Documentation/devicetree/bindings/arm/qcom.yaml       | 9 ++++++++-
 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, 10 insertions(+), 3 deletions(-)

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

-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-27 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Document Xiaomi elish " Jianfeng Liu
2026-11-27 10:19 ` [PATCH v2 2/2] arm64: dts: qcom: sm8250-xiaomi-elish: Distinguish display " Jianfeng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox