xref: /linux/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml (revision 375c4d1583948cf2439833e4a85d5a0aee853895)
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
18allOf:
19  - $ref: panel-common.yaml#
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - hannstar,hsd060bhw4
26          - powkiddy,x55-panel
27      - const: himax,hx8394
28
29  reg:
30    maxItems: 1
31
32  reset-gpios: true
33
34  backlight: true
35
36  rotation: true
37
38  port: true
39
40  vcc-supply:
41    description: Panel power supply
42
43  iovcc-supply:
44    description: I/O voltage supply
45
46required:
47  - compatible
48  - reg
49  - reset-gpios
50  - backlight
51  - port
52  - vcc-supply
53  - iovcc-supply
54
55additionalProperties: false
56
57examples:
58  - |
59    #include <dt-bindings/gpio/gpio.h>
60
61    dsi {
62        #address-cells = <1>;
63        #size-cells = <0>;
64        panel@0 {
65            compatible = "hannstar,hsd060bhw4", "himax,hx8394";
66            reg = <0>;
67            vcc-supply = <&reg_2v8_p>;
68            iovcc-supply = <&reg_1v8_p>;
69            reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
70            backlight = <&backlight>;
71
72            port {
73                mipi_in_panel: endpoint {
74                    remote-endpoint = <&mipi_out_panel>;
75                };
76            };
77        };
78    };
79
80...
81