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