Since the BLK CTL registers, like the LVDS CSR, can be used to control the LVDS Display Bridge controllers, add 'ldb' child node to handle these use cases.
Signed-off-by: Laurentiu Palcu <[email protected]> --- .../bindings/clock/nxp,imx95-blk-ctl.yaml | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml index fbbf1b3f17904..97fe816a38f94 100644 --- a/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml +++ b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml @@ -51,6 +51,10 @@ patternProperties: $ref: /schemas/media/fsl,imx95-csi-formatter.yaml# unevaluatedProperties: false + '^ldb@[0-9a-f]+$': + type: object + $ref: /schemas/display/bridge/fsl,ldb.yaml# + required: - compatible - reg @@ -63,7 +67,9 @@ allOf: properties: compatible: contains: - const: nxp,imx95-camera-csr + enum: + - nxp,imx94-lvds-csr + - nxp,imx95-camera-csr then: required: - '#address-cells' @@ -72,8 +78,24 @@ allOf: properties: '#address-cells': false '#size-cells': false + - if: + properties: + compatible: + not: + contains: + const: nxp,imx95-camera-csr + then: patternProperties: '^formatter@[0-9a-f]+$': false + - if: + properties: + compatible: + not: + contains: + const: nxp,imx94-lvds-csr + then: + patternProperties: + '^ldb@[0-9a-f]+$': false additionalProperties: false -- 2.53.0
