Debian Codegraph @

Documentation/devicetree/bindings/power/supply/mt6360_charger.yaml

raw
1 # 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
7 title: Battery charger driver for MT6360 PMIC from MediaTek Integrated.
8
9 maintainers:
10 - Gene Chen <[email protected]>
11
12 description: |
13 This module is part of the MT6360 MFD device.
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
15
16 properties:
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 usb-otg-vbus-regulator:
25 type: object
26 description: OTG boost regulator.
27 $ref: /schemas/regulator/regulator.yaml#
28 unevaluatedProperties: false
29
30 required:
31 - compatible
32
33 additionalProperties: false
34
35 examples:
36 - |
37 mt6360_charger: charger {
38 compatible = "mediatek,mt6360-chg";
39 richtek,vinovp-microvolt = <14500000>;
40
41 otg_vbus_regulator: usb-otg-vbus-regulator {
42 regulator-name = "usb-otg-vbus";
43 regulator-min-microvolt = <4425000>;
44 regulator-max-microvolt = <5825000>;
45 };
46 };
47 ...