ACPI: EC: Rework flushing of pending work
[linux/fpc-iii.git] / Documentation / devicetree / bindings / extcon / qcom,pm8941-misc.txt
blob35383adb10f16abd054c2e599fea2fd40b69764f
1 Qualcomm's PM8941 USB ID Extcon device
3 Some Qualcomm PMICs have a "misc" module that can be used to detect when
4 the USB ID pin has been pulled low or high.
6 PROPERTIES
8 - compatible:
9     Usage: required
10     Value type: <string>
11     Definition: Should contain "qcom,pm8941-misc";
13 - reg:
14     Usage: required
15     Value type: <u32>
16     Definition: Should contain the offset to the misc address space
18 - interrupts:
19     Usage: required
20     Value type: <prop-encoded-array>
21     Definition: Should contain the usb id interrupt
23 - interrupt-names:
24     Usage: required
25     Value type: <stringlist>
26     Definition: Should contain the string "usb_id" for the usb id interrupt
28 Example:
30         pmic {
31                 usb_id: misc@900 {
32                         compatible = "qcom,pm8941-misc";
33                         reg = <0x900>;
34                         interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>;
35                         interrupt-names = "usb_id";
36                 };
37         }
39         usb-controller {
40                 extcon = <&usb_id>;
41         };