]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 20 Jun 2024 11:34:51 +0000 (13:34 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 8 Jul 2024 22:46:08 +0000 (00:46 +0200)
The reference i2c-controller.yaml already defines 'address-cells' and
'size-cells', so drop them from list of properties.  Drop them as well
from required properties, even though i2c-controller.yaml does not
require them, because I2C controller could be enabled without any
children in DTS for user-space usage.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml

index b2d19cfb87addc250bda299ea8508209d10b635b..588478862bd1c291b611639f001f62e0658597d2 100644 (file)
@@ -36,12 +36,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  "#address-cells":
-    const: 1
-
-  "#size-cells":
-    const: 0
-
   clocks:
     maxItems: 1
 
@@ -72,8 +66,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - "#address-cells"
-  - "#size-cells"
   - clocks
 
 allOf: