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