blob: 916bb7f94206293bf9d7584a1dc77e482cc91ee6 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
Tom Rini93743d22024-04-01 09:08:13 -040026 - powkiddy,x55-panel
Tom Rini53633a82024-02-29 12:33:36 -050027 - const: himax,hx8394
28
29 reg: true
30
31 reset-gpios: true
32
33 backlight: true
34
Tom Rini93743d22024-04-01 09:08:13 -040035 rotation: true
36
Tom Rini53633a82024-02-29 12:33:36 -050037 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...