blob: 4c74cc78729e7112aacf19898ad6d23dc5f6f862 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/supply/mt6360_charger.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Battery charger driver for MT6360 PMIC from MediaTek Integrated.
8
9maintainers:
10 - Gene Chen <gene_chen@richtek.com>
11
12description: |
13 This module is part of the MT6360 MFD device.
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
15
16properties:
17 compatible:
18 const: mediatek,mt6360-chg
19
20 richtek,vinovp-microvolt:
21 description: Maximum CHGIN regulation voltage in uV.
22 enum: [ 5500000, 6500000, 11000000, 14500000 ]
23
24
25 usb-otg-vbus-regulator:
26 type: object
27 description: OTG boost regulator.
28 $ref: /schemas/regulator/regulator.yaml#
29 unevaluatedProperties: false
30
31required:
32 - compatible
33
34additionalProperties: false
35
36examples:
37 - |
38 mt6360_charger: charger {
39 compatible = "mediatek,mt6360-chg";
40 richtek,vinovp-microvolt = <14500000>;
41
42 otg_vbus_regulator: usb-otg-vbus-regulator {
43 regulator-name = "usb-otg-vbus";
44 regulator-min-microvolt = <4425000>;
45 regulator-max-microvolt = <5825000>;
46 };
47 };
48...