diff mbox series

[v6,1/2] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add reset binding

Message ID 20211018085754.1066056-2-horatiu.vultur@microchip.com (mailing list archive)
State New, archived
Headers show
Series pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver | expand

Commit Message

Horatiu Vultur Oct. 18, 2021, 8:57 a.m. UTC
This describes the new binding which allows to call a reset driver from
the pinctrl-microchip-sgpio driver.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
 .../bindings/pinctrl/microchip,sparx5-sgpio.yaml           | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rob Herring Oct. 18, 2021, 4:51 p.m. UTC | #1
On Mon, 18 Oct 2021 10:57:53 +0200, Horatiu Vultur wrote:
> This describes the new binding which allows to call a reset driver from
> the pinctrl-microchip-sgpio driver.
> 
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
> ---
>  .../bindings/pinctrl/microchip,sparx5-sgpio.yaml           | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml b/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml
index 4fe35e650909..cb554084bdf1 100644
--- a/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml
@@ -68,6 +68,13 @@  properties:
       clock, and larger than zero.
     default: 12500000
 
+  resets:
+    maxItems: 1
+
+  reset-names:
+    items:
+      - const: switch
+
 patternProperties:
   "^gpio@[0-1]$":
     type: object