blob: a108029ecfabc4b054fbe1535e8db31ff59c7579 [file] [log] [blame]
Paul Cercueile366a642020-11-01 09:31:48 +00001# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/abt,y030xx067a.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Asia Better Technology 3.0" (320x480 pixels) 24-bit IPS LCD panel
8
9description: |
10 The panel must obey the rules for a SPI slave device as specified in
11 spi/spi-controller.yaml
12
13maintainers:
14 - Paul Cercueil <paul@crapouillou.net>
15
16allOf:
17 - $ref: panel-common.yaml#
18
19properties:
20 compatible:
21 const: abt,y030xx067a
22
23 backlight: true
24 port: true
25 power-supply: true
26 reg: true
27 reset-gpios: true
28
29required:
30 - compatible
31 - reg
32 - power-supply
33 - reset-gpios
34
Paul Cercueil21df8682020-12-17 00:59:45 +000035unevaluatedProperties: false
Paul Cercueile366a642020-11-01 09:31:48 +000036
37examples:
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 = "abt,y030xx067a";
47 reg = <0>;
48
49 spi-max-frequency = <3125000>;
50
51 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
52
53 backlight = <&backlight>;
54 power-supply = <&vcc>;
55
56 port {
57 panel_input: endpoint {
58 remote-endpoint = <&panel_output>;
59 };
60 };
61 };
62 };