dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible
authorLeonard Göhrs <l.goehrs@pengutronix.de>
Wed, 14 Jun 2023 12:32:16 +0000 (14:32 +0200)
committerRob Herring <robh@kernel.org>
Thu, 15 Jun 2023 20:17:16 +0000 (14:17 -0600)
commit96b2b1a279e15d6441a244259744846a24eec8c0
treea140adb17876e773f074db2598fa1dc6a78a78c5
parent016a46dcc0c68c529ae65953d123c625225ee583
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-dbi

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20230614123222.4167460-3-l.goehrs@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml