Lines Matching +full:regulator +full:- +full:min +full:- +full:microamp
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MT6370 is a highly-integrated smart power management IC, which includes a
14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
26 wakeup-source: true
31 interrupt-controller: true
33 "#interrupt-cells":
45 const: mediatek,mt6370-adc
47 "#io-channel-cells":
51 - compatible
52 - "#io-channel-cells"
56 $ref: /schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
60 $ref: /schemas/power/supply/mediatek,mt6370-charger.yaml#
64 $ref: /schemas/usb/mediatek,mt6370-tcpc.yaml#
68 $ref: /schemas/leds/mediatek,mt6370-indicator.yaml#
72 $ref: /schemas/leds/mediatek,mt6370-flashlight.yaml#
83 $ref: /schemas/regulator/regulator.yaml#
88 $ref: /schemas/regulator/regulator.yaml#
93 enable-gpios:
97 - compatible
98 - reg
99 - interrupts
100 - interrupt-controller
101 - "#interrupt-cells"
102 - regulators
103 - adc
104 - backlight
105 - indicator
106 - tcpc
107 - charger
108 - flashlight
113 - |
114 #include <dt-bindings/interrupt-controller/irq.h>
115 #include <dt-bindings/leds/common.h>
116 #include <dt-bindings/iio/adc/mediatek,mt6370_adc.h>
117 #include <dt-bindings/usb/pd.h>
119 #address-cells = <1>;
120 #size-cells = <0>;
125 wakeup-source;
126 interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
127 interrupt-controller;
128 #interrupt-cells = <1>;
131 compatible = "mediatek,mt6370-adc";
132 #io-channel-cells = <1>;
136 compatible = "mediatek,mt6370-backlight";
137 mediatek,bled-channel-use = /bits/ 8 <15>;
141 compatible = "mediatek,mt6370-charger";
143 interrupt-names = "uvp_d_evt", "attach_i", "mivr";
144 io-channels = <&mt6370_adc MT6370_CHAN_IBUS>;
146 mt6370_otg_vbus: usb-otg-vbus-regulator {
147 regulator-name = "mt6370-usb-otg-vbus";
148 regulator-min-microvolt = <4350000>;
149 regulator-max-microvolt = <5800000>;
150 regulator-min-microamp = <500000>;
151 regulator-max-microamp = <3000000>;
156 compatible = "mediatek,mt6370-indicator";
157 #address-cells = <1>;
158 #size-cells = <0>;
160 multi-led@0 {
164 led-max-microamp = <24000>;
165 #address-cells = <1>;
166 #size-cells = <0>;
184 led-max-microamp = <6000>;
189 compatible = "mediatek,mt6370-flashlight";
190 #address-cells = <1>;
191 #size-cells = <0>;
194 led-sources = <0>;
197 function-enumerator = <1>;
198 led-max-microamp = <200000>;
199 flash-max-microamp = <500000>;
200 flash-max-timeout-us = <1248000>;
204 led-sources = <1>;
207 function-enumerator = <2>;
208 led-max-microamp = <200000>;
209 flash-max-microamp = <500000>;
210 flash-max-timeout-us = <1248000>;
215 compatible = "mediatek,mt6370-tcpc";
216 interrupts-extended = <&gpio26 4 IRQ_TYPE_LEVEL_LOW>;
219 compatible = "usb-c-connector";
220 label = "USB-C";
221 vbus-supply = <&mt6370_otg_vbus>;
222 data-role = "dual";
223 power-role = "dual";
224 try-power-role = "sink";
225 source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
226 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
227 op-sink-microwatt = <10000000>;
230 #address-cells = <1>;
231 #size-cells = <0>;
236 remote-endpoint = <&usb_hs>;
242 remote-endpoint = <&usb_ss>;
248 remote-endpoint = <&dp_aux>;
257 regulator-name = "mt6370-dsv-vbst";
258 regulator-min-microvolt = <4000000>;
259 regulator-max-microvolt = <6200000>;
262 regulator-name = "mt6370-dsv-vpos";
263 regulator-min-microvolt = <4000000>;
264 regulator-max-microvolt = <6000000>;
265 regulator-boot-on;
268 regulator-name = "mt6370-dsv-vneg";
269 regulator-min-microvolt = <4000000>;
270 regulator-max-microvolt = <6000000>;
271 regulator-boot-on;
274 regulator-name = "mt6370-vib-ldo";
275 regulator-min-microvolt = <1600000>;
276 regulator-max-microvolt = <4000000>;