summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2019-08-06 19:48:09 +0530
committerSumit Semwal <sumit.semwal@linaro.org>2020-10-13 15:16:58 +0530
commit1507a0f24eac41dc86df66805785c3370fdfc45a (patch)
tree61f6652bf7b4d3c271d65d1c6a4c7ca5603eb744 /drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c
parent8e624894eda90e725b9ff20910ebb55505fa3677 (diff)
drm: panel: Add novatek nt36672a panel driverdev/poco-mainline-WIP
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> Change-Id: If181b3551c283025215dbf8c3a7e7c0e75429c40 --- v2: increase reset sequence timing to a safe 200ms v4: Since "0425662fdf05: drm: Nuke mode->vrefresh", we have to calculate vrefresh on demand. Update for it. v5: Fixed review comments from Sam: - rebased on top of drm-misc-next remove return of drm_panel_add() remove drm_panel_detach() - renamed the panel driver file to reflect that this is a novatek nt36672a display driver and not only for tianma panels. Adjusted some internal names also to reflect the same. - corrected changelog to add info about the generic Novatek DSI IC - corrected compatible string accordingly - removed pinctrl - used drm_panel* API for prepare/unprepare/disable/remove v6: Fixed few review comments on v5 from Sam: - add dev_err_probe() support - move DRM_* error printing to dev_err() - removed a few unnecessary bits v7: Fixed review comments on v6 from Bjorn: - Reworked the send_mipi_commands functionality - removed regulator disable_loads; moved active_load setting to probe time - made function names and struct less generic - updated the reset_gpio working to active_low - update MAINTAINERS for file name changes
Diffstat (limited to 'drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c')
0 files changed, 0 insertions, 0 deletions