[PATCH v2 0/4] drm/tinydrm: Add support for Pervasive Displays RePaper monochrome e-ink panels
Noralf Trønnes
noralf at tronnes.org
Thu Jun 8 15:14:31 UTC 2017
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.
Changes since version 1:
- DT maintainer acks
- Fix shadowed variable (Emil)
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
More information about the dri-devel
mailing list