Lines Matching +full:usb +full:- +full:detect
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. PM8941 USB ID Extcon device
10 - Guru Das Srinagesh <quic_gurus@quicinc.com>
13 Some Qualcomm PMICs have a "misc" module that can be used to detect when
14 the USB ID pin has been pulled low or high.
19 - const: qcom,pm8941-misc
28 interrupt-names:
31 - items:
32 - const: usb_id
33 - const: usb_vbus
34 - items:
35 - const: usb_id
36 - items:
37 - const: usb_vbus
39 - compatible
40 - reg
41 - interrupts
42 - interrupt-names
47 - |
48 #include <dt-bindings/interrupt-controller/irq.h>
51 #address-cells = <1>;
52 #size-cells = <0>;
53 interrupt-controller;
54 #interrupt-cells = <4>;
56 usb_id: usb-detect@900 {
57 compatible = "qcom,pm8941-misc";
60 interrupt-names = "usb_id";
64 usb-controller {