Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bdfa439 authored by AKASH KUMAR's avatar AKASH KUMAR
Browse files

dt-bindings: usb: Add genoa extcon notifier driver description

Add support 'qcom,genoa-extcon' DT compatible string which when
enabled helps probing genoa extcon driver to enable switch
and provides usb mode switch feature.

Change-Id: Ie0ad1bbd37e2878ecf223fc168abec007d0139b7
parent fc21eb5a
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
QCOM VBUS GENOA EXTCON driver

Required properties:

 - compatible		: must be "qcom,genoa-extcon"
 - genoa_vbus_det	: Should specify GPIO for vbus detection.
 - genoa_usb_id		: Should specify GPIO for USB ID.
 - genoa_usb_oe_n	: Should specify GPIO for switch enable/disable.

Example:

	genoa: qcom,genoa-extcon {
		compatible = "qcom,genoa-extcon";
		genoa_vbus_det = <&tlmm 19 0x00>;
		genoa_usb_id = <&tlmm 111 0x00>;
		genoa_usb_oe_n = <&tlmm 24 GPIO_ACTIVE_LOW>;
		status = "ok";
	};