arch/arm64/boot/dts/mediatek/mt6331.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt6331.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/mediatek/mt6331.dtsi
Extension
.dtsi
Size
7405 bytes
Lines
285
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
 * Copyright (c) 2023 Collabora Ltd.
 * Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
 */
#include <dt-bindings/input/input.h>

&pwrap {
	pmic: pmic {
		compatible = "mediatek,mt6331";
		interrupt-controller;
		#interrupt-cells = <2>;

		mt6331regulator: regulators {
			compatible = "mediatek,mt6331-regulator";

			mt6331_vdvfs11_reg: buck-vdvfs11 {
				regulator-name = "vdvfs11";
				regulator-min-microvolt = <700000>;
				regulator-max-microvolt = <1493750>;
				regulator-ramp-delay = <12500>;
				regulator-enable-ramp-delay = <0>;
				regulator-allowed-modes = <0 1>;
				regulator-always-on;
			};

			mt6331_vdvfs12_reg: buck-vdvfs12 {
				regulator-name = "vdvfs12";
				regulator-min-microvolt = <700000>;
				regulator-max-microvolt = <1493750>;
				regulator-ramp-delay = <12500>;
				regulator-enable-ramp-delay = <0>;
				regulator-allowed-modes = <0 1>;
				regulator-always-on;
			};

			mt6331_vdvfs13_reg: buck-vdvfs13 {
				regulator-name = "vdvfs13";
				regulator-min-microvolt = <700000>;
				regulator-max-microvolt = <1493750>;
				regulator-ramp-delay = <12500>;
				regulator-enable-ramp-delay = <0>;
				regulator-allowed-modes = <0 1>;
				regulator-always-on;
			};

			mt6331_vdvfs14_reg: buck-vdvfs14 {
				regulator-name = "vdvfs14";
				regulator-min-microvolt = <700000>;
				regulator-max-microvolt = <1493750>;
				regulator-ramp-delay = <12500>;
				regulator-enable-ramp-delay = <0>;
				regulator-allowed-modes = <0 1>;
				regulator-always-on;
			};

			mt6331_vcore2_reg: buck-vcore2 {
				regulator-name = "vcore2";
				regulator-min-microvolt = <700000>;
				regulator-max-microvolt = <1493750>;
				regulator-ramp-delay = <12500>;
				regulator-enable-ramp-delay = <0>;
				regulator-allowed-modes = <0 1>;
				regulator-always-on;
			};

			mt6331_vio18_reg: buck-vio18 {
				regulator-name = "vio18";
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;

Annotation

Implementation Notes