Path: blob/main/sys/contrib/device-tree/Bindings/extcon/qcom,pm8941-misc.txt
48375 views
Qualcomm's PM8941 USB ID Extcon device12Some Qualcomm PMICs have a "misc" module that can be used to detect when3the USB ID pin has been pulled low or high.45PROPERTIES67- compatible:8Usage: required9Value type: <string>10Definition: Should contain "qcom,pm8941-misc";1112- reg:13Usage: required14Value type: <u32>15Definition: Should contain the offset to the misc address space1617- interrupts:18Usage: required19Value type: <prop-encoded-array>20Definition: Should contain the usb id interrupt2122- interrupt-names:23Usage: required24Value type: <stringlist>25Definition: Should contain the string "usb_id" for the usb id interrupt2627Example:2829pmic {30usb_id: misc@900 {31compatible = "qcom,pm8941-misc";32reg = <0x900>;33interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>;34interrupt-names = "usb_id";35};36}3738usb-controller {39extcon = <&usb_id>;40};414243