Lines Matching +full:channel +full:- +full:select

3 - SPMI PMIC voltage ADC (VADC) provides interface to clients to read
4 voltage. The VADC is a 15-bit sigma-delta ADC.
5 - SPMI PMIC5 voltage ADC (ADC) provides interface to clients to read
6 voltage. The VADC is a 16-bit sigma-delta ADC.
10 - compatible:
13 Definition: Should contain "qcom,spmi-vadc".
14 Should contain "qcom,spmi-adc5" for PMIC5 ADC driver.
15 Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC driver.
16 Should contain "qcom,pms405-adc" for PMS405 PMIC
18 - reg:
20 Value type: <prop-encoded-array>
23 - #address-cells:
27 channel number.
29 - #size-cells:
34 - #io-channel-cells:
38 Documentation/devicetree/bindings/iio/iio-bindings.txt
40 - interrupts:
42 Value type: <prop-encoded-array>
45 Channel node properties:
47 - reg:
50 Definition: ADC channel number.
51 See include/dt-bindings/iio/qcom,spmi-vadc.h
53 - label:
54 Usage: required for "qcom,spmi-adc5" and "qcom,spmi-adc-rev2"
58 these can vary across platform for the same pins. Hence select
59 the platform schematics name for this channel.
61 - qcom,decimation:
66 - For compatible property "qcom,spmi-vadc", valid values are
69 - For compatible property "qcom,spmi-adc5", valid values are 250, 420
71 - For compatible property "qcom,spmi-adc-rev2", valid values are 256,
74 - qcom,pre-scaling:
77 Definition: Used for scaling the channel input signal before the signal is
79 pre-determined ratio and use it for post scaling. Select one from
84 - qcom,ratiometric:
87 Definition: Channel calibration type.
88 - For compatible property "qcom,spmi-vadc", if this property is
90 channel calibration. If property is not found, channel will be
93 - For compatible property "qcom,spmi-adc5" and "qcom,spmi-adc-rev2",
95 (1.875V) and GND for channel calibration. If property is not found,
96 channel will be calibrated with 0V and 1.25V reference channels,
99 - qcom,hw-settle-time:
105 - For compatible property "qcom,spmi-vadc" and "qcom,spmi-adc-rev2",
107 and 2ms * (hw_settle_time - 10) otherwise.
110 If property is not found, channel will use 0us.
111 - For compatible property "qcom,spmi-adc5", delay = 15us for
113 and 2ms * (value - 10) otherwise.
118 If property is not found, channel will use 15us.
120 - qcom,avg-samples:
127 - For compatible property "qcom,spmi-vadc", valid values
130 - For compatible property "qcom,spmi-adc5" and "qcom,spmi-adc-rev2",
136 For compatible property "qcom,spmi-vadc" following channels, also known as
137 reference point channels, are used for result calibration and their channel
144 #include <dt-bindings/iio/qcom,spmi-vadc.h>
150 compatible = "qcom,spmi-vadc";
153 #address-cells = <1>;
154 #size-cells = <0>;
155 #io-channel-cells = <1>;
156 io-channel-ranges;
158 /* Channel node */
159 adc-chan@VADC_LR_MUX10_USB_ID {
163 qcom,hw-settle-time = <200>;
164 qcom,avg-samples = <1>;
165 qcom,pre-scaling = <1 3>;
171 io-channels = <&pmic_vadc VADC_LR_MUX10_USB_ID>;
172 io-channel-names = "vadc";