aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/panel/Kconfig
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2020-09-02 12:14:07 +0530
committerSumit Semwal <sumit.semwal@linaro.org>2020-10-15 10:29:26 +0530
commit070c7fa58bce986eb7a504390dd429edcb068f44 (patch)
tree4827703264a6cc97387b64f96ff9665241efc147 /drivers/gpu/drm/panel/Kconfig
parentdt-bindings: display: panel: Add bindings for Novatek nt36672a (diff)
downloadwireguard-linux-070c7fa58bce986eb7a504390dd429edcb068f44.tar.xz
wireguard-linux-070c7fa58bce986eb7a504390dd429edcb068f44.zip
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
Diffstat (limited to 'drivers/gpu/drm/panel/Kconfig')
-rw-r--r--drivers/gpu/drm/panel/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index b9dbedf8f15e..1bf6c4d62c92 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -208,6 +208,16 @@ config DRM_PANEL_NOVATEK_NT35510
around the Novatek NT35510 display controller, such as some
Hydis panels.
+config DRM_PANEL_NOVATEK_NT36672A
+ tristate "Novatek NT36672A DSI panel"
+ depends on OF
+ depends on DRM_MIPI_DSI
+ depends on BACKLIGHT_CLASS_DEVICE
+ help
+ Say Y here if you want to enable support for the panels built
+ around the Novatek NT36672A display controller, such as some
+ Tianma panels used in a few Xiaomi Poco F1 mobile phones.
+
config DRM_PANEL_NOVATEK_NT39016
tristate "Novatek NT39016 RGB/SPI panel"
depends on OF && SPI