Lines Matching +full:reg +full:- +full:property
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:
26 Definition: Must be one. Child node 'reg' property should define ADC
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
67 512, 1024, 2048, 4096. If property is not found, default value
69 - For compatible property "qcom,spmi-adc5", valid values are 250, 420
70 and 840. If property is not found, default value of 840 is used.
71 - For compatible property "qcom,spmi-adc-rev2", valid values are 256,
72 512 and 1024. If property is not present, default value is 1024.
74 - qcom,pre-scaling:
79 pre-determined ratio and use it for post scaling. Select one from
82 If property is not found default value depending on chip will be used.
84 - qcom,ratiometric:
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",
94 if this property is specified VADC will use the VDD reference
95 (1.875V) and GND for channel calibration. If property is not found,
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
129 If property is not found, 1 sample will be used.
130 - For compatible property "qcom,spmi-adc5" and "qcom,spmi-adc-rev2",
132 If property is not found, 1 sample will be used.
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";
151 reg = <0x3100>;
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 {
160 reg = <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";