Debian Codegraph @

Documentation/devicetree/bindings/display/panel/boe,td4320.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/boe,td4320.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: BOE TD4320 MIPI-DSI panels
8
9 maintainers:
10 - Barnabas Czeman <[email protected]>
11
12 description:
13 BOE TD4320 6.3" 1080x2340 panel found in Xiaomi Redmi Note 7 smartphone.
14
15 allOf:
16 - $ref: panel-common.yaml#
17
18 properties:
19 compatible:
20 items:
21 - const: boe,td4320
22
23 reg:
24 maxItems: 1
25
26 iovcc-supply:
27 description: I/O voltage rail
28
29 vsn-supply:
30 description: Negative source voltage rail
31
32 vsp-supply:
33 description: Positive source voltage rail
34
35 required:
36 - compatible
37 - reg
38 - reset-gpios
39 - port
40
41 unevaluatedProperties: false
42
43 examples:
44 - |
45 #include <dt-bindings/gpio/gpio.h>
46
47 dsi {
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 panel@0 {
52 compatible = "boe,td4320";
53 reg = <0>;
54 backlight = <&backlight>;
55 reset-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
56
57 port {
58 panel_in: endpoint {
59 remote-endpoint = <&dsi_out>;
60 };
61 };
62 };
63 };
64
65 ...