xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/boe,td4320.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/boe,td4320.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: BOE TD4320 MIPI-DSI panels
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Barnabas Czeman <barnabas.czeman@mainlining.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  BOE TD4320 6.3" 1080x2340 panel found in Xiaomi Redmi Note 7 smartphone.
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel VadotallOf:
16*ae5de77eSEmmanuel Vadot  - $ref: panel-common.yaml#
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadotproperties:
19*ae5de77eSEmmanuel Vadot  compatible:
20*ae5de77eSEmmanuel Vadot    items:
21*ae5de77eSEmmanuel Vadot      - const: boe,td4320
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadot  reg:
24*ae5de77eSEmmanuel Vadot    maxItems: 1
25*ae5de77eSEmmanuel Vadot
26*ae5de77eSEmmanuel Vadot  iovcc-supply:
27*ae5de77eSEmmanuel Vadot    description: I/O voltage rail
28*ae5de77eSEmmanuel Vadot
29*ae5de77eSEmmanuel Vadot  vsn-supply:
30*ae5de77eSEmmanuel Vadot    description: Negative source voltage rail
31*ae5de77eSEmmanuel Vadot
32*ae5de77eSEmmanuel Vadot  vsp-supply:
33*ae5de77eSEmmanuel Vadot    description: Positive source voltage rail
34*ae5de77eSEmmanuel Vadot
35*ae5de77eSEmmanuel Vadotrequired:
36*ae5de77eSEmmanuel Vadot  - compatible
37*ae5de77eSEmmanuel Vadot  - reg
38*ae5de77eSEmmanuel Vadot  - reset-gpios
39*ae5de77eSEmmanuel Vadot  - port
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel VadotunevaluatedProperties: false
42*ae5de77eSEmmanuel Vadot
43*ae5de77eSEmmanuel Vadotexamples:
44*ae5de77eSEmmanuel Vadot  - |
45*ae5de77eSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
46*ae5de77eSEmmanuel Vadot
47*ae5de77eSEmmanuel Vadot    dsi {
48*ae5de77eSEmmanuel Vadot        #address-cells = <1>;
49*ae5de77eSEmmanuel Vadot        #size-cells = <0>;
50*ae5de77eSEmmanuel Vadot
51*ae5de77eSEmmanuel Vadot        panel@0 {
52*ae5de77eSEmmanuel Vadot            compatible = "boe,td4320";
53*ae5de77eSEmmanuel Vadot            reg = <0>;
54*ae5de77eSEmmanuel Vadot            backlight = <&backlight>;
55*ae5de77eSEmmanuel Vadot            reset-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
56*ae5de77eSEmmanuel Vadot
57*ae5de77eSEmmanuel Vadot            port {
58*ae5de77eSEmmanuel Vadot                panel_in: endpoint {
59*ae5de77eSEmmanuel Vadot                    remote-endpoint = <&dsi_out>;
60*ae5de77eSEmmanuel Vadot                };
61*ae5de77eSEmmanuel Vadot            };
62*ae5de77eSEmmanuel Vadot        };
63*ae5de77eSEmmanuel Vadot    };
64*ae5de77eSEmmanuel Vadot
65*ae5de77eSEmmanuel Vadot...
66