arm64: dts: mt8173: Power on panel regulator on boot
authorPin-yen Lin <treapking@chromium.org>
Mon, 17 Apr 2023 12:39:56 +0000 (20:39 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 15 Jun 2023 11:14:57 +0000 (13:14 +0200)
Add "regulator-boot-on" to "panel_fixed_3v3" to save time on powering
the regulator during boot.  Also add "off-on-delay-us" to the node to
make sure the regulator never violates the panel timing requirements.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230417123956.926266-1-treapking@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index d77f6af19065e7a664b1495b33cc1b9946c78984..03d1ab2ca82035f013e59d1f1e5ac4b60942eca8 100644 (file)
@@ -96,6 +96,8 @@
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                enable-active-high;
+               regulator-boot-on;
+               off-on-delay-us = <500000>;
                gpio = <&pio 41 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&panel_fixed_pins>;