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";
85 chg_otg: otg-vbus { };
88 pm8226_temp: temp-alarm@2400 {
89 compatible = "qcom,spmi-temp-alarm";
90 reg = <0x2400>;
91 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
92 io-channels = <&pm8226_vadc VADC_DIE_TEMP>;
93 io-channel-names = "thermal";
94 #thermal-sensor-cells = <0>;
98 compatible = "qcom,spmi-vadc";
99 reg = <0x3100>;
100 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
101 #address-cells = <1>;
102 #size-cells = <0>;
103 #io-channel-cells = <1>;
107 qcom,pre-scaling = <1 3>;
131 compatible = "qcom,pm8226-iadc", "qcom,spmi-iadc";
132 reg = <0x3600>;
133 interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
137 compatible = "qcom,pm8941-rtc";
138 reg = <0x6000>, <0x6100>;
139 reg-names = "rtc", "alarm";
140 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
144 compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp";
145 reg = <0xa000>;
146 gpio-controller;
147 #gpio-cells = <2>;
148 gpio-ranges = <&pm8226_mpps 0 0 8>;
149 interrupt-controller;
150 #interrupt-cells = <2>;
154 compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio";
155 reg = <0xc000>;
156 gpio-controller;
157 #gpio-cells = <2>;
158 gpio-ranges = <&pm8226_gpios 0 0 8>;
159 interrupt-controller;
160 #interrupt-cells = <2>;
165 compatible = "qcom,pm8226", "qcom,spmi-pmic";
166 reg = <0x1 SPMI_USID>;
167 #address-cells = <1>;
168 #size-cells = <0>;
171 compatible = "qcom,pm8226-regulators";
175 compatible = "qcom,pm8916-vib";
176 reg = <0xc000>;