drm/panel: ili9882t: Break out as separate driver
authorCong Yang <yangcong5@huaqin.corp-partner.google.com>
Fri, 13 Oct 2023 09:18:42 +0000 (17:18 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 19 Oct 2023 21:41:31 +0000 (14:41 -0700)
commite2450d32e5fb5f89bf93e52f4ce694ad655cdc66
tree5e08f2eb5843fcf8617ec184b15752f873e89d34
parent6c73f1dbd9bf91130c2ee0b9c65afb7c3c90bf23
drm/panel: ili9882t: Break out as separate driver

The Starry ILI9882t-based panel should never have been part of the boe
tv101wum driver, it is clearly based on the Ilitek ILI9882t display
controller and if you look at the custom command sequences for the
panel these clearly contain the signature Ilitek page switch (0xff)
commands. The hardware has nothing in common with the other panels
supported by this driver.

Break this out into a separate driver and config symbol instead.

If the placement here is out of convenience for using similar code,
we should consider creating a helper library instead.

Co-developed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Cong Yang <yangcong5@huaqin.corp-partner.google.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231013091844.804310-2-yangcong5@huaqin.corp-partner.google.com
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/Makefile
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
drivers/gpu/drm/panel/panel-ilitek-ili9882t.c [new file with mode: 0644]