]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8183-kukui: Clean up IT6505 regulator supply
authorChen-Yu Tsai <wenst@chromium.org>
Wed, 14 Jan 2026 09:26:04 +0000 (17:26 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 14 Jan 2026 09:32:13 +0000 (10:32 +0100)
Align the name of the regulator with the design schematic. Also fix up
the gpio property to the new "gpios" property name, and add the
GPIO_ACTIVE_HIGH flag. The flag is actively ignored in Linux in favor of
the old "enable-active-high" property; nevertheless it is the correct
description.

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

index 4b87d4940c8c739869c347698c6545ded62896d2..a8e257b21a88c63e6853259de4bde35b13eff2af 100644 (file)
                clock-output-names = "clk32k";
        };
 
-       it6505_pp18_reg: regulator0 {
+       pp1800_it6505: regulator0 {
                compatible = "regulator-fixed";
-               regulator-name = "it6505_pp18";
-               gpio = <&pio 178 0>;
+               regulator-name = "pp1800_it6505";
+               gpios = <&pio 178 GPIO_ACTIVE_HIGH>;
                enable-active-high;
                vin-supply = <&pp1800_alw>;
        };