Debian Codegraph @

Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
8
9 maintainers:
10 - Paul Cercueil <[email protected]>
11
12 allOf:
13 - $ref: panel-common.yaml#
14 - $ref: /schemas/spi/spi-peripheral-props.yaml#
15
16 properties:
17 compatible:
18 const: kingdisplay,kd035g6-54nt
19
20 reg:
21 maxItems: 1
22
23 backlight: true
24 port: true
25 power-supply: true
26 reset-gpios: true
27
28 spi-3wire: true
29
30 required:
31 - compatible
32 - power-supply
33 - reset-gpios
34
35 unevaluatedProperties: false
36
37 examples:
38 - |
39 #include <dt-bindings/gpio/gpio.h>
40
41 spi {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 panel@0 {
46 compatible = "kingdisplay,kd035g6-54nt";
47 reg = <0>;
48
49 spi-max-frequency = <3125000>;
50 spi-3wire;
51
52 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
53
54 backlight = <&backlight>;
55 power-supply = <&ldo6>;
56
57 port {
58 panel_input: endpoint {
59 remote-endpoint = <&panel_output>;
60 };
61 };
62 };
63 };
64
65 ...