]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8173-elm: Remove regulators from thermal node
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fri, 9 Jan 2026 11:47:45 +0000 (12:47 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 12 Jan 2026 13:30:53 +0000 (14:30 +0100)
The only reason to have a regulator in the thermal node is to keep
the CPU cores up while reading temperatures, but this is incorrect
because the AUXADC Thermal IP doesn't need any regulators to work,
at all.

Since the thermal node was inherited only for adding vregs, remove
it entirely.
This change is safe also because, among other things, the actual
driver never used those regulators anyway.

This also fixes a dtbs_check warning.

Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index dc064cdcedb51e74238e6b3ebc1edc32b4fce3e7..a0573bc359fb6560b85c213974a3f302f76ab706 100644 (file)
        status = "okay";
 };
 
-&thermal {
-       bank0-supply = <&mt6397_vpca15_reg>;
-       bank1-supply = <&da9211_vcpu_reg>;
-};
-
 &uart0 {
        status = "okay";
 };