From ad440432d1f93b387eaf9796afcbc02467a2a841 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Wed, 10 Jun 2020 13:04:18 -0600 Subject: [PATCH] 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 Cc: Maxime Ripard Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/mfd/syscon.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 19bdaf7..af7a680 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 -- 2.7.4