1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PM8921 PMIC Power Key
10 - Bjorn Andersson <andersson@kernel.org>
24 - const: qcom,pm8921-pwrkey
31 - description: key release
32 - description: key press
36 Time in microseconds that key must be pressed or
37 released for state change interrupt to trigger.
38 $ref: /schemas/types.yaml#/definitions/uint32
42 Presence of this property indicates that the KPDPWR_N
43 pin should be configured for pull up.
44 $ref: /schemas/types.yaml#/definitions/flag
51 unevaluatedProperties: false
55 #include <dt-bindings/interrupt-controller/irq.h>
66 compatible = "qcom,pm8921-pwrkey";
68 interrupt-parent = <&pmicint>;
69 interrupts = <50 IRQ_TYPE_EDGE_RISING>, <51 IRQ_TYPE_EDGE_RISING>;