Lines Matching +full:pmic +full:- +full:mpp
1 // SPDX-License-Identifier: GPL-2.0
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 pm8916-thermal {
10 polling-delay-passive = <100>;
12 thermal-sensors = <&pm8916_temp>;
38 pm8916_0: pmic@0 {
39 compatible = "qcom,pm8916", "qcom,spmi-pmic";
41 #address-cells = <1>;
42 #size-cells = <0>;
45 compatible = "qcom,pm8916-pon";
47 mode-bootloader = <0x2>;
48 mode-recovery = <0x1>;
51 compatible = "qcom,pm8941-pwrkey";
54 bias-pull-up;
59 compatible = "qcom,pm8941-resin";
62 bias-pull-up;
67 compatible = "qcom,pm8916-wdt";
69 timeout-sec = <60>;
74 compatible = "qcom,pm8916-lbc";
76 reg-names = "chgr", "bat_if", "usb", "misc";
88 interrupt-names = "vbat_det",
102 pm8916_usbin: usb-detect@1300 {
103 compatible = "qcom,pm8941-misc";
106 interrupt-names = "usb_vbus";
110 pm8916_temp: temp-alarm@2400 {
111 compatible = "qcom,spmi-temp-alarm";
114 io-channels = <&pm8916_vadc VADC_DIE_TEMP>;
115 io-channel-names = "thermal";
116 #thermal-sensor-cells = <0>;
120 compatible = "qcom,spmi-vadc";
123 #address-cells = <1>;
124 #size-cells = <0>;
125 #io-channel-cells = <1>;
129 qcom,pre-scaling = <1 10>;
133 qcom,pre-scaling = <1 3>;
153 compatible = "qcom,pm8916-bms-vm";
161 interrupt-names = "cv_leave",
172 compatible = "qcom,pm8941-rtc";
174 reg-names = "rtc", "alarm";
179 compatible = "qcom,pm8916-mpp", "qcom,spmi-mpp";
181 gpio-controller;
182 #gpio-cells = <2>;
183 gpio-ranges = <&pm8916_mpps 0 0 4>;
184 interrupt-controller;
185 #interrupt-cells = <2>;
189 compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio";
191 gpio-controller;
192 gpio-ranges = <&pm8916_gpios 0 0 4>;
193 #gpio-cells = <2>;
194 interrupt-controller;
195 #interrupt-cells = <2>;
199 pm8916_1: pmic@1 {
200 compatible = "qcom,pm8916", "qcom,spmi-pmic";
202 #address-cells = <1>;
203 #size-cells = <0>;
206 compatible = "qcom,pm8916-pwm";
208 #pwm-cells = <2>;
214 compatible = "qcom,pm8916-vib";
219 pm8916_codec: audio-codec@f000 {
220 compatible = "qcom,pm8916-wcd-analog-codec";
222 interrupt-parent = <&spmi_bus>;
237 interrupt-names = "cdc_spk_cnp_int",
251 #sound-dai-cells = <1>;