Lines Matching +full:adc +full:- +full:channels +full:- +full:used

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,pm8018-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Qualcomm PM8xxx PMICs contain a HK/XO ADC (Housekeeping/Crystal
14 oscillator ADC) encompassing PM8018, PM8038, PM8058 and PM8921.
19 - qcom,pm8018-adc
20 - qcom,pm8038-adc
21 - qcom,pm8058-adc
22 - qcom,pm8921-adc
27 ADC base address in the PMIC, typically 0x197.
29 xoadc-ref-supply:
37 "#address-cells":
46 "#size-cells":
49 "#io-channel-cells":
57 - compatible
58 - reg
59 - "#io-channel-cells"
60 - "#address-cells"
61 - "#size-cells"
62 - adc-channel@c
63 - adc-channel@d
64 - adc-channel@f
67 "^(adc-channel@)[0-9a-f]$":
70 ADC channel specific configuration.
71 Note that channels c, d and f must be present for calibration.
72 These three nodes are used for absolute and ratiometric calibration
84 This parameter is used to decrease the ADC sampling rate.
87 If the property is not found, a default value of 512 will be used.
100 calibrated with the 0.625V and 1.25V reference channels, also
114 - reg
117 - |
118 #include <dt-bindings/interrupt-controller/irq.h>
120 #address-cells = <1>;
121 #size-cells = <0>;
123 adc@197 {
124 compatible = "qcom,pm8058-adc";
126 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
127 #address-cells = <2>;
128 #size-cells = <0>;
129 #io-channel-cells = <2>;
131 vcoin: adc-channel@0 {
134 vbat: adc-channel@1 {
137 dcin: adc-channel@2 {
140 ichg: adc-channel@3 {
143 vph_pwr: adc-channel@4 {
146 usb_vbus: adc-channel@a {
149 die_temp: adc-channel@b {
152 ref_625mv: adc-channel@c {
155 ref_1250mv: adc-channel@d {
158 ref_325mv: adc-channel@e {
161 ref_muxoff: adc-channel@f {