diff options
| author | Paul Louvel <paul.louvel@bootlin.com> | 2026-07-23 18:31:50 +0200 |
|---|---|---|
| committer | Neil Armstrong <neil.armstrong@linaro.org> | 2026-07-27 10:05:52 +0200 |
| commit | e1bde8ef0abe4e299fd14694cb2d557d5807c864 (patch) | |
| tree | 38d7c81ef518234ec8e87c0b6c79c1deaa0e3847 /drivers/gpu | |
| parent | 108a73346f52e5c6dc01f545dae5355482ec3ab1 (diff) | |
| download | linux-next-e1bde8ef0abe4e299fd14694cb2d557d5807c864.tar.gz linux-next-e1bde8ef0abe4e299fd14694cb2d557d5807c864.zip | |
drm/panel: simple: Add Ampire AM-800480N3TZQW-00H
Add support for the Ampire AM-800480N3TZQW-00H 5" WVGA TFT LCD panel.
Signed-off-by: Paul Louvel <paul.louvel@bootlin.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260723-support-am-800480n3tzqw-00h-v1-2-6a4ae0575a19@bootlin.com
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 292212119fda..c95964ba25a9 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -912,6 +912,36 @@ static const struct panel_desc ampire_am_800480l1tmqw_t00h = { .connector_type = DRM_MODE_CONNECTOR_DPI, }; +static const struct display_timing ampire_am_800480n3tzqw_00h_timing = { + .pixelclock = {23000000, 25000000, 27000000}, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 4, 8, 48 }, + .hback_porch = { 4, 8, 48 }, + .hsync_len = { 2, 8, 8 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 4, 8, 12 }, + .vback_porch = { 4, 8, 12 }, + .vsync_len = { 2, 4, 8 }, + .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | + DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE | + DISPLAY_FLAGS_SYNC_POSEDGE, +}; + +static const struct panel_desc ampire_am_800480n3tzqw_00h = { + .timings = &ire_am_800480n3tzqw_00h_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 108, + .height = 65, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | + DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE | + DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct panel_desc ampire_am800480r3tmqwa1h = { .modes = &ire_am800480r3tmqwa1h_mode, .num_modes = 1, @@ -5649,6 +5679,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "ampire,am-800480l1tmqw-t00h", .data = &ire_am_800480l1tmqw_t00h, }, { + .compatible = "ampire,am-800480n3tzqw-00h", + .data = &ire_am_800480n3tzqw_00h, + }, { .compatible = "ampire,am800480r3tmqwa1h", .data = &ire_am800480r3tmqwa1h, }, { |
