dt-bindings: i2c: uniphier: Add resets property

Message ID 20230209014340.17979-1-hayashi.kunihiko@socionext.com
State New
Headers
Series dt-bindings: i2c: uniphier: Add resets property |

Commit Message

Kunihiko Hayashi Feb. 9, 2023, 1:43 a.m. UTC
  UniPhier I2C controller allows reset control support.
Add resets property to the controller as optional.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 .../devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml       | 3 +++
 .../devicetree/bindings/i2c/socionext,uniphier-i2c.yaml        | 3 +++
 2 files changed, 6 insertions(+)
  

Comments

Krzysztof Kozlowski Feb. 9, 2023, 8:59 a.m. UTC | #1
On 09/02/2023 02:43, Kunihiko Hayashi wrote:
> UniPhier I2C controller allows reset control support.
> Add resets property to the controller as optional.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  
Wolfram Sang Feb. 12, 2023, 9:02 p.m. UTC | #2
On Thu, Feb 09, 2023 at 10:43:40AM +0900, Kunihiko Hayashi wrote:
> UniPhier I2C controller allows reset control support.
> Add resets property to the controller as optional.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

Applied to for-next, thanks!
  

Patch

diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
index c76131902b77..4bbe9e775da1 100644
--- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-fi2c.yaml
@@ -29,6 +29,9 @@  properties:
     minimum: 100000
     maximum: 400000
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
diff --git a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
index ddde08636ab0..5abf496edb59 100644
--- a/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/socionext,uniphier-i2c.yaml
@@ -29,6 +29,9 @@  properties:
     minimum: 100000
     maximum: 400000
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg