Messages in this thread | | | From | Maxime Ripard <> | Subject | [PATCH v2 0/2] drm/panel: Add support for the Sitronix ST7789V | Date | Thu, 9 Feb 2017 14:14:26 +0100 |
| |
Hi,
Here is an attempt at supporting the ST7789V LCD controller from Sitronix.
It is controlled through an SPI bus, with a twist, since each byte sent must be prefixed by a bit, which needs an 9-bits-per-word SPI controller, which is quite rare. Else, you would need to bitbang it.
Let me know what you think, Maxime
Changes from v1: - Added regulator support - Removed variadic arguments from the functions - Added test on the success of the SPI transfers - Used the MIPI DCS defines - Expanded the Kconfig help, and fixed the option label
Maxime Ripard (2): dt-bindings: display: panel: Add bindings for the Sitronix ST7789V panel drm/panel: Add driver for sitronix ST7789V LCD controller
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt | 37 ++++++- drivers/gpu/drm/panel/Kconfig | 7 +- drivers/gpu/drm/panel/Makefile | 1 +- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 449 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 494 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt create mode 100644 drivers/gpu/drm/panel/panel-sitronix-st7789v.c
base-commit: 2a6e628efb37432a83bb42b00e3c403b1d8873dd -- git-series 0.8.11
| |