Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / display / panel / kingdisplay,kd035g6-54nt.txt
1 King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
2
3 Required properties:
4 - compatible: should be "kingdisplay,kd035g6-54nt"
5 - power-supply: See panel-common.txt
6 - reset-gpios: See panel-common.txt
7
8 Optional properties:
9 - backlight: see panel-common.txt
10
11 The generic bindings for the SPI slaves documented in [1] also apply.
12
13 The device node can contain one 'port' child node with one child
14 'endpoint' node, according to the bindings defined in [2]. This
15 node should describe panel's video bus.
16
17 [1]: Documentation/devicetree/bindings/spi/spi-bus.txt
18 [2]: Documentation/devicetree/bindings/graph.txt
19
20 Example:
21
22 &spi {
23         panel@0 {
24                 compatible = "kingdisplay,kd035g6-54nt";
25                 reg = <0>;
26
27                 spi-max-frequency = <3125000>;
28                 spi-3wire;
29                 spi-cs-high;
30
31                 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
32
33                 backlight = <&backlight>;
34                 power-supply = <&ldo6>;
35
36                 port {
37                         panel_input: endpoint {
38                                 remote-endpoint = <&panel_output>;
39                         };
40                 };
41         };
42 };