From: Vincent Jardin <[email protected]> On the LX2160A the DCFG node holds the pad mux, overridden through its DCSR view. Allow fsl,lx2160a-dcfg with simple-mfd, so that the child is populated, and the pinctrl child, on the LX2160A only.
Signed-off-by: Vincent Jardin <[email protected]> --- .../bindings/soc/fsl/fsl,layerscape-dcfg.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml b/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml index fc14fd0bf84b..dd6a00ba04eb 100644 --- a/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml +++ b/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml @@ -32,6 +32,7 @@ properties: - items: - enum: - fsl,ls1028a-dcfg + - fsl,lx2160a-dcfg - const: syscon - const: simple-mfd @@ -62,6 +63,12 @@ properties: ranges: true + pinctrl: + $ref: /schemas/pinctrl/fsl,lx2160a-rcw-pinmux.yaml# + description: + The pad muxes of the RCW on the LX2160A, overridden through the DCSR + view of this block. + patternProperties: "^clock-controller@[0-9a-f]+$": $ref: /schemas/clock/fsl,flexspi-clock.yaml# @@ -70,6 +77,17 @@ required: - compatible - reg +allOf: + - if: + not: + properties: + compatible: + contains: + const: fsl,lx2160a-dcfg + then: + properties: + pinctrl: false + additionalProperties: false examples: -- 2.43.0
