Files
linux/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml
Chen-Yu Tsai d15d0f1a27 regulator: dt-bindings: mt6315: Add regulator supplies
The MT6315 family of PMICs has 4 buck regulators. Each regulator has a
separate supply.

Add these supplies to the device tree binding.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://patch.msgid.link/20260326081050.1115201-2-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-30 15:45:36 +01:00

81 lines
1.8 KiB
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Mediatek MT6315 Regulator
maintainers:
- Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
description: |
The MT6315 is a power management IC (PMIC) configurable with SPMI.
that contains 4 BUCKs output which can combine with each other
by different efuse settings.
properties:
compatible:
oneOf:
- items:
- const: mediatek,mt6319-regulator
- const: mediatek,mt6315-regulator
- const: mediatek,mt6315-regulator
reg:
maxItems: 1
pvdd1-supply:
description: Supply for regulator vbuck1
pvdd2-supply:
description: Supply for regulator vbuck2
pvdd3-supply:
description: Supply for regulator vbuck3
pvdd4-supply:
description: Supply for regulator vbuck4
regulators:
type: object
description: List of regulators and its properties
patternProperties:
"^vbuck[1-4]$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false
required:
- compatible
- reg
- regulators
additionalProperties: false
examples:
- |
pmic@6 {
compatible = "mediatek,mt6315-regulator";
reg = <0x6 0>;
pvdd1-supply = <&pp4200_z2>;
pvdd3-supply = <&pp4200_z2>;
regulators {
vbuck1 {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>;
regulator-allowed-modes = <0 1 2>;
};
vbuck3 {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>;
regulator-allowed-modes = <0 1 2>;
};
};
};