All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/panel: Add support for the Sitronix ST7789V
@ 2017-04-03 13:38 ` Maxime Ripard
  0 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2017-04-03 13:38 UTC (permalink / raw)
  To: Mark Rutland, Rob Herring, Thierry Reding
  Cc: Daniel Vetter, David Airlie,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	noralf-L59+Z2yzLopAfugRpC6u6w, Maxime Ripard

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 v2:
  - Added Rob's Acked-by

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: 62e499ad00e32736b2dd223f442e19d3df5eeed3
-- 
git-series 0.8.11
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-06 21:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-03 13:38 [PATCH v3 0/2] drm/panel: Add support for the Sitronix ST7789V Maxime Ripard
2017-04-03 13:38 ` Maxime Ripard
2017-04-03 13:38 ` [PATCH v3 1/2] dt-bindings: display: panel: Add bindings for the Sitronix ST7789V panel Maxime Ripard
2017-04-03 13:38   ` Maxime Ripard
     [not found]   ` <85ff9c2013ed43f3ad4c566d3430fab380d9a80a.1491226701.git-series.maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-04-06 21:52     ` Thierry Reding
2017-04-06 21:52       ` Thierry Reding
2017-04-03 13:38 ` [PATCH v3 2/2] drm/panel: Add driver for sitronix ST7789V LCD controller Maxime Ripard
2017-04-03 13:38   ` Maxime Ripard
2017-04-06 21:53   ` Thierry Reding
2017-04-06 21:53     ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.