Lines Matching +full:pre +full:- +full:scaling
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Watchdog Timer
15 - GPIO
16 - Pushbutton controller
17 - Hardware monitor with ADC's for temperature and voltage rails and
21 - Tim Harvey <tharvey@gateworks.com>
25 pattern: "gsc@[0-9a-f]{1,2}"
36 interrupt-controller: true
38 "#interrupt-cells":
41 "#address-cells":
44 "#size-cells":
54 const: gw,gsc-adc
56 "#address-cells":
59 "#size-cells":
63 "^channel@[0-9a-f]+$":
69 (i.e. voltage rail with a pre-scaling resistor divider).
82 0 - temperature, in C*10
83 1 - pre-scaled 24-bit voltage value
84 2 - scaled voltage based on an optional resistor divider
86 3 - pre-scaled 16-bit voltage value
87 4 - fan tach input to report RPM's
91 gw,voltage-divider-ohms:
98 gw,voltage-offset-microvolt:
106 - gw,mode
107 - reg
108 - label
111 - compatible
112 - "#address-cells"
113 - "#size-cells"
116 "^fan-controller@[0-9a-f]+$":
123 const: gw,gsc-fan
125 "#address-cells":
128 "#size-cells":
136 - compatible
137 - reg
138 - "#address-cells"
139 - "#size-cells"
142 - compatible
143 - reg
144 - interrupts
145 - interrupt-controller
146 - "#interrupt-cells"
147 - "#address-cells"
148 - "#size-cells"
153 - |
154 #include <dt-bindings/gpio/gpio.h>
155 #include <dt-bindings/interrupt-controller/irq.h>
157 #address-cells = <1>;
158 #size-cells = <0>;
163 interrupt-parent = <&gpio1>;
165 interrupt-controller;
166 #interrupt-cells = <1>;
167 #address-cells = <1>;
168 #size-cells = <0>;
171 compatible = "gw,gsc-adc";
172 #address-cells = <1>;
173 #size-cells = <0>;
185 gw,voltage-divider-ohms = <22100 1000>;
186 gw,voltage-offset-microvolt = <800000>;
196 fan-controller@2c {
197 #address-cells = <1>;
198 #size-cells = <0>;
199 compatible = "gw,gsc-fan";