All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mt8173: Power on panel regulator on boot
@ 2023-04-17 12:39 ` Pin-yen Lin
  0 siblings, 0 replies; 8+ messages in thread
From: Pin-yen Lin @ 2023-04-17 12:39 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	Doug Anderson, Pin-yen Lin

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>

---

 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index d77f6af19065..03d1ab2ca820 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -96,6 +96,8 @@ panel_fixed_3v3: regulator1 {
 		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>;
-- 
2.40.0.634.g4ca3ef3211-goog



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-29 16:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-17 12:39 [PATCH] arm64: dts: mt8173: Power on panel regulator on boot Pin-yen Lin
2023-04-17 12:39 ` Pin-yen Lin
2023-04-17 13:32 ` Doug Anderson
2023-04-17 13:32   ` Doug Anderson
2023-05-26  6:14   ` Pin-yen Lin
2023-05-26  6:14     ` Pin-yen Lin
2023-05-29 16:16 ` Matthias Brugger
2023-05-29 16:16   ` Matthias Brugger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.