Battery charger driver for MT6360 PMIC from MediaTek Integrated.

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/mt6360_charger.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gene Chen <gene_chen@richtek.com>"

This module is part of the MT6360 MFD device. Provides Battery Charger, Boost for OTG devices and BC1.2 detection.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6360-chg"

richtek,vinovp-microvolt — not listed as required here #

Maximum CHGIN regulation voltage in uV.

Allowed values (enum): 5500000, 6500000, 11000000, 14500000

usb-otg-vbus-regulator — not listed as required here #

Value type (type): "object"

OTG boost regulator.

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

mt6360_charger: charger {
  compatible = "mediatek,mt6360-chg";
  richtek,vinovp-microvolt = <14500000>;

  otg_vbus_regulator: usb-otg-vbus-regulator {
    regulator-name = "usb-otg-vbus";
    regulator-min-microvolt = <4425000>;
    regulator-max-microvolt = <5825000>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page