Lines Matching +full:0 +full:- +full:pwrkey

1 // SPDX-License-Identifier: BSD-3-Clause
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/input/linux-event-codes.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/spmi/spmi.h>
8 thermal-zones {
9 pm8226-thermal {
10 polling-delay-passive = <100>;
11 polling-delay = <0>;
12 thermal-sensors = <&pm8226_temp>;
38 pm8226_0: pm8226@0 {
39 compatible = "qcom,pm8226", "qcom,spmi-pmic";
40 reg = <0x0 SPMI_USID>;
41 #address-cells = <1>;
42 #size-cells = <0>;
45 compatible = "qcom,pm8916-pon";
46 reg = <0x800>;
48 pwrkey {
49 compatible = "qcom,pm8941-pwrkey";
50 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
52 bias-pull-up;
57 compatible = "qcom,pm8941-resin";
58 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
60 bias-pull-up;
66 compatible = "qcom,pm8226-charger";
67 reg = <0x1000>;
68 interrupts = <0x0 0x10 7 IRQ_TYPE_EDGE_BOTH>,
69 <0x0 0x10 5 IRQ_TYPE_EDGE_BOTH>,
70 <0x0 0x10 4 IRQ_TYPE_EDGE_BOTH>,
71 <0x0 0x12 1 IRQ_TYPE_EDGE_BOTH>,
72 <0x0 0x12 0 IRQ_TYPE_EDGE_BOTH>,
73 <0x0 0x13 2 IRQ_TYPE_EDGE_BOTH>,
74 <0x0 0x13 1 IRQ_TYPE_EDGE_BOTH>,
75 <0x0 0x14 1 IRQ_TYPE_EDGE_BOTH>;
76 interrupt-names = "chg-done",
77 "chg-fast",
78 "chg-trkl",
79 "bat-temp-ok",
80 "bat-present",
81 "chg-gone",
82 "usb-valid",
83 "dc-valid";
87 chg_otg: otg-vbus { };
90 pm8226_temp: temp-alarm@2400 {
91 compatible = "qcom,spmi-temp-alarm";
92 reg = <0x2400>;
93 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
94 io-channels = <&pm8226_vadc VADC_DIE_TEMP>;
95 io-channel-names = "thermal";
96 #thermal-sensor-cells = <0>;
100 compatible = "qcom,spmi-vadc";
101 reg = <0x3100>;
102 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
103 #address-cells = <1>;
104 #size-cells = <0>;
105 #io-channel-cells = <1>;
109 qcom,pre-scaling = <1 3>;
133 compatible = "qcom,pm8226-iadc", "qcom,spmi-iadc";
134 reg = <0x3600>;
135 interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
139 compatible = "qcom,pm8941-rtc";
140 reg = <0x6000>, <0x6100>;
141 reg-names = "rtc", "alarm";
142 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
146 compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp";
147 reg = <0xa000>;
148 gpio-controller;
149 #gpio-cells = <2>;
150 gpio-ranges = <&pm8226_mpps 0 0 8>;
151 interrupt-controller;
152 #interrupt-cells = <2>;
156 compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio";
157 reg = <0xc000>;
158 gpio-controller;
159 #gpio-cells = <2>;
160 gpio-ranges = <&pm8226_gpios 0 0 8>;
161 interrupt-controller;
162 #interrupt-cells = <2>;
167 compatible = "qcom,pm8226", "qcom,spmi-pmic";
168 reg = <0x1 SPMI_USID>;
169 #address-cells = <1>;
170 #size-cells = <0>;
173 compatible = "qcom,pm8226-regulators";
177 compatible = "qcom,pm8916-vib";
178 reg = <0xc000>;