File Index
Files and directories
Sign in
FILE

himax,hx8394.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml YAML
 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
18properties:
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
49required:
50  - compatible
51  - reg
52  - backlight
53  - port
54  - vcc-supply
55  - iovcc-supply
56
57additionalProperties: false
58
59allOf:
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
71examples:
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...
~/ Read-only file preview.