Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 79a31ce03f41 ("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/

authored by

David Heidelberg and committed by
Chanwoo Choi
94d885eb 958bb5a2

+6
+6
Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml
··· 25 25 required: 26 26 - compatible 27 27 28 + anyOf: 29 + - required: 30 + - id-gpios 31 + - required: 32 + - vbus-gpios 33 + 28 34 additionalProperties: false 29 35 30 36 examples: