Documentation/devicetree/bindings/regulator/mediatek,mt6316d-regulator.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/regulator/mediatek,mt6316d-regulator.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/regulator/mediatek,mt6316d-regulator.yaml- Extension
.yaml- Size
- 2274 bytes
- Lines
- 76
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/spmi/spmi.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/mediatek,mt6316d-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: MediaTek MT6316 DP/TP SPMI PMIC Regulators
maintainers:
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
description:
The MediaTek MT6316DP/TP PMICs are fully controlled by SPMI interface, both
feature four step-down DC/DC (buck) converters, and provides a single Phase,
joining Buck 1+2+3+4.
properties:
compatible:
const: mediatek,mt6316d-regulator
reg:
maxItems: 1
vbuck1234:
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
properties:
regulator-allowed-modes:
description: |
Allowed Buck regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
1 - Forced Continuous Conduction mode (FCCM) for improved voltage
regulation accuracy with constant switching frequency but lower
regulator efficiency
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, will shut down unnecessary IP
blocks and secondary phases to reduce quiescent current.
This mode does not limit the maximum output current but unless
only a light load is applied, there will be regulation accuracy
and efficiency losses.
minItems: 1
maxItems: 3
items:
enum: [ 0, 1, 2 ]
required:
- compatible
- reg
additionalProperties: false
examples:
- |
#include <dt-bindings/spmi/spmi.h>
spmi {
#address-cells = <2>;
#size-cells = <0>;
pmic@7 {
compatible = "mediatek,mt6316d-regulator";
reg = <0x7 SPMI_USID>;
vbuck1234 {
regulator-name = "dvdd_gpustack";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1277500>;
regulator-allowed-modes = <0 1 2>;
Annotation
- Immediate include surface: `dt-bindings/spmi/spmi.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.