Debian Codegraph @

Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml

raw
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
7 title: Himax HX8394 MIPI-DSI LCD panel controller
8
9 maintainers:
10 - Ondrej Jirman <[email protected]>
11 - Javier Martinez Canillas <[email protected]>
12
13 description:
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
18 properties:
19 compatible:
20 oneOf:
21 - items:
22 - enum:
23 - hannstar,hsd060bhw4
24 - microchip,ac40t08a-mipi-panel
25 - powkiddy,x55-panel
26 - const: himax,hx8394
27 - items:
28 - enum:
29 - huiling,hl055fhav028c
30 - const: himax,hx8399c
31
32 reg:
33 maxItems: 1
34
35 reset-gpios: true
36
37 backlight: true
38
39 rotation: true
40
41 port: true
42
43 vcc-supply:
44 description: Panel power supply
45
46 iovcc-supply:
47 description: I/O voltage supply
48
49 required:
50 - compatible
51 - reg
52 - backlight
53 - port
54 - vcc-supply
55 - iovcc-supply
56
57 additionalProperties: false
58
59 allOf:
60 - $ref: panel-common.yaml#
61 - if:
62 not:
63 properties:
64 compatible:
65 enum:
66 - microchip,ac40t08a-mipi-panel
67 then:
68 required:
69 - reset-gpios
70
71 examples:
72 - |
73 #include <dt-bindings/gpio/gpio.h>
74
75 dsi {
76 #address-cells = <1>;
77 #size-cells = <0>;
78 panel@0 {
79 compatible = "hannstar,hsd060bhw4", "himax,hx8394";
80 reg = <0>;
81 vcc-supply = <&reg_2v8_p>;
82 iovcc-supply = <&reg_1v8_p>;
83 reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
84 backlight = <&backlight>;
85
86 port {
87 mipi_in_panel: endpoint {
88 remote-endpoint = <&mipi_out_panel>;
89 };
90 };
91 };
92 };
93
94 ...