Skip to content

Commit 7dbdce8

Browse files
dillon-minlinusw
authored andcommitted
dt-bindings: display: panel: Add ilitek ili9341 panel bindings
Add documentation for "ilitek,ili9341" panel. Signed-off-by: Dillon Min <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Linus Walleij <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 49179e6 commit 7dbdce8

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9341.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ilitek-9341 Display Panel
8+
9+
maintainers:
10+
- Dillon Min <[email protected]>
11+
12+
description: |
13+
Ilitek ILI9341 TFT panel driver with SPI control bus
14+
This is a driver for 320x240 TFT panels, accepting a rgb input
15+
streams with 16 bits or 18 bits.
16+
17+
allOf:
18+
- $ref: panel-common.yaml#
19+
20+
properties:
21+
compatible:
22+
items:
23+
- enum:
24+
# ili9341 240*320 Color on stm32f429-disco board
25+
- st,sf-tc240t-9370-t
26+
- const: ilitek,ili9341
27+
28+
reg: true
29+
30+
dc-gpios:
31+
maxItems: 1
32+
description: Display data/command selection (D/CX) of this DBI panel
33+
34+
spi-3wire: true
35+
36+
spi-max-frequency:
37+
const: 10000000
38+
39+
port: true
40+
41+
vci-supply:
42+
description: Analog voltage supply (2.5 .. 3.3V)
43+
44+
vddi-supply:
45+
description: Voltage supply for interface logic (1.65 .. 3.3 V)
46+
47+
vddi-led-supply:
48+
description: Voltage supply for the LED driver (1.65 .. 3.3 V)
49+
50+
additionalProperties: false
51+
52+
required:
53+
- compatible
54+
- reg
55+
- dc-gpios
56+
- port
57+
58+
examples:
59+
- |+
60+
spi {
61+
#address-cells = <1>;
62+
#size-cells = <0>;
63+
panel: display@0 {
64+
compatible = "st,sf-tc240t-9370-t",
65+
"ilitek,ili9341";
66+
reg = <0>;
67+
spi-3wire;
68+
spi-max-frequency = <10000000>;
69+
dc-gpios = <&gpiod 13 0>;
70+
port {
71+
panel_in: endpoint {
72+
remote-endpoint = <&display_out>;
73+
};
74+
};
75+
};
76+
};
77+
...
78+

0 commit comments

Comments
 (0)