Lines Matching +full:sensor +full:- +full:channel
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 <[email protected]>
11 $ref: thermal-sensor.yaml#
15 const: qcom,spmi-adc-tm-hc
23 "#thermal-sensor-cells":
26 "#address-cells":
29 "#size-cells":
32 qcom,avg-samples:
36 - 1
37 - 2
38 - 4
39 - 8
40 - 16
48 - 256
49 - 512
50 - 1024
54 "^([-a-z0-9]*)@[0-7]$":
57 Represent one thermal sensor.
61 description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
65 io-channels:
67 From common IIO binding. Used to pipe PMIC ADC channel to thermal monitor
72 Channel calibration type.
74 (1.875V) and GND for channel calibration. If property is not found,
75 channel will be calibrated with 0V and 1.25V reference channels,
78 qcom,hw-settle-time-us:
82 qcom,pre-scaling:
83 $ref: /schemas/types.yaml#/definitions/uint32-array
84 description: Used for scaling the channel input signal before the
86 pre-determined ratio and use it for post scaling. It is a pair of
92 - const: 1
93 - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
96 - reg
97 - io-channels
103 - compatible
104 - reg
105 - interrupts
106 - "#address-cells"
107 - "#size-cells"
112 - |
113 #include <dt-bindings/iio/qcom,spmi-vadc.h>
114 #include <dt-bindings/interrupt-controller/irq.h>
117 #address-cells = <1>;
118 #size-cells = <0>;
121 compatible = "qcom,spmi-adc-rev2";
123 #address-cells = <1>;
124 #size-cells = <0>;
125 #io-channel-cells = <1>;
128 channel@4c {
133 adc-tm@3400 {
134 compatible = "qcom,spmi-adc-tm-hc";
137 #thermal-sensor-cells = <1>;
138 #address-cells = <1>;
139 #size-cells = <0>;
143 io-channels = <&pm8998_adc ADC5_XO_THERM_100K_PU>;
145 qcom,hw-settle-time-us = <200>;