Commit 96b2b1a2 authored by Leonard Göhrs's avatar Leonard Göhrs Committed by Rob Herring

dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible

The Shineworld LH133K is a 1.3" 240x240px RGB LCD with a MIPI DBI
compatible SPI interface.
The initialization procedure is quite basic with the exception of
requiring inverted colors.
A basic mipi-dbi-cmd[1] script to get the display running thus looks
like this:

    $ cat shineworld,lh133k.txt
    command 0x11 # exit sleep mode
    delay 120

    # The display seems to require display color inversion, so enable it.
    command 0x21 # INVON

    # Enable normal display mode (in contrast to partial display mode).
    command 0x13 # NORON
    command 0x29 # MIPI_DCS_SET_DISPLAY_ON

    $ mipi-dbi-cmd shineworld,lh133k.bin shineworld,lh133k.txt

[1]: https://github.com/notro/panel-mipi-dbiSigned-off-by: default avatarLeonard Göhrs <l.goehrs@pengutronix.de>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20230614123222.4167460-3-l.goehrs@pengutronix.deSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 016a46dc
......@@ -67,6 +67,7 @@ properties:
items:
- enum:
- sainsmart18
- shineworld,lh133k
- const: panel-mipi-dbi-spi
write-only:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment