1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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
44 additionalProperties: false
48 #include <dt-bindings/interrupt-controller/irq.h>
54 #interrupt-cells = <4>;
56 usb_id: usb-detect@900 {
57 compatible = "qcom,pm8941-misc";
59 interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>;
60 interrupt-names = "usb_id";