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>
22 - Robert Jones <rjones@gateworks.com>
26 pattern: "gsc@[0-9a-f]{1,2}"
37 interrupt-controller: true
39 "#interrupt-cells":
42 "#address-cells":
45 "#size-cells":
54 const: gw,gsc-adc
56 "#address-cells":
59 "#size-cells":
63 "^channel@[0-9]+$":
68 (i.e. voltage rail with a pre-scaling resistor divider).
81 0 - temperature, in C*10
82 1 - pre-scaled 24-bit voltage value
83 2 - scaled voltage based on an optional resistor divider
85 3 - pre-scaled 16-bit voltage value
89 gw,voltage-divider-ohms:
96 gw,voltage-offset-microvolt:
104 - gw,mode
105 - reg
106 - label
109 - compatible
110 - "#address-cells"
111 - "#size-cells"
114 "^fan-controller@[0-9a-f]+$":
120 const: gw,gsc-fan
122 "#address-cells":
125 "#size-cells":
133 - compatible
134 - reg
135 - "#address-cells"
136 - "#size-cells"
139 - compatible
140 - reg
141 - interrupts
142 - interrupt-controller
143 - "#interrupt-cells"
144 - "#address-cells"
145 - "#size-cells"
150 - |
151 #include <dt-bindings/gpio/gpio.h>
152 #include <dt-bindings/interrupt-controller/irq.h>
154 #address-cells = <1>;
155 #size-cells = <0>;
160 interrupt-parent = <&gpio1>;
162 interrupt-controller;
163 #interrupt-cells = <1>;
164 #address-cells = <1>;
165 #size-cells = <0>;
168 compatible = "gw,gsc-adc";
169 #address-cells = <1>;
170 #size-cells = <0>;
182 gw,voltage-divider-ohms = <22100 1000>;
183 gw,voltage-offset-microvolt = <800000>;
193 fan-controller@2c {
194 #address-cells = <1>;
195 #size-cells = <0>;
196 compatible = "gw,gsc-fan";