drm: panel: add Khadas TS050 panel driver
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 4 Dec 2020 08:19:49 +0000 (09:19 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Dec 2020 13:57:40 +0000 (14:57 +0100)
commitb215212117f73bc6426d71ee344ef6cc88947916
tree31cb4d18bb6686dd982101321492d2dc263a9d72
parent98cda4b5f246c86ddbd7c4c084a15829da6c8f81
drm: panel: add Khadas TS050 panel driver

This add support for the Khadas TS050 1080x1920 5" LCD DSI panel designed to work
with the Khadas Edge-V, Captain, VIM3 and VIM3L Single Board Computers.
It provides a MIPI DSI interface to the host, a built-in LED backlight
and touch controller.

The init values was taken from the vendor source tree, comments were added to the
know values but most of the init table is undocumented.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
[narmstrong: call drm_panel_remove if mipi_dsi_attach fails]
Link: https://patchwork.freedesktop.org/patch/msgid/20201204081949.38418-3-narmstrong@baylibre.com
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/Makefile
drivers/gpu/drm/panel/panel-khadas-ts050.c [new file with mode: 0644]