[3/3] drm/panel: synaptics-r63353: Fix the power off sequence

Message ID 20261202100443.565075-4-dario.binacchi@amarulasolutions.com
State New
Headers
Series drm/panel: synaptics-r63353: Sharp LS068B3SX02 fixes |

Commit Message

Dario Binacchi Dec. 2, 2026, 10:04 a.m. UTC
From: Michael Trimarchi <michael@amarulasolutions.com>

According to the manufacturer, the panel needs 300 ms between the
reset assertion and the removal of the first supply, and 300 ms more
before the removal of the second one.

Fixes: 2e87bad7cd33 ("drm/panel: Add Synaptics R63353 panel driver")
Suggested-by: Matthias Proske <matthias.proske@bshg.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

 drivers/gpu/drm/panel/panel-synaptics-r63353.c | 7 +++++++
 1 file changed, 7 insertions(+)
  

Patch

diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
index 8c545e822296..d7f2499c961e 100644
--- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c
+++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
@@ -97,7 +97,14 @@  static int r63353_panel_power_on(struct r63353_panel *rpanel)
 static int r63353_panel_power_off(struct r63353_panel *rpanel)
 {
 	gpiod_set_value(rpanel->reset_gpio, 0);
+
+	/*
+	 * Sharp requires 300 ms after the reset and 300 ms more
+	 * between the two supplies.
+	 */
+	msleep(300);
 	regulator_disable(rpanel->dvdd);
+	msleep(300);
 	regulator_disable(rpanel->avdd);
 
 	return 0;