Lines Matching +full:regulator +full:- +full:led
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gene Chen <gene_chen@richtek.com>
25 wakeup-source: true
30 interrupt-names:
33 interrupt-controller: true
35 "#interrupt-cells":
41 $ref: /schemas/regulator/mt6360-regulator.yaml#
47 $ref: /schemas/usb/mediatek,mt6360-tcpc.yaml#
49 led-controller:
50 $ref: /schemas/leds/leds-mt6360.yaml#
53 - compatible
54 - reg
55 - interrupts
56 - interrupt-controller
57 - "#interrupt-cells"
63 - |
64 #include <dt-bindings/interrupt-controller/irq.h>
65 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
66 #include <dt-bindings/leds/common.h>
67 #include <dt-bindings/usb/pd.h>
69 #address-cells = <1>;
70 #size-cells = <0>;
75 wakeup-source;
76 interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
77 interrupt-names = "IRQB";
78 interrupt-controller;
79 #interrupt-cells = <1>;
82 compatible = "mediatek,mt6360-chg";
83 richtek,vinovp-microvolt = <14500000>;
85 otg_vbus_regulator: usb-otg-vbus-regulator {
86 regulator-name = "usb-otg-vbus";
87 regulator-min-microvolt = <4425000>;
88 regulator-max-microvolt = <5825000>;
92 led-controller {
93 compatible = "mediatek,mt6360-led";
94 #address-cells = <1>;
95 #size-cells = <0>;
97 multi-led@0 {
101 led-max-microamp = <24000>;
102 #address-cells = <1>;
103 #size-cells = <0>;
104 led@0 {
108 led@1 {
112 led@2 {
117 led@3 {
121 led-max-microamp = <150000>;
123 led@4 {
127 function-enumerator = <1>;
128 led-max-microamp = <200000>;
129 flash-max-microamp = <500000>;
130 flash-max-timeout-us = <1024000>;
132 led@5 {
136 function-enumerator = <2>;
137 led-max-microamp = <200000>;
138 flash-max-microamp = <500000>;
139 flash-max-timeout-us = <1024000>;
144 compatible = "mediatek,mt6360-regulator";
145 LDO_VIN3-supply = <&BUCK2>;
147 regulator-name = "mt6360,buck1";
148 regulator-min-microvolt = <300000>;
149 regulator-max-microvolt = <1300000>;
150 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
155 regulator-name = "mt6360,buck2";
156 regulator-min-microvolt = <300000>;
157 regulator-max-microvolt = <1300000>;
158 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
163 regulator-name = "mt6360,ldo6";
164 regulator-min-microvolt = <500000>;
165 regulator-max-microvolt = <2100000>;
166 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
170 regulator-name = "mt6360,ldo7";
171 regulator-min-microvolt = <500000>;
172 regulator-max-microvolt = <2100000>;
173 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
177 regulator-name = "mt6360,ldo1";
178 regulator-min-microvolt = <1200000>;
179 regulator-max-microvolt = <3600000>;
180 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
184 regulator-name = "mt6360,ldo2";
185 regulator-min-microvolt = <1200000>;
186 regulator-max-microvolt = <3600000>;
187 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
191 regulator-name = "mt6360,ldo3";
192 regulator-min-microvolt = <1200000>;
193 regulator-max-microvolt = <3600000>;
194 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
198 regulator-name = "mt6360,ldo5";
199 regulator-min-microvolt = <2700000>;
200 regulator-max-microvolt = <3600000>;
201 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
207 compatible = "mediatek,mt6360-tcpc";
208 interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
209 interrupt-names = "PD_IRQB";
212 compatible = "usb-c-connector";
213 label = "USB-C";
214 data-role = "dual";
215 power-role = "dual";
216 try-power-role = "sink";
217 … source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
218 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
219 op-sink-microwatt = <10000000>;
222 #address-cells = <1>;
223 #size-cells = <0>;
228 remote-endpoint = <&usb_hs>;
234 remote-endpoint = <&usb_ss>;
240 remote-endpoint = <&dp_aux>;