* [PATCH v1 0/2] arm64: dts: qcom: Distinguish Xiaomi elish display panel variants @ 2026-11-26 6:30 Jianfeng Liu 2026-11-26 6:30 ` [PATCH v1 1/2] dt-bindings: arm: qcom: Document Xiaomi elish " Jianfeng Liu 2026-11-26 6:30 ` [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display " Jianfeng Liu 0 siblings, 2 replies; 5+ messages in thread From: Jianfeng Liu @ 2026-11-26 6:30 UTC (permalink / raw) To: devicetree Cc: 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, 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v1 1/2] dt-bindings: arm: qcom: Document Xiaomi elish panel variants 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 ` 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 1 sibling, 1 reply; 5+ messages in thread From: Jianfeng Liu @ 2026-11-26 6:30 UTC (permalink / raw) To: devicetree Cc: Jianfeng Liu, Abel Vesa, Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski, Rob Herring, linux-arm-msm 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 and continue to allow the existing two-string compatible for older device trees. Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com> --- Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index a7157795870cd..84ae2d991d628 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -1192,6 +1192,13 @@ properties: - xiaomi,pipa - const: qcom,sm8250 + - items: + - enum: + - xiaomi,elish-boe + - xiaomi,elish-csot + - const: xiaomi,elish + - const: qcom,sm8250 + - items: - enum: - microsoft,surface-duo2 -- 2.47.3 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: arm: qcom: Document Xiaomi elish panel variants 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 0 siblings, 0 replies; 5+ messages in thread From: Jianhua Lu @ 2026-11-26 11:14 UTC (permalink / raw) To: Jianfeng Liu Cc: devicetree, Abel Vesa, Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski, Rob Herring, linux-arm-msm On Thu, Nov 26, 2026 at 02:30:33PM +0800, Jianfeng Liu wrote: > 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 and continue to allow the existing > two-string compatible for older device trees. > > Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com> > --- > > Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml > index a7157795870cd..84ae2d991d628 100644 > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > @@ -1192,6 +1192,13 @@ properties: > - xiaomi,pipa There is a "xiaomi,elish" string above "xiaomi,pipa". I think you should drop it since you add "xiaomi,elish" in the following. > - const: qcom,sm8250 > > + - items: > + - enum: > + - xiaomi,elish-boe > + - xiaomi,elish-csot > + - const: xiaomi,elish > + - const: qcom,sm8250 > + > - items: > - enum: > - microsoft,surface-duo2 > -- > 2.47.3 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display panel variants 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 6:30 ` Jianfeng Liu 2026-11-26 11:18 ` Jianhua Lu 1 sibling, 1 reply; 5+ messages in thread From: Jianfeng Liu @ 2026-11-26 6:30 UTC (permalink / raw) To: devicetree Cc: Jianfeng Liu, Abel Vesa, Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski, Rob Herring, linux-arm-msm 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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display panel variants 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 0 siblings, 0 replies; 5+ messages in thread From: Jianhua Lu @ 2026-11-26 11:18 UTC (permalink / raw) To: Jianfeng Liu Cc: devicetree, Abel Vesa, Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski, Rob Herring, linux-arm-msm The commit title should be arm64: dts: qcom: sm8250-xiaomi-elish: Distinguish display panel variants ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-26 11:19 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` [PATCH v1 2/2] arm64: dts: qcom: sm8250-elish: Distinguish display " Jianfeng Liu 2026-11-26 11:18 ` Jianhua Lu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox