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

From: Krzysztof Kozlowski
Date: Mon Aug 17 2020 - 03:03:36 EST


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@xxxxxxxxxx>
---
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