[PATCH] dt-bindings: i2c: realtek,rtl9301: Fix missing 'reg' constraint

Krzysztof Kozlowski posted 1 patch 3 months, 1 week ago
Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] dt-bindings: i2c: realtek,rtl9301: Fix missing 'reg' constraint
Posted by Krzysztof Kozlowski 3 months, 1 week ago
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>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.43.0
Re: [PATCH] dt-bindings: i2c: realtek,rtl9301: Fix missing 'reg' constraint
Posted by Andi Shyti 3 months, 1 week ago
Hi Krzysztof,

On Wed, Jul 02, 2025 at 08:15:31AM +0200, Krzysztof Kozlowski wrote:
> 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>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

merged to i2c/i2c-host-fixes.

Thanks,
Andi