[v2,28/35] video: simple_panel: add Ampire AM-1280800W8TZQW-T00H panel

Message ID 20261107143241.2236511-29-dario.binacchi@amarulasolutions.com
State New
Headers
Series Add Engicam MicroGEA-STM32MP257D-RMM board support |

Commit Message

Dario Binacchi Nov. 7, 2026, 2:32 p.m. UTC
Add timing data for the Ampire AM-1280800W8TZQW-T00H 10.1" LVDS panel
from Linux to the simple-panel driver.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---

(no changes since v1)

 drivers/video/simple_panel.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

-- 
2.43.0
  

Comments

Patrice CHOTARD Nov. 16, 2026, 2:45 p.m. UTC | #1
On 11/7/26 15:32, Dario Binacchi wrote:
> Add timing data for the Ampire AM-1280800W8TZQW-T00H 10.1" LVDS panel
> from Linux to the simple-panel driver.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> 
> (no changes since v1)
> 
>  drivers/video/simple_panel.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/drivers/video/simple_panel.c b/drivers/video/simple_panel.c
> index 1cf587f973be..e674419fd912 100644
> --- a/drivers/video/simple_panel.c
> +++ b/drivers/video/simple_panel.c
> @@ -208,6 +208,23 @@ static const struct panel_ops simple_panel_ops = {
>  	.get_modes		= simple_panel_get_modes,
>  };
>  
> +static const struct drm_display_mode ampire_am_1280800w8tzqw_t00h_mode = {
> +	.clock = 72400,
> +	.hdisplay = 1280,
> +	.hsync_start = 1280 + 40,
> +	.hsync_end = 1280 + 40 + 80,
> +	.htotal = 1280 + 40 + 80 + 40,
> +	.vdisplay = 800,
> +	.vsync_start = 800 + 10,
> +	.vsync_end = 800 + 10 + 18,
> +	.vtotal = 800 + 10 + 18 + 10,
> +};
> +
> +static const struct simple_panel_drv_data ampire_am_1280800w8tzqw_t00h_data = {
> +	.modes = &ampire_am_1280800w8tzqw_t00h_mode,
> +	.num_modes = 1,
> +};
> +
>  static const struct mipi_dsi_panel_plat panasonic_vvx10f004b00 = {
>  	.mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
>  		      MIPI_DSI_CLOCK_NON_CONTINUOUS,
> @@ -240,6 +257,8 @@ static const struct simple_panel_drv_data tfc_s9700rtwv43tr_01b_data = {
>  static const struct udevice_id simple_panel_ids[] = {
>  	{ .compatible = "simple-panel" },
>  	{ .compatible = "panel-lvds" },
> +	{ .compatible = "ampire,am-1280800w8tzqw-t00h",
> +	  .data = (ulong)&ampire_am_1280800w8tzqw_t00h_data },
>  	{ .compatible = "auo,b133xtn01" },
>  	{ .compatible = "auo,b116xw03" },
>  	{ .compatible = "auo,b133htn01" },


Hi Dario

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Thanks
Patrice
  

Patch

diff --git a/drivers/video/simple_panel.c b/drivers/video/simple_panel.c
index 1cf587f973be..e674419fd912 100644
--- a/drivers/video/simple_panel.c
+++ b/drivers/video/simple_panel.c
@@ -208,6 +208,23 @@  static const struct panel_ops simple_panel_ops = {
 	.get_modes		= simple_panel_get_modes,
 };
 
+static const struct drm_display_mode ampire_am_1280800w8tzqw_t00h_mode = {
+	.clock = 72400,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 40,
+	.hsync_end = 1280 + 40 + 80,
+	.htotal = 1280 + 40 + 80 + 40,
+	.vdisplay = 800,
+	.vsync_start = 800 + 10,
+	.vsync_end = 800 + 10 + 18,
+	.vtotal = 800 + 10 + 18 + 10,
+};
+
+static const struct simple_panel_drv_data ampire_am_1280800w8tzqw_t00h_data = {
+	.modes = &ampire_am_1280800w8tzqw_t00h_mode,
+	.num_modes = 1,
+};
+
 static const struct mipi_dsi_panel_plat panasonic_vvx10f004b00 = {
 	.mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
 		      MIPI_DSI_CLOCK_NON_CONTINUOUS,
@@ -240,6 +257,8 @@  static const struct simple_panel_drv_data tfc_s9700rtwv43tr_01b_data = {
 static const struct udevice_id simple_panel_ids[] = {
 	{ .compatible = "simple-panel" },
 	{ .compatible = "panel-lvds" },
+	{ .compatible = "ampire,am-1280800w8tzqw-t00h",
+	  .data = (ulong)&ampire_am_1280800w8tzqw_t00h_data },
 	{ .compatible = "auo,b133xtn01" },
 	{ .compatible = "auo,b116xw03" },
 	{ .compatible = "auo,b133htn01" },