| From: |
| Sumit Semwal <sumit.semwal-AT-linaro.org> |
| To: |
| Thierry Reding <thierry.reding-AT-gmail.com>, Sam Ravnborg <sam-AT-ravnborg.org> |
| Subject: |
| [PATCH v4 0/2] Add support for Tianma nt36672a video mode panel |
| Date: |
| Tue, 11 Aug 2020 23:51:05 +0530 |
| Message-ID: |
| <20200811182107.6515-1-sumit.semwal@linaro.org> |
| Cc: |
| David Airlie <airlied-AT-linux.ie>, Daniel Vetter <daniel-AT-ffwll.ch>, Mauro Carvalho Chehab <mchehab+huawei-AT-kernel.org>, "David S . Miller" <davem-AT-davemloft.net>, Rob Herring <robh-AT-kernel.org>, linux-kernel-AT-vger.kernel.org, dri-devel-AT-lists.freedesktop.org, devicetree-AT-vger.kernel.org, Bjorn Andersson <bjorn.andersson-AT-linaro.org>, Sumit Semwal <sumit.semwal-AT-linaro.org> |
| Archive-link: |
| Article |
Some Poco F1 phones from Xiaomi have an nt36672a video mode panel; add support
for the same.
Most of the panel data is taken from downstream panel dts, and is converted to
drm-panel based driver by me.
It has been validated with v5.8-rc5 on Poco F1 phone; my tree with other
dependent patches is here [1]
[1]: https://git.linaro.org/people/sumit.semwal/linux-dev.git/...
---
v2: In dt-binding, removed ports node, making port@0 directly under panel@0 node.
Also updated the panel_on delay to a safer 200ms as needed for latest Android.
v3: Replaced port@0 with just port in panel@0 node.
v4: Since "0425662fdf05: drm: Nuke mode->vrefresh", we have to calculate
vrefresh on demand. Update for it.
Sumit Semwal (2):
dt-bindings: display: panel: Add bindings for Tianma nt36672a panel
drm: panel: Add tianma nt36672a panel driver
.../display/panel/tianma,nt36672a.yaml | 95 ++
MAINTAINERS | 7 +
drivers/gpu/drm/panel/Kconfig | 11 +
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu/drm/panel/panel-tianma-nt36672a.c | 858 ++++++++++++++++++
5 files changed, 972 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml
create mode 100644 drivers/gpu/drm/panel/panel-tianma-nt36672a.c
--
2.28.0