devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/tinydrm: Add support for Pervasive Displays RePaper monochrome e-ink panels
@ 2017-06-02 11:49 Noralf Trønnes
       [not found] ` <1496404155-8344-1-git-send-email-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Noralf Trønnes @ 2017-06-02 11:49 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, Noralf Trønnes

This adds support for the 1.44", 1.9", 2.0" and 2.7" Pervasive Diplays
monochrome e-ink panels. The code was taken from the userspace driver
available through repaper.org.

Monochrome
Since drm doesn't have support for monochrome, I have added a helper to
convert XRGB8888 to greyscale8. XRGB8888 is very common so that's why I
chose that format, but maybe some YUV format is better suited, I don't
know. There are some greyscale e-ink panels, so that's why I chose
greyscale instead of going directly to monochrome.

I have hacked together a python drm library to make it easy to use these
displays, mainly targeted at the maker community:
https://github.com/notro/pydrm

Noralf.

Noralf Trønnes (4):
  of: Add vendor prefix for Pervasive Displays
  dt-bindings: Add Pervasive Displays RePaper bindings
  drm/tinydrm: Add tinydrm_xrgb8888_to_gray8() helper
  drm/tinydrm: Add RePaper e-ink driver

 .../devicetree/bindings/display/repaper.txt        |   52 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 MAINTAINERS                                        |    6 +
 drivers/gpu/drm/tinydrm/Kconfig                    |   12 +
 drivers/gpu/drm/tinydrm/Makefile                   |    1 +
 drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c     |   74 +-
 drivers/gpu/drm/tinydrm/repaper.c                  | 1095 ++++++++++++++++++++
 include/drm/tinydrm/tinydrm-helpers.h              |    1 +
 8 files changed, 1240 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/repaper.txt
 create mode 100644 drivers/gpu/drm/tinydrm/repaper.c

-- 
2.7.4

--
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] 13+ messages in thread

end of thread, other threads:[~2017-06-07 22:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02 11:49 [PATCH 0/4] drm/tinydrm: Add support for Pervasive Displays RePaper monochrome e-ink panels Noralf Trønnes
     [not found] ` <1496404155-8344-1-git-send-email-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2017-06-02 11:49   ` [PATCH 1/4] of: Add vendor prefix for Pervasive Displays Noralf Trønnes
     [not found]     ` <1496404155-8344-2-git-send-email-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2017-06-07 22:37       ` Rob Herring
2017-06-02 11:49   ` [PATCH 2/4] dt-bindings: Add Pervasive Displays RePaper bindings Noralf Trønnes
2017-06-07 22:39     ` Rob Herring
2017-06-02 11:49   ` [PATCH 3/4] drm/tinydrm: Add tinydrm_xrgb8888_to_gray8() helper Noralf Trønnes
2017-06-02 11:49   ` [PATCH 4/4] drm/tinydrm: Add RePaper e-ink driver Noralf Trønnes
     [not found]     ` <1496404155-8344-5-git-send-email-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2017-06-07  9:30       ` Emil Velikov
     [not found]         ` <CACvgo50+0DEeR=M9pyWvhgzKFnUivFVrmjisDL0jLPmB4ofz1w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-07 11:52           ` Noralf Trønnes
     [not found]             ` <e782fcac-9d84-00bf-6c5a-8d908d9570f2-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2017-06-07 12:11               ` Ilia Mirkin
2017-06-07 12:52                 ` Noralf Trønnes
2017-06-07 12:14             ` Emil Velikov
     [not found]               ` <CACvgo51+eC8VnB_HspvW0hRX4c8Rn3wV=Rpz-wO-Pf_PR3POMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-07 12:57                 ` Noralf Trønnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).