dt-bindings: display: convert sony,acx565akm to DT Schema
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / panel / sony,acx565akm.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/sony,acx565akm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Sony ACX565AKM SDI 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   - Tomi Valkeinen <tomi.valkeinen@ti.com>
15
16 allOf:
17   - $ref: panel-common.yaml#
18
19 properties:
20   compatible:
21     const: sony,acx565akm
22
23   label: true
24   reset-gpios: true
25   port: true
26
27 required:
28   - compatible
29   - port
30
31 unevaluatedProperties: false
32
33 examples:
34   - |
35     #include <dt-bindings/gpio/gpio.h>
36
37     spi {
38         #address-cells = <1>;
39         #size-cells = <0>;
40
41         panel@2 {
42             compatible = "sony,acx565akm";
43             spi-max-frequency = <6000000>;
44             reg = <2>;
45
46             label = "lcd";
47             reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
48
49             port {
50                 lcd_in: endpoint {
51                     remote-endpoint = <&sdi_out>;
52                 };
53             };
54         };
55     };
56
57 ...