File Index
Files and directories
Sign in
FILE

mt6360_charger.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/power/supply/mt6360_charger.yaml YAML
 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
 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  usb-otg-vbus-regulator:
25    type: object
26    description: OTG boost regulator.
27    $ref: /schemas/regulator/regulator.yaml#
28    unevaluatedProperties: false
29
30required:
31  - compatible
32
33additionalProperties: false
34
35examples:
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...
~/ Read-only file preview.