diff mbox series

[v2] dt-bindings: usb: vialab,vl817: remove reset-gpios from required list

Message ID 20231018150448.1980-1-jszhang@kernel.org (mailing list archive)
State Accepted
Commit 4936eb7567c3e44065979e1036ba3c018dd6b9a1
Headers show
Series [v2] dt-bindings: usb: vialab,vl817: remove reset-gpios from required list | expand

Commit Message

Jisheng Zhang Oct. 18, 2023, 3:04 p.m. UTC
The "reset-gpios" is optional in real case, for example reset pin is
is hard wired to "high". And this fact is also reflected by the
devm_gpio_get_optional() calling in driver code.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---

since v1:
 - remove th1520 usb dt-binding part, this isn't related.

 Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 1 -
 1 file changed, 1 deletion(-)

Comments

Conor Dooley Oct. 18, 2023, 3:47 p.m. UTC | #1
On Wed, Oct 18, 2023 at 11:04:48PM +0800, Jisheng Zhang wrote:
> The "reset-gpios" is optional in real case, for example reset pin is
> is hard wired to "high". And this fact is also reflected by the
> devm_gpio_get_optional() calling in driver code.
> 
> Signed-off-by: Jisheng Zhang <jszhang@kernel.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
> 
> since v1:
>  - remove th1520 usb dt-binding part, this isn't related.
> 
>  Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
> index 76db9071b352..c815010ba9c2 100644
> --- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
> +++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
> @@ -37,7 +37,6 @@ properties:
>  required:
>    - compatible
>    - reg
> -  - reset-gpios
>    - vdd-supply
>    - peer-hub
>  
> -- 
> 2.40.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index 76db9071b352..c815010ba9c2 100644
--- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
+++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
@@ -37,7 +37,6 @@  properties:
 required:
   - compatible
   - reg
-  - reset-gpios
   - vdd-supply
   - peer-hub