diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-04-17 13:40:43 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-05-04 21:44:27 +0200 |
commit | 27a46fb732c6af68ef7458e75768ea5608e8ef9c (patch) | |
tree | bb62db1615f906d5de7a755c77727d52942e2286 /drivers/gpu/drm/panel/panel-simple.c | |
parent | dt-bindings: Add binding for IT6505. (diff) | |
download | linux-27a46fb732c6af68ef7458e75768ea5608e8ef9c.tar.xz linux-27a46fb732c6af68ef7458e75768ea5608e8ef9c.zip |
drm/panel: panel-simple: fix AUO G101EVN010 connector/panel type
The AUO G101EVN010 is a 18-bit LVDS panel, not a parallel panel, as
indicated by the current bus_format.
Fix the bus_format to MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, and also set the
connector_type to LVDS.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
[updated patch subject]
Link: https://patchwork.freedesktop.org/patch/msgid/20200417114043.25381-1-tomi.valkeinen@ti.com
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5e56c68fbd3e..d6c29543e510 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -836,7 +836,8 @@ static const struct panel_desc auo_g101evn010 = { .width = 216, .height = 135, }, - .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, }; static const struct drm_display_mode auo_g104sn02_mode = { |