From: "Noralf Trønnes" <noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
"Noralf Trønnes" <noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
Subject: [PATCH 0/4] drm/tinydrm: Add support for Pervasive Displays RePaper monochrome e-ink panels
Date: Fri, 2 Jun 2017 13:49:11 +0200 [thread overview]
Message-ID: <1496404155-8344-1-git-send-email-noralf@tronnes.org> (raw)
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
next reply other threads:[~2017-06-02 11:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 11:49 Noralf Trønnes [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496404155-8344-1-git-send-email-noralf@tronnes.org \
--to=noralf-l59+z2yzlopafugrpc6u6w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).