Lines Matching +full:spmi +full:- +full:adc5
1 Qualcomm's SPMI PMIC ADC
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>
21 Definition: VADC base address in the SPMI PMIC register map.
23 - #address-cells:
29 - #size-cells:
34 - #io-channel-cells:
38 Documentation/devicetree/bindings/iio/iio-bindings.txt
40 - interrupts:
42 Value type: <prop-encoded-array>
47 - reg:
51 See include/dt-bindings/iio/qcom,spmi-vadc.h
53 - label:
54 Usage: required for "qcom,spmi-adc5" and "qcom,spmi-adc-rev2"
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:
79 pre-determined ratio and use it for post scaling. Select one from
84 - qcom,ratiometric:
88 - For compatible property "qcom,spmi-vadc", if this property is
93 - For compatible property "qcom,spmi-adc5" and "qcom,spmi-adc-rev2",
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.
111 - For compatible property "qcom,spmi-adc5", delay = 15us for
113 and 2ms * (value - 10) otherwise.
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
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;
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";