Skip to content

Commit b147ae7

Browse files
AngeloGioacchino Del Regnobroonie
authored andcommitted
regulator: Add bindings for MediaTek DVFSRC Regulators
The Dynamic Voltage and Frequency Scaling Resource Collector Regulators are controlled with votes to the DVFSRC hardware. This adds support for the regulators found in MT6873, MT8183, MT8192 and MT8195 SoCs. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patch.msgid.link/20240610085735.147134-2-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d2ea920 commit b147ae7

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek DVFSRC-controlled Regulators
8+
9+
description:
10+
The Dynamic Voltage and Frequency Scaling Resource Collector Regulators
11+
are controlled with votes to the DVFSRC hardware.
12+
13+
maintainers:
14+
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- mediatek,mt6873-dvfsrc-regulator
20+
- mediatek,mt8183-dvfsrc-regulator
21+
- mediatek,mt8192-dvfsrc-regulator
22+
- mediatek,mt8195-dvfsrc-regulator
23+
24+
dvfsrc-vcore:
25+
description: DVFSRC-controlled SoC Vcore regulator
26+
$ref: regulator.yaml#
27+
unevaluatedProperties: false
28+
29+
dvfsrc-vscp:
30+
description: DVFSRC-controlled System Control Processor regulator
31+
$ref: regulator.yaml#
32+
unevaluatedProperties: false
33+
34+
required:
35+
- compatible
36+
37+
anyOf:
38+
- required:
39+
- dvfsrc-vcore
40+
- required:
41+
- dvfsrc-vscp
42+
43+
additionalProperties: false

0 commit comments

Comments
 (0)