|
|
Subscribe / Log in / New account

drm/panel: Add Novatek NT35596 panel driver

From:  Jagan Teki <jagan-AT-amarulasolutions.com>
To:  Thierry Reding <thierry.reding-AT-gmail.com>, David Airlie <airlied-AT-linux.ie>, Daniel Vetter <daniel-AT-ffwll.ch>, Sam Ravnborg <sam-AT-ravnborg.org>, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>
Subject:  [PATCH 0/4] drm/panel: Add Novatek NT35596 panel driver
Date:  Mon, 4 Mar 2019 01:36:14 +0530
Message-ID:  <20190303200618.17581-1-jagan@amarulasolutions.com>
Cc:  Michael Trimarchi <michael-AT-amarulasolutions.com>, dri-devel-AT-lists.freedesktop.org, linux-kernel-AT-vger.kernel.org, linux-amarula-AT-amarulasolutions.com, devicetree-AT-vger.kernel.org, Jagan Teki <jagan-AT-amarulasolutions.com>
Archive-link:  Article

This patch set support Microtech MTF050FHDI-03 MIPI DSI panel, which
has Novatek NT35596 controller IC.

Since there is no proper programming guide for NT35596 IC, the driver 
init sequence is referenced from [1] but analyzed based on datasheet.

NT35596 support several regulators on the chip, among those ony 4
regulators like VCI, VDDI/DVDD, AVDD, AVEE are used during power-on
sequence. Right now driver added code for 3-regulator based power-on
sequence since MTF050FHDI-03 panel support. This power-on sequence may
be moved to panel_desc in future, if there is any new panel would come
up with other type of sequence.

[1] https://android.googlesource.com/kernel/msm/+/android-msm...

Any inputs?
Jagan.

Jagan Teki (4):
  dt-bindings: Add vendor prefix for novatek
  dt-bindings: Add vendor prefix for microtech
  dt-bindings: display: Add Novatek NT35596 panel documentation
  drm/panel: Add Novatek NT35596 panel driver

 .../display/panel/novatek,nt35596.txt         |  32 +
 .../devicetree/bindings/vendor-prefixes.txt   |   2 +
 MAINTAINERS                                   |   6 +
 drivers/gpu/drm/panel/Kconfig                 |  13 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 drivers/gpu/drm/panel/panel-novatek-nt35596.c | 860 ++++++++++++++++++
 6 files changed, 914 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35596.txt
 create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt35596.c

-- 
2.18.0.321.gffc6fa0e3



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds