Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / panel / himax,hx8394.yaml
blob75ccabff308bfa0d27d4cba9f2c8ce86dba225c6
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#
7 title: Himax HX8394 MIPI-DSI LCD panel controller
9 maintainers:
10   - Ondrej Jirman <megi@xff.cz>
11   - Javier Martinez Canillas <javierm@redhat.com>
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.
18 properties:
19   compatible:
20     items:
21       - enum:
22           - hannstar,hsd060bhw4
23           - microchip,ac40t08a-mipi-panel
24           - powkiddy,x55-panel
25       - const: himax,hx8394
27   reg:
28     maxItems: 1
30   reset-gpios: true
32   backlight: true
34   rotation: true
36   port: true
38   vcc-supply:
39     description: Panel power supply
41   iovcc-supply:
42     description: I/O voltage supply
44 required:
45   - compatible
46   - reg
47   - backlight
48   - port
49   - vcc-supply
50   - iovcc-supply
52 additionalProperties: false
54 allOf:
55   - $ref: panel-common.yaml#
56   - if:
57       not:
58         properties:
59           compatible:
60             enum:
61               - microchip,ac40t08a-mipi-panel
62     then:
63       required:
64         - reset-gpios
66 examples:
67   - |
68     #include <dt-bindings/gpio/gpio.h>
70     dsi {
71         #address-cells = <1>;
72         #size-cells = <0>;
73         panel@0 {
74             compatible = "hannstar,hsd060bhw4", "himax,hx8394";
75             reg = <0>;
76             vcc-supply = <&reg_2v8_p>;
77             iovcc-supply = <&reg_1v8_p>;
78             reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
79             backlight = <&backlight>;
81             port {
82                 mipi_in_panel: endpoint {
83                     remote-endpoint = <&mipi_out_panel>;
84                 };
85             };
86         };
87     };
89 ...