On Fri, Mar 27, 2026 at 05:12:23PM +0100, Luca Weiss wrote: > Document the Mobile Display Subsystem (MDSS) on the Milos SoC. > > Signed-off-by: Luca Weiss <[email protected]> > --- > .../bindings/display/msm/qcom,milos-mdss.yaml | 283 > +++++++++++++++++++++ > 1 file changed, 283 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/display/msm/qcom,milos-mdss.yaml > b/Documentation/devicetree/bindings/display/msm/qcom,milos-mdss.yaml > new file mode 100644 > index 000000000000..0fb66b4b2742 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/msm/qcom,milos-mdss.yaml > @@ -0,0 +1,283 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/msm/qcom,milos-mdss.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Milos Display MDSS > + > +maintainers: > + - Luca Weiss <[email protected]> > + > +description: > + Milos MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks > like > + DPU display controller, DSI and DP interfaces etc. > + > +$ref: /schemas/display/msm/mdss-common.yaml# > + > +properties: > + compatible: > + const: qcom,milos-mdss > + > + clocks: > + items: > + - description: Display AHB > + - description: Display hf AXI > + - description: Display core > + > + iommus: > + maxItems: 1 > + > + interconnects: > + items: > + - description: Interconnect path from mdp0 port to the data bus > + - description: Interconnect path from CPU to the reg bus > + > + interconnect-names: > + items: > + - const: mdp0-mem > + - const: cpu-cfg > + > +patternProperties: > + "^display-controller@[0-9a-f]+$": > + type: object > + additionalProperties: true > + properties: > + compatible: > + const: qcom,milos-dpu > + > + "^displayport-controller@[0-9a-f]+$": > + type: object > + additionalProperties: true > + properties: > + compatible: > + const: qcom,milos-dp > + > + "^dsi@[0-9a-f]+$": > + type: object > + additionalProperties: true > + properties: > + compatible: > + items: > + - const: qcom,milos-dsi-ctrl > + - const: qcom,mdss-dsi-ctrl
Use 'contains' and drop qcom,mdss-dsi-ctrl. Don't need to define the exact list of compatibles here. The full schema does that. Rob

