Lines Matching +full:two +full:- +full:channel
8 - compatible: should be one of:
9 "qcom,pm8018-adc"
10 "qcom,pm8038-adc"
11 "qcom,pm8058-adc"
12 "qcom,pm8921-adc"
14 - reg: should contain the ADC base address in the PMIC, typically
17 - xoadc-ref-supply: should reference a regulator that can supply
22 iio-bindings.txt for more details, but notice that this particular
23 ADC has a special addressing scheme that require two cells for
24 identifying each ADC channel:
26 - #address-cells: should be set to <2>, the first cell is the
27 prescaler (on PM8058) or premux (on PM8921) with two valid bits
31 channel on all systems.
33 - #size-cells: should be set to <0>
35 - #io-channel-cells: should be set to <2>, again the cells are
38 - interrupts: should refer to the parent PMIC interrupt controller
48 adc-channel@c {
52 adc-channel@d {
56 adc-channel@f {
68 Required channel node properties:
70 - reg: should contain the hardware channel number in the range
73 Optional channel node properties:
75 - qcom,decimation:
82 - qcom,ratiometric:
84 Definition: Channel calibration type. If this property is specified
85 VADC will use a special voltage references for channel
91 If the property is not found, the channel will be
105 compatible = "qcom,pm8058-adc";
107 interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
108 #address-cells = <2>;
109 #size-cells = <0>;
110 #io-channel-cells = <2>;
112 vcoin: adc-channel@0 {
115 vbat: adc-channel@1 {
118 dcin: adc-channel@2 {
121 ichg: adc-channel@3 {
124 vph_pwr: adc-channel@4 {
127 usb_vbus: adc-channel@a {
130 die_temp: adc-channel@b {
133 ref_625mv: adc-channel@c {
136 ref_1250mv: adc-channel@d {
139 ref_325mv: adc-channel@e {
142 ref_muxoff: adc-channel@f {
148 iio-hwmon {
149 compatible = "iio-hwmon";
150 io-channels = <&xoadc 0x00 0x01>, /* Battery */