dt-bindings: mfd: aspeed: Drop 'oneOf' for pinctrl node
authorRob Herring (Arm) <robh@kernel.org>
Tue, 30 Apr 2024 17:25:19 +0000 (12:25 -0500)
committerLee Jones <lee@kernel.org>
Fri, 10 May 2024 14:39:17 +0000 (15:39 +0100)
commitdee5183d5f5ee6e50f796af16d6425903b98cf6b
tree4033032cb90e4eb6f8712a883fc6319b2a9c3a42
parent3555d80d469986855d8a13136ed8caa4c873653e
dt-bindings: mfd: aspeed: Drop 'oneOf' for pinctrl node

The use of 'oneOf' to include 1 of 3 possible child node schemas results
in error messages containing the actual error message(s) for the correct
SoC buried in the tons of error messages from the 2 schemas that don't
apply. It also causes the pinctrl schema to be applied twice as it will
be applied when the compatible matches.

All that's really needed in the parent schema is to ensure one of the
possible compatible strings is present in the pinctrl node so that its
schema will be applied separately.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20240430172520.535179-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml