diff mbox series

[v2,1/2] dt-bindings: pinctrl: cypress,cy8c95x0: Add reset pin

Message ID 20230712085236.2496651-1-Naresh.Solanki@9elements.com
State New
Headers show
Series [v2,1/2] dt-bindings: pinctrl: cypress,cy8c95x0: Add reset pin | expand

Commit Message

Naresh Solanki July 12, 2023, 8:52 a.m. UTC
From: Patrick Rudolph <patrick.rudolph@9elements.com>

This patch adds support for an optional reset pin.

The reset pin is used to bring the chip into a known state and has an
internal pull-down, allowing it to be left floating if not needed.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
---
Changes in V2:
- Update subject
- Update reset-gpios description.
---
 .../devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml         | 4 ++++
 1 file changed, 4 insertions(+)


base-commit: 3bc551a3007a751a53bfba5b37fa16157f4fb861

Comments

Krzysztof Kozlowski July 12, 2023, 12:16 p.m. UTC | #1
On 12/07/2023 10:52, Naresh Solanki wrote:
> From: Patrick Rudolph <patrick.rudolph@9elements.com>
> 
> This patch adds support for an optional reset pin.
> 
> The reset pin is used to bring the chip into a known state and has an
> internal pull-down, allowing it to be left floating if not needed.
> 
> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
> ---
> Changes in V2:
> - Update subject
> - Update reset-gpios description.
> ---
>  .../devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml         | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
> index 222d57541b65..2fa22160336f 100644
> --- a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
> @@ -51,6 +51,10 @@ properties:
>      description:
>        Optional power supply.
>  
> +  reset-gpios:
> +    description: Reference to the GPIO connected to the XRES pin

I asked you to remove redundant part...

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
index 222d57541b65..2fa22160336f 100644
--- a/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml
@@ -51,6 +51,10 @@  properties:
     description:
       Optional power supply.
 
+  reset-gpios:
+    description: Reference to the GPIO connected to the XRES pin
+    maxItems: 1
+
 patternProperties:
   '-pins$':
     type: object