Merge tag 'rproc-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / panel / innolux,ej030na.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/innolux,ej030na.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel
8
9 description: |
10   The panel must obey the rules for a SPI slave device as specified in
11   spi/spi-controller.yaml
12
13 maintainers:
14   - Paul Cercueil <paul@crapouillou.net>
15
16 allOf:
17   - $ref: panel-common.yaml#
18
19 properties:
20   compatible:
21     const: innolux,ej030na
22
23   backlight: true
24   port: true
25   power-supply: true
26   reg: true
27   reset-gpios: true
28
29 required:
30   - compatible
31   - reg
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 = "innolux,ej030na";
47             reg = <0>;
48
49             spi-max-frequency = <10000000>;
50
51             reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
52             power-supply = <&lcd_power>;
53
54             backlight = <&backlight>;
55
56             port {
57                 panel_input: endpoint {
58                     remote-endpoint = <&panel_output>;
59                 };
60             };
61         };
62     };