Lines Matching +full:0 +full:- +full:pwrkey
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinod Koul <[email protected]>
13 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
14 and resin along with the Android reboot-mode.
16 This DT node has pwrkey and resin as sub nodes.
21 - qcom,pm8916-pon
22 - qcom,pm8941-pon
23 - qcom,pms405-pon
24 - qcom,pm8998-pon
25 - qcom,pmk8350-pon
29 Specifies the SPMI base address for the PON (power-on) peripheral. For
37 reg-names:
41 pwrkey:
43 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
47 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
51 $ref: /schemas/watchdog/qcom,pm8916-wdt.yaml
54 - compatible
55 - reg
58 "^mode-.*$":
64 - if:
69 - qcom,pm8916-pon
70 - qcom,pms405-pon
71 - qcom,pm8998-pon
74 - $ref: reboot-mode.yaml#
79 reg-names:
81 - const: pon
84 "^mode-.*$": false
87 - if:
91 const: qcom,pm8941-pon
96 reg-names:
98 - const: pon
100 - if:
104 const: qcom,pmk8350-pon
110 reg-names:
113 - const: hlos
114 - const: pbs
117 - |
118 #include <dt-bindings/interrupt-controller/irq.h>
119 #include <dt-bindings/input/linux-event-codes.h>
120 #include <dt-bindings/spmi/spmi.h>
123 reg = <0x0c440000 0x1100>;
124 #address-cells = <2>;
125 #size-cells = <0>;
127 pmic@0 {
128 reg = <0x0 SPMI_USID>;
129 #address-cells = <1>;
130 #size-cells = <0>;
133 compatible = "qcom,pm8998-pon";
134 reg = <0x800>;
136 pwrkey {
137 compatible = "qcom,pm8941-pwrkey";
138 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
140 bias-pull-up;
145 compatible = "qcom,pm8941-resin";
146 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
148 bias-pull-up;