From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <jesszhan0024@gmail.com>,
Leonhard Hesse <leonhard.hesse@bshg.com>,
simon.holesch@bshg.com, Valeriy.Yatsenko@bshg.com,
linux-amarula@amarulasolutions.com, michael@amarulasolutions.com,
Matthias Proske <matthias.proske@bshg.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
David Airlie <airlied@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Simona Vetter <simona@ffwll.ch>,
Thomas Zimmermann <tzimmermann@suse.de>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] drm/panel: synaptics-r63353: Fix the power off sequence
Date: Wed, 2 Dec 2026 11:04:23 +0100 [thread overview]
Message-ID: <20261202100443.565075-4-dario.binacchi@amarulasolutions.com> (raw)
In-Reply-To: <20261202100443.565075-1-dario.binacchi@amarulasolutions.com>
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(+)
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;
--
2.43.0
prev parent reply other threads:[~2026-12-02 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 10:04 [PATCH 0/3] drm/panel: synaptics-r63353: Sharp LS068B3SX02 fixes Dario Binacchi
2026-12-02 10:04 ` [PATCH 1/3] drm/panel: synaptics-r63353: Fix the last line of the display Dario Binacchi
2026-12-02 10:04 ` [PATCH 2/3] drm/panel: synaptics-r63353: Set the refresh rate to 60 Hz Dario Binacchi
2026-12-02 10:04 ` Dario Binacchi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202100443.565075-4-dario.binacchi@amarulasolutions.com \
--to=dario.binacchi@amarulasolutions.com \
--cc=Valeriy.Yatsenko@bshg.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=leonhard.hesse@bshg.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.proske@bshg.com \
--cc=michael@amarulasolutions.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=simon.holesch@bshg.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®