dt-bindings: mfd: Ensure 'syscon' has a more specific compatible

Using 'syscon' alone should be avoided as compatible strings should be
specific enough to identify the exact set of registers contained. Update
the schema to ensure at least 2 compatible strings are present.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Rob Herring 2020-06-10 13:04:18 -06:00
parent bcb142f303
commit ad440432d1

View file

@ -43,7 +43,8 @@ properties:
- contains:
const: syscon
additionalItems: true
minItems: 2
maxItems: 4 # Should be enough
reg:
maxItems: 1