Skip to content

Commit 94d885e

Browse files
okiaschanwoochoi
authored andcommitted
dt-bindings: extcon: linux,extcon-usb-gpio: GPIO must be provided
Without providing either ID or VBUS GPIO the driver is not able to operate. Original text binding says: "Either one of id-gpio or vbus-gpio must be present." Fixes: 79a31ce ("dt-bindings: extcon: convert extcon-usb-gpio.txt to yaml format") Acked-by: Conor Dooley <[email protected]> Signed-off-by: David Heidelberg <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/
1 parent 958bb5a commit 94d885e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ properties:
2525
required:
2626
- compatible
2727

28+
anyOf:
29+
- required:
30+
- id-gpios
31+
- required:
32+
- vbus-gpios
33+
2834
additionalProperties: false
2935

3036
examples:

0 commit comments

Comments
 (0)