Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: panel: Add bindings for the Sitronix ST7789V panel

The Sitronix ST7789V is an LCD panel controller, controlled over SPI, that
can drive 18-bits 240x320 LCD displays.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Maxime Ripard and committed by
Thierry Reding
63c32f7c ed29f942

+37
+37
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt
··· 1 + Sitronix ST7789V RGB panel with SPI control bus 2 + 3 + Required properties: 4 + - compatible: "sitronix,st7789v" 5 + - reg: Chip select of the panel on the SPI bus 6 + - reset-gpios: a GPIO phandle for the reset pin 7 + - power-supply: phandle of the regulator that provides the supply voltage 8 + 9 + Optional properties: 10 + - backlight: phandle to the backlight used 11 + 12 + The generic bindings for the SPI slaves documented in [1] also applies 13 + 14 + The device node can contain one 'port' child node with one child 15 + 'endpoint' node, according to the bindings defined in [2]. This 16 + node should describe panel's video bus. 17 + 18 + [1]: Documentation/devicetree/bindings/spi/spi-bus.txt 19 + [2]: Documentation/devicetree/bindings/graph.txt 20 + 21 + Example: 22 + 23 + panel@0 { 24 + compatible = "sitronix,st7789v"; 25 + reg = <0>; 26 + reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; 27 + backlight = <&pwm_bl>; 28 + spi-max-frequency = <100000>; 29 + spi-cpol; 30 + spi-cpha; 31 + 32 + port { 33 + panel_input: endpoint { 34 + remote-endpoint = <&tcon0_out_panel>; 35 + }; 36 + }; 37 + };