Lines Matching +full:sink +full:- +full:pdos

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-compatible = "usb-otg-vbus";
87 regulator-name = "usb-otg-vbus";
88 regulator-min-microvolt = <4425000>;
89 regulator-max-microvolt = <5825000>;
93 led-controller {
94 compatible = "mediatek,mt6360-led";
95 #address-cells = <1>;
96 #size-cells = <0>;
98 multi-led@0 {
102 led-max-microamp = <24000>;
103 #address-cells = <1>;
104 #size-cells = <0>;
122 led-max-microamp = <150000>;
128 function-enumerator = <1>;
129 led-max-microamp = <200000>;
130 flash-max-microamp = <500000>;
131 flash-max-timeout-us = <1024000>;
137 function-enumerator = <2>;
138 led-max-microamp = <200000>;
139 flash-max-microamp = <500000>;
140 flash-max-timeout-us = <1024000>;
145 compatible = "mediatek,mt6360-regulator";
146 LDO_VIN3-supply = <&BUCK2>;
148 regulator-compatible = "BUCK1";
149 regulator-name = "mt6360,buck1";
150 regulator-min-microvolt = <300000>;
151 regulator-max-microvolt = <1300000>;
152 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
157 regulator-compatible = "BUCK2";
158 regulator-name = "mt6360,buck2";
159 regulator-min-microvolt = <300000>;
160 regulator-max-microvolt = <1300000>;
161 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
166 regulator-compatible = "LDO6";
167 regulator-name = "mt6360,ldo6";
168 regulator-min-microvolt = <500000>;
169 regulator-max-microvolt = <2100000>;
170 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
174 regulator-compatible = "LDO7";
175 regulator-name = "mt6360,ldo7";
176 regulator-min-microvolt = <500000>;
177 regulator-max-microvolt = <2100000>;
178 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
182 regulator-compatible = "LDO1";
183 regulator-name = "mt6360,ldo1";
184 regulator-min-microvolt = <1200000>;
185 regulator-max-microvolt = <3600000>;
186 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
190 regulator-compatible = "LDO2";
191 regulator-name = "mt6360,ldo2";
192 regulator-min-microvolt = <1200000>;
193 regulator-max-microvolt = <3600000>;
194 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
198 regulator-compatible = "LDO3";
199 regulator-name = "mt6360,ldo3";
200 regulator-min-microvolt = <1200000>;
201 regulator-max-microvolt = <3600000>;
202 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
206 regulator-compatible = "LDO5";
207 regulator-name = "mt6360,ldo5";
208 regulator-min-microvolt = <2700000>;
209 regulator-max-microvolt = <3600000>;
210 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
216 compatible = "mediatek,mt6360-tcpc";
217 interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
218 interrupt-names = "PD_IRQB";
221 compatible = "usb-c-connector";
222 label = "USB-C";
223 data-role = "dual";
224 power-role = "dual";
225 try-power-role = "sink";
226 … source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
227 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
228 op-sink-microwatt = <10000000>;
231 #address-cells = <1>;
232 #size-cells = <0>;
237 remote-endpoint = <&usb_hs>;
243 remote-endpoint = <&usb_ss>;
249 remote-endpoint = <&dp_aux>;