diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-07-02 08:15:31 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-07-02 17:23:59 +0200 |
commit | 5f05fc6e2218db7ecc52c60eb34b707fe69262c2 (patch) | |
tree | eaefb0737acafecd5021c24e6e570c18a478c0c1 | |
parent | c584c4f264c3bd7c27247688056a5c77907dbb07 (diff) |
dt-bindings: i2c: realtek,rtl9301: Fix missing 'reg' constraint
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
-rw-r--r-- | Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml index eddfd329c67b..69ac5db8b914 100644 --- a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml @@ -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 |