Debian Codegraph @

Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml

raw
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,ili9805.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Ilitek ILI9805 based MIPI-DSI panels
8
9 maintainers:
10 - Michael Trimarchi <[email protected]>
11
12 allOf:
13 - $ref: panel-common.yaml#
14
15 properties:
16 compatible:
17 items:
18 - enum:
19 - giantplus,gpm1790a0
20 - tianma,tm041xdhg01
21 - const: ilitek,ili9805
22
23 reg:
24 maxItems: 1
25
26 avdd-supply: true
27 dvdd-supply: true
28
29 required:
30 - compatible
31 - avdd-supply
32 - dvdd-supply
33 - reg
34 - reset-gpios
35 - port
36 - backlight
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 #include <dt-bindings/gpio/gpio.h>
43
44 dsi {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 panel@0 {
49 compatible = "giantplus,gpm1790a0", "ilitek,ili9805";
50 reg = <0>;
51 avdd-supply = <&avdd_display>;
52 dvdd-supply = <&dvdd_display>;
53 reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
54 backlight = <&backlight>;
55
56 port {
57 panel_in: endpoint {
58 remote-endpoint = <&mipi_dsi_out>;
59 };
60 };
61 };
62 };
63
64 ...