aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-03 09:38:31 -0400
committerThierry Reding <treding@nvidia.com>2017-04-06 17:50:24 -0400
commit63c32f7cd48bd651a5be249e01b74b771f685fd8 (patch)
tree5c3a6ae1d36c7e399a4651c1e8daa8cc00e70c79
parented29f9426d9bf1b5ec7e79dfb28f39de7b3a0069 (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt
new file mode 100644
index 000000000000..c6995dde641b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt
@@ -0,0 +1,37 @@
1Sitronix ST7789V RGB panel with SPI control bus
2
3Required 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
9Optional properties:
10 - backlight: phandle to the backlight used
11
12The generic bindings for the SPI slaves documented in [1] also applies
13
14The device node can contain one 'port' child node with one child
15'endpoint' node, according to the bindings defined in [2]. This
16node should describe panel's video bus.
17
18[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
19[2]: Documentation/devicetree/bindings/graph.txt
20
21Example:
22
23panel@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};