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..6661c7d08340 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 @@ -66,10 +67,27 @@ patternProperties: "^clock-controller@[0-9a-f]+$": $ref: /schemas/clock/fsl,flexspi-clock.yaml# + "^pinctrl@[0-9a-f]+$": + $ref: /schemas/pinctrl/fsl,lx2160a-rcw-pinmux.yaml# + description: + The pad muxes of the RCW on the LX2160A, at their RCWSR12 to RCWSR14 + window, overridden through the DCSR view of this block. + required: - compatible - reg +allOf: + - if: + not: + properties: + compatible: + contains: + const: fsl,lx2160a-dcfg + then: + patternProperties: + "^pinctrl@[0-9a-f]+$": false + additionalProperties: false examples: -- 2.43.0
