drm: panel: Add novatek nt36672a panel driver
authorSumit Semwal <sumit.semwal@linaro.org>
Wed, 2 Sep 2020 06:44:07 +0000 (12:14 +0530)
committerSumit Semwal <sumit.semwal@linaro.org>
Thu, 15 Oct 2020 04:59:26 +0000 (10:29 +0530)
commit070c7fa58bce986eb7a504390dd429edcb068f44
tree4827703264a6cc97387b64f96ff9665241efc147
parent9528a02430dfd4e8931578cee572203fc262c63b
drm: panel: Add novatek nt36672a panel driver

Novatek NT36672a is a generic DSI IC that drives command and video mode
panels. Add the driver for it.

Right now adding support for some Poco F1 phones that have an LCD panel
from Tianma connected with this IC, with a resolution of 1080x2246 that
operates in DSI video mode.

During testing, Benni Steini <bennisteinir@gmail.com> helped us fix
the reset sequence timing (from 10ms to 20ms), to get the bootanimation
to work on Android.

With current AOSP, we need to increase it to 200ms - this seems to be a
safe high value to avoid a white screen occasionally.

Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Benni Steini <bennisteinir@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200902064407.30712-3-sumit.semwal@linaro.org
MAINTAINERS
drivers/gpu/drm/panel/Kconfig
drivers/gpu/drm/panel/Makefile
drivers/gpu/drm/panel/panel-novatek-nt36672a.c [new file with mode: 0644]