Lines Matching +full:spmi +full:- +full:adc5
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI PMICs multi-function device
11 to the chip via the SPMI (System Power Management Interface) bus.
13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
16 The Qualcomm SPMI series includes the PM8941, PM8841, PMA8084, PM8998 and other
17 PMICs. These PMICs use a "QPNP" scheme through SPMI interface.
18 QPNP is effectively a partitioning scheme for dividing the SPMI extended
24 - Stephen Boyd <sboyd@kernel.org>
29 - pattern: '^pmic@.*$'
30 - pattern: '^pm(a|s)?[0-9]*@.*$'
35 - enum:
36 - qcom,pm2250
37 - qcom,pm6125
38 - qcom,pm6150
39 - qcom,pm6150l
40 - qcom,pm6350
41 - qcom,pm660
42 - qcom,pm660l
43 - qcom,pm7250b
44 - qcom,pm7550ba
45 - qcom,pm7325
46 - qcom,pm8004
47 - qcom,pm8005
48 - qcom,pm8009
49 - qcom,pm8010
50 - qcom,pm8019
51 - qcom,pm8028
52 - qcom,pm8110
53 - qcom,pm8150
54 - qcom,pm8150b
55 - qcom,pm8150c
56 - qcom,pm8150l
57 - qcom,pm8226
58 - qcom,pm8350
59 - qcom,pm8350b
60 - qcom,pm8350c
61 - qcom,pm8450
62 - qcom,pm8550
63 - qcom,pm8550b
64 - qcom,pm8550ve
65 - qcom,pm8550vs
66 - qcom,pm8841
67 - qcom,pm8909
68 - qcom,pm8916
69 - qcom,pm8937
70 - qcom,pm8941
71 - qcom,pm8950
72 - qcom,pm8953
73 - qcom,pm8994
74 - qcom,pm8998
75 - qcom,pma8084
76 - qcom,pmc8180
77 - qcom,pmc8180c
78 - qcom,pmd9635
79 - qcom,pmi632
80 - qcom,pmi8950
81 - qcom,pmi8962
82 - qcom,pmi8994
83 - qcom,pmi8998
84 - qcom,pmk8002
85 - qcom,pmk8350
86 - qcom,pmk8550
87 - qcom,pmm8155au
88 - qcom,pmm8654au
89 - qcom,pmp8074
90 - qcom,pmr735a
91 - qcom,pmr735b
92 - qcom,pmr735d
93 - qcom,pms405
94 - qcom,pmx55
95 - qcom,pmx65
96 - qcom,pmx75
97 - qcom,smb2351
98 - const: qcom,spmi-pmic
104 '#address-cells':
107 '#size-cells':
112 $ref: /schemas/regulator/qcom-labibb-regulator.yaml#
116 $ref: /schemas/regulator/qcom,spmi-regulator.yaml#
120 $ref: /schemas/leds/leds-qcom-lpg.yaml#
123 "^adc@[0-9a-f]+$":
126 - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml#
127 - $ref: /schemas/iio/adc/qcom,spmi-rradc.yaml#
128 - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
130 "^adc-tm@[0-9a-f]+$":
134 "^audio-codec@[0-9a-f]+$":
136 $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
138 "^battery@[0-9a-f]+$":
141 - $ref: /schemas/power/supply/qcom,pm8916-bms-vm.yaml#
143 "^charger@[0-9a-f]+$":
146 - $ref: /schemas/power/supply/qcom,pm8916-lbc.yaml#
147 - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml#
148 - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml#
149 - $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml#
151 "gpio@[0-9a-f]+$":
153 $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#
155 "^led-controller@[0-9a-f]+$":
157 $ref: /schemas/leds/qcom,spmi-flash-led.yaml#
159 "^nvram@[0-9a-f]+$":
161 $ref: /schemas/nvmem/qcom,spmi-sdam.yaml#
163 "phy@[0-9a-f]+$":
165 $ref: /schemas/phy/qcom,snps-eusb2-repeater.yaml#
167 "pon@[0-9a-f]+$":
171 "^rtc@[0-9a-f]+$":
173 $ref: /schemas/rtc/qcom-pm8xxx-rtc.yaml#
175 "^temp-alarm@[0-9a-f]+$":
177 $ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml#
179 "^typec@[0-9a-f]+$":
181 $ref: /schemas/usb/qcom,pmic-typec.yaml#
183 "^usb-detect@[0-9a-f]+$":
185 $ref: /schemas/extcon/qcom,pm8941-misc.yaml#
187 "^usb-vbus-regulator@[0-9a-f]+$":
189 $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#
191 "^vibrator@[0-9a-f]+$":
193 $ref: /schemas/input/qcom,pm8xxx-vib.yaml#
195 "^mpps@[0-9a-f]+$":
197 $ref: /schemas/pinctrl/qcom,pmic-mpp.yaml#
199 "(.*)?(wled|leds)@[0-9a-f]+$":
201 $ref: /schemas/leds/backlight/qcom-wled.yaml#
205 - compatible
206 - reg
209 - if:
214 - qcom,pm8998
217 "^adc-tm@[0-9a-f]+$":
218 $ref: /schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
221 "^adc-tm@[0-9a-f]+$":
222 $ref: /schemas/thermal/qcom-spmi-adc-tm5.yaml#
227 - |
228 #include <dt-bindings/spmi/spmi.h>
229 #include <dt-bindings/interrupt-controller/irq.h>
230 #include <dt-bindings/interrupt-controller/arm-gic.h>
232 spmi@c440000 {
233 compatible = "qcom,spmi-pmic-arb";
239 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
240 interrupt-names = "periph_irq";
244 #address-cells = <2>;
245 #size-cells = <0>;
246 interrupt-controller;
247 #interrupt-cells = <4>;
250 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
252 #address-cells = <1>;
253 #size-cells = <0>;
256 compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
258 gpio-controller;
259 gpio-ranges = <&pmi8998_gpio 0 0 14>;
260 #gpio-cells = <2>;
261 interrupt-controller;
262 #interrupt-cells = <2>;
267 - |
268 #include <dt-bindings/input/input.h>
269 #include <dt-bindings/interrupt-controller/irq.h>
270 #include <dt-bindings/interrupt-controller/arm-gic.h>
271 #include <dt-bindings/iio/qcom,spmi-vadc.h>
272 #include <dt-bindings/spmi/spmi.h>
275 compatible = "qcom,pm6150", "qcom,spmi-pmic";
277 #address-cells = <1>;
278 #size-cells = <0>;
281 compatible = "qcom,pm8998-pon";
283 mode-bootloader = <0x2>;
284 mode-recovery = <0x1>;
287 compatible = "qcom,pm8941-pwrkey";
290 bias-pull-up;
295 temp-alarm@2400 {
296 compatible = "qcom,spmi-temp-alarm";
299 io-channels = <&pm6150_adc ADC5_DIE_TEMP>;
300 io-channel-names = "thermal";
301 #thermal-sensor-cells = <0>;
305 compatible = "qcom,spmi-adc5";
308 #address-cells = <1>;
309 #size-cells = <0>;
310 #io-channel-cells = <1>;
320 qcom,hw-settle-time = <200>;
324 adc-tm@3500 {
325 compatible = "qcom,spmi-adc-tm5";
328 #thermal-sensor-cells = <1>;
329 #address-cells = <1>;
330 #size-cells = <0>;
332 charger-thermistor@0 {
334 io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
336 qcom,hw-settle-time-us = <200>;
341 compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
343 gpio-controller;
344 gpio-ranges = <&pm6150_gpio 0 0 10>;
345 #gpio-cells = <2>;
346 interrupt-controller;
347 #interrupt-cells = <2>;