[PATCH 03/11] dt-bindings: extcon: ptn5150: Make 'vbus-gpios' optional

Krzysztof Kozlowski
2020-08-12T16:30:13Z

The PTN5150 chip can be used in hardware designs with only reporting of
USB Type-C connection, without the VBUS control.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
index 1ddc97db3e61..4b0f414486d2 100644
--- a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
+++ b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
@@ -32,13 +32,13 @@ properties:

vbus-gpios:
description:
- GPIO pin (output) used to control VBUS.
+ GPIO pin (output) used to control VBUS. If skipped, no such control
+ takes place.

required:
- compatible
- interrupts
- reg
- - vbus-gpios

additionalProperties: false

--
2.17.1