From: Rob Herring Date: Wed, 10 Jun 2020 19:04:18 +0000 (-0600) Subject: dt-bindings: mfd: Ensure 'syscon' has a more specific compatible X-Git-Tag: howlett/maple_spf/20210104~1340^2~40 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ad440432d1f9;p=users%2Fjedix%2Flinux-maple.git 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 --- 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