* [PATCH 1/3] drm/panel: synaptics-r63353: Fix the last line of the display
2026-12-02 10:04 [PATCH 0/3] drm/panel: synaptics-r63353: Sharp LS068B3SX02 fixes Dario Binacchi
@ 2026-12-02 10:04 ` 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 ` [PATCH 3/3] drm/panel: synaptics-r63353: Fix the power off sequence Dario Binacchi
2 siblings, 0 replies; 4+ messages in thread
From: Dario Binacchi @ 2026-12-02 10:04 UTC (permalink / raw)
To: Neil Armstrong
Cc: Jessica Zhang, Leonhard Hesse, simon.holesch, Valeriy.Yatsenko,
linux-amarula, michael, Dario Binacchi, David Airlie,
Maarten Lankhorst, Maxime Ripard, Simona Vetter,
Thomas Zimmermann, dri-devel, linux-kernel
From: Michael Trimarchi <michael@amarulasolutions.com>
The last line of the Sharp LS068B3SX02 is never shown with the right
color. Add a line of vertical back porch to fix it.
Fixes: 2e87bad7cd33 ("drm/panel: Add Synaptics R63353 panel driver")
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
index 73447d7b15d3..685ffb2df37c 100644
--- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c
+++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
@@ -190,7 +190,7 @@ static const struct drm_display_mode sharp_ls068b3sx02_timing = {
.vdisplay = 1280,
.vsync_start = 1280 + 2,
.vsync_end = 1280 + 2 + 4,
- .vtotal = 1280 + 2 + 4 + 0,
+ .vtotal = 1280 + 2 + 4 + 1,
};
static int r63353_panel_get_modes(struct drm_panel *panel,
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 2/3] drm/panel: synaptics-r63353: Set the refresh rate to 60 Hz
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 ` Dario Binacchi
2026-12-02 10:04 ` [PATCH 3/3] drm/panel: synaptics-r63353: Fix the power off sequence Dario Binacchi
2 siblings, 0 replies; 4+ messages in thread
From: Dario Binacchi @ 2026-12-02 10:04 UTC (permalink / raw)
To: Neil Armstrong
Cc: Jessica Zhang, Leonhard Hesse, simon.holesch, Valeriy.Yatsenko,
linux-amarula, michael, Dario Binacchi, David Airlie,
Maarten Lankhorst, Maxime Ripard, Simona Vetter,
Thomas Zimmermann, dri-devel, linux-kernel
From: Leonhard Hesse <leonhard.hesse@bshg.com>
With the current timings the refresh rate of the Sharp LS068B3SX02
is 65.77 Hz. Adjust the pixel clock to get 60 Hz.
Signed-off-by: Leonhard Hesse <leonhard.hesse@bshg.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
drivers/gpu/drm/panel/panel-synaptics-r63353.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
index 685ffb2df37c..8c545e822296 100644
--- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c
+++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
@@ -182,7 +182,7 @@ static int r63353_panel_unprepare(struct drm_panel *panel)
}
static const struct drm_display_mode sharp_ls068b3sx02_timing = {
- .clock = 70000,
+ .clock = 63861,
.hdisplay = 640,
.hsync_start = 640 + 35,
.hsync_end = 640 + 35 + 2,
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 3/3] drm/panel: synaptics-r63353: Fix the power off sequence
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
2 siblings, 0 replies; 4+ messages in thread
From: Dario Binacchi @ 2026-12-02 10:04 UTC (permalink / raw)
To: Neil Armstrong
Cc: Jessica Zhang, Leonhard Hesse, simon.holesch, Valeriy.Yatsenko,
linux-amarula, michael, Matthias Proske, Dario Binacchi,
David Airlie, Maarten Lankhorst, Maxime Ripard, Simona Vetter,
Thomas Zimmermann, dri-devel, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread