[PATCH v2] arm64: dts: mediatek: mt8173-elm: Clean up unused MT6397 regulators
Chen-Yu Tsai
wenst at chromium.org
Mon Nov 30 01:19:53 PST 2026
Hi,
On Thu, Nov 19, 2026 at 11:51 AM Chen-Yu Tsai <wenst at chromium.org> wrote:
>
> Several MT6397 (MT6391) PMIC regulator nodes in mt8173-elm.dtsi are
> not actually used on either Elm or Hana according to the board
> schematics. They may have been copied from the EVB dts.
>
> - buck_vgpu: Output pins are unconnected; GPU power is supplied by an
> external DA9212 buck regulator instead.
> - ldo_va28: Only connected to a decoupling capacitor for the PMIC's
> internal audio codec and fuel gauge ADC blocks, both of which are
> unused as both boards use an external ALC5650 codec and EC-managed
> smart battery.
> - ldo_vgp4: Only routed to a test point on Elm and an unpopulated
> resistor on Hana.
> - ldo_vibr: Output pins are unconnected.
>
> Keep these regulator nodes in place so that the regulator core still
> considers them constrained and can disable any unused rails left on at
> power-up (such as ldo_va28), but drop all their properties and unused
> labels. This is meant to preserve prior behavior.
>
> Checking the regulator nodes against the schematics, drafting the change
> and reviewing it were done by an agent. Manually tested on a Hana
> (Telesu) device.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
> ---
> Changes since v1:
> - Rebased (so "arm64: dts: mediatek: mt8173-elm-hana: Unmark trackpad
> supply as always-on" is not applied)
A reminder to take this patch so it lands with the other cleanups already
merged.
> arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 26 ++++++--------------
> 1 file changed, 8 insertions(+), 18 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> index 1b8f1b6fd788..ac5e9e387294 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> @@ -988,12 +988,8 @@ mt6397_vcore_reg: buck_vcore {
> regulator-always-on;
> };
>
> - mt6397_vgpu_reg: buck_vgpu {
> - regulator-name = "vgpu";
> - regulator-min-microvolt = < 700000>;
> - regulator-max-microvolt = <1350000>;
> - regulator-ramp-delay = <12500>;
> - regulator-enable-ramp-delay = <115>;
> + buck_vgpu {
> + /* unused */
> };
>
> mt6397_vdrm_reg: buck_vdrm {
> @@ -1017,8 +1013,8 @@ mt6397_vtcxo_reg: ldo_vtcxo {
> regulator-always-on;
> };
>
> - mt6397_va28_reg: ldo_va28 {
> - regulator-name = "va28";
> + ldo_va28 {
> + /* unused */
> };
>
> mt6397_vcama_reg: ldo_vcama {
> @@ -1079,11 +1075,8 @@ mt6397_vgp3_reg: ldo_vgp3 {
> regulator-enable-ramp-delay = <218>;
> };
>
> - mt6397_vgp4_reg: ldo_vgp4 {
> - regulator-name = "vgp4";
> - regulator-min-microvolt = <1200000>;
> - regulator-max-microvolt = <3300000>;
> - regulator-enable-ramp-delay = <218>;
> + ldo_vgp4 {
> + /* unused */
> };
>
> mt6397_vgp5_reg: ldo_vgp5 {
> @@ -1101,11 +1094,8 @@ mt6397_vgp6_reg: ldo_vgp6 {
> regulator-always-on;
> };
>
> - mt6397_vibr_reg: ldo_vibr {
> - regulator-name = "vibr";
> - regulator-min-microvolt = <1300000>;
> - regulator-max-microvolt = <3300000>;
> - regulator-enable-ramp-delay = <218>;
> + ldo_vibr {
> + /* unused */
> };
> };
>
> --
> 2.56.1.708.g77570a6a1d-goog
>
More information about the linux-arm-kernel
mailing list