Message ID | 20230329130413.683636-1-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] dt-bindings: display: bridge: ldb: Add i.MX6SX support | expand |
On 29/03/2023 15:04, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > i.MX6SX has a single LVDS port and share a similar LDB_CTRL register > layout with i.MX8MP and i.MX93. > > Signed-off-by: Fabio Estevam <festevam@denx.de> > --- > .../devicetree/bindings/display/bridge/fsl,ldb.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > index 6e0e3ba9b49e..4f842bcfba1a 100644 > --- a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > @@ -17,6 +17,7 @@ description: | > properties: > compatible: > enum: > + - fsl,imx6sx-ldb > - fsl,imx8mp-ldb > - fsl,imx93-ldb > > @@ -60,6 +61,16 @@ required: > - ports > > allOf: > + - if: > + properties: > + compatible: > + contains: > + const: fsl,imx6sx-ldb > + then: > + properties: > + ports: > + properties: > + port@2: false Don't duplicate entire if needlessly. It's the same as other one, so add your compatible there. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml index 6e0e3ba9b49e..4f842bcfba1a 100644 --- a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml +++ b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml @@ -17,6 +17,7 @@ description: | properties: compatible: enum: + - fsl,imx6sx-ldb - fsl,imx8mp-ldb - fsl,imx93-ldb @@ -60,6 +61,16 @@ required: - ports allOf: + - if: + properties: + compatible: + contains: + const: fsl,imx6sx-ldb + then: + properties: + ports: + properties: + port@2: false - if: properties: compatible: