xref: /linux/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml (revision 6efc0ab3b05de0d7bab8ec0597214e4788251071)
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/himax,hx8394.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Himax HX8394 MIPI-DSI LCD panel controller
8
9maintainers:
10  - Ondrej Jirman <megi@xff.cz>
11  - Javier Martinez Canillas <javierm@redhat.com>
12
13description:
14  Device tree bindings for panels based on the Himax HX8394 controller,
15  such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with
16  a MIPI-DSI video interface.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - hannstar,hsd060bhw4
23          - microchip,ac40t08a-mipi-panel
24          - powkiddy,x55-panel
25      - const: himax,hx8394
26
27  reg:
28    maxItems: 1
29
30  reset-gpios: true
31
32  backlight: true
33
34  rotation: true
35
36  port: true
37
38  vcc-supply:
39    description: Panel power supply
40
41  iovcc-supply:
42    description: I/O voltage supply
43
44required:
45  - compatible
46  - reg
47  - backlight
48  - port
49  - vcc-supply
50  - iovcc-supply
51
52additionalProperties: false
53
54allOf:
55  - $ref: panel-common.yaml#
56  - if:
57      not:
58        properties:
59          compatible:
60            enum:
61              - microchip,ac40t08a-mipi-panel
62    then:
63      required:
64        - reset-gpios
65
66examples:
67  - |
68    #include <dt-bindings/gpio/gpio.h>
69
70    dsi {
71        #address-cells = <1>;
72        #size-cells = <0>;
73        panel@0 {
74            compatible = "hannstar,hsd060bhw4", "himax,hx8394";
75            reg = <0>;
76            vcc-supply = <&reg_2v8_p>;
77            iovcc-supply = <&reg_1v8_p>;
78            reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
79            backlight = <&backlight>;
80
81            port {
82                mipi_in_panel: endpoint {
83                    remote-endpoint = <&mipi_out_panel>;
84                };
85            };
86        };
87    };
88
89...
90