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: 79a31ce03f ("dt-bindings: extcon: convert extcon-usb-gpio.txt to yaml format")
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/lkml/20250904-yaml-extcon-usb-gpio-v2-1-a5c4afa496c3@ixit.cz/
This commit is contained in:
David Heidelberg 2025-09-04 22:41:44 +02:00 committed by Chanwoo Choi
parent 958bb5a279
commit 94d885eb8f
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ properties:
required:
- compatible
anyOf:
- required:
- id-gpios
- required:
- vbus-gpios
additionalProperties: false
examples: