summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/syscon.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-06-10 13:04:18 -0600
committerRob Herring <robh@kernel.org>2020-06-30 09:37:36 -0600
commitad440432d1f93b387eaf9796afcbc02467a2a841 (patch)
treeeef7dba742e16ab222e89cf79cc8e6bf77a82916 /Documentation/devicetree/bindings/mfd/syscon.yaml
parentbcb142f30394d45e6faa90325459c1110beba56e (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/syscon.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/syscon.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 19bdaf781853..af7a68051392 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -43,7 +43,8 @@ properties:
- contains:
const: syscon
- additionalItems: true
+ minItems: 2
+ maxItems: 4 # Should be enough
reg:
maxItems: 1