Skip to content

drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCD

Mehdi Djait dri-devel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: display: Add Sharp LS027B7DH01 Memory LCDDocumentation/devicetree/bindings/display/sharp,ls027b7dh01.yaml+71 -01 reply
2/2drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCDMAINTAINERS drivers/gpu/drm/tiny/Kconfig drivers/gpu/drm/tiny/Makefile +1 more+427 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCD

This patch series adds a DRM driver for the sharp LS027B7DH01 memory display:
a 2.7" 400x240 monochrome 1 bit per pixel display SPI device.

This controller uses SPI both for control and for pixel data. Pixel data can be sent either as one line per SPI frame or multiple lines (up to the entire picture) in a single SPI frame. This driver implements the latter.

The Sharp Memory LCD requires an alternating signal to prevent the buildup of a DC bias that would result in a Display that no longer can be updated. Two modes for the generation of this signal are supported:

- Software, EXTMODE = Low: toggling the BIT(1) of the Command and writing it at least once a second to the display.

- Hardware, EXTMODE = High: the alternating signal should be supplied on the EXTCOMIN pin.

the Hardware mode is implemented with a PWM signal.

The driver announces the commonly supported XRGB8888 to userspace and uses the drm_fb_xrgb8888_to_mono() function to convert the format.

Mehdi Djait (2):
dt-bindings: display: Add Sharp LS027B7DH01 Memory LCD drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCD

 .../bindings/display/sharp,ls027b7dh01.yaml   |  71 +++
 MAINTAINERS                                   |   7 +
 drivers/gpu/drm/tiny/Kconfig                  |   8 +
 drivers/gpu/drm/tiny/Makefile                 |   1 +
 drivers/gpu/drm/tiny/sharp-ls027b7dh01.c      | 411 ++++++++++++++++++
 5 files changed, 498 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/sharp,ls027b7dh01.yaml
 create mode 100644 drivers/gpu/drm/tiny/sharp-ls027b7dh01.c
Signature · 1 line
2.41.0