Lines Matching +full:down +full:- +full:scaling
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 const: qcom,spmi-adc-tm-hc
21 "#thermal-sensor-cells":
27 "#address-cells":
30 "#size-cells":
33 qcom,avg-samples:
37 - 1
38 - 2
39 - 4
40 - 8
41 - 16
49 - 256
50 - 512
51 - 1024
55 "^([-a-z0-9]*)@[0-7]$":
66 io-channels:
79 qcom,hw-settle-time-us:
83 qcom,pre-scaling:
84 $ref: /schemas/types.yaml#/definitions/uint32-array
85 description: Used for scaling the channel input signal before the
87 pre-determined ratio and use it for post scaling. It is a pair of
90 signal is scaled down to 1/3 of its value before ADC measurement. If
93 - const: 1
94 - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
97 - reg
98 - io-channels
104 - compatible
105 - reg
106 - interrupts
107 - "#address-cells"
108 - "#size-cells"
109 - "#thermal-sensor-cells"
114 - |
115 #include <dt-bindings/iio/qcom,spmi-vadc.h>
116 #include <dt-bindings/interrupt-controller/irq.h>
119 #address-cells = <1>;
120 #size-cells = <0>;
123 compatible = "qcom,spmi-adc-rev2";
125 #address-cells = <1>;
126 #size-cells = <0>;
127 #io-channel-cells = <1>;
135 adc-tm@3400 {
136 compatible = "qcom,spmi-adc-tm-hc";
139 #thermal-sensor-cells = <1>;
140 #address-cells = <1>;
141 #size-cells = <0>;
145 io-channels = <&pm8998_adc ADC5_XO_THERM_100K_PU>;
147 qcom,hw-settle-time-us = <200>;