71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/regulator/mediatek,mt6311-regulator.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: MediaTek MT6311 Regulator
|
|
|
|
maintainers:
|
|
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
|
|
description:
|
|
The MediaTek MT6311 is an I2C power management IC that provides one step-down
|
|
converter and one low-dropout regulator. The regulators are named VDVFS and
|
|
VBIASN, respectively.
|
|
|
|
properties:
|
|
compatible:
|
|
const: mediatek,mt6311-regulator
|
|
|
|
reg:
|
|
description: I2C slave address.
|
|
maxItems: 1
|
|
|
|
regulators:
|
|
type: object
|
|
description: List of regulators provided by this controller.
|
|
|
|
patternProperties:
|
|
"^(VDVFS|VBIASN)$":
|
|
type: object
|
|
$ref: regulator.yaml#
|
|
unevaluatedProperties: false
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- regulators
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pmic@6b {
|
|
compatible = "mediatek,mt6311-regulator";
|
|
reg = <0x6b>;
|
|
|
|
regulators {
|
|
VDVFS {
|
|
regulator-name = "VDVFS";
|
|
regulator-min-microvolt = <600000>;
|
|
regulator-max-microvolt = <1400000>;
|
|
regulator-ramp-delay = <10000>;
|
|
};
|
|
|
|
VBIASN {
|
|
regulator-name = "VBIASN";
|
|
regulator-min-microvolt = <200000>;
|
|
regulator-max-microvolt = <800000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
...
|