]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: i2c: realtek,rtl9301: Fix missing 'reg' constraint
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 2 Jul 2025 06:15:31 +0000 (08:15 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 2 Jul 2025 15:23:59 +0000 (17:23 +0200)
Lists should have fixed amount if items, so add missing constraint to
the 'reg' property (only one address space entry).

Fixes: c5eda0333076 ("dt-bindings: i2c: Add Realtek RTL I2C Controller")
Cc: <stable@vger.kernel.org> # v6.13+
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250702061530.6940-2-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml

index eddfd329c67b74792852acb80b57e90170d6bf17..69ac5db8b91489be0c42dbeb9fddf6b109e867a8 100644 (file)
@@ -26,7 +26,8 @@ properties:
       - const: realtek,rtl9301-i2c
 
   reg:
-    description: Register offset and size this I2C controller.
+    items:
+      - description: Register offset and size this I2C controller.
 
   "#address-cells":
     const: 1