diff mbox series

drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01

Message ID 20230709134914.449328-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01 | expand

Commit Message

Marek Vasut July 9, 2023, 1:49 p.m. UTC
The connector type and pixel format are missing for this panel,
add them to prevent various drivers from failing to determine
either of those parameters.

Fixes: 7ee933a1d5c4 ("drm/panel: simple: Add support for AUO T215HVN01")
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@gmail.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: dri-devel@lists.freedesktop.org
---
 drivers/gpu/drm/panel/panel-simple.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Sam Ravnborg July 9, 2023, 3:09 p.m. UTC | #1
On Sun, Jul 09, 2023 at 03:49:14PM +0200, Marek Vasut wrote:
> The connector type and pixel format are missing for this panel,
> add them to prevent various drivers from failing to determine
> either of those parameters.
> 
> Fixes: 7ee933a1d5c4 ("drm/panel: simple: Add support for AUO T215HVN01")
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index b2e58ee46c7b5..b33d830d48373 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1190,7 +1190,9 @@  static const struct panel_desc auo_t215hvn01 = {
 	.delay = {
 		.disable = 5,
 		.unprepare = 1000,
-	}
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
 static const struct drm_display_mode avic_tm070ddh03_mode = {