Debian Codegraph @

Documentation/devicetree/bindings/display/panel/synaptics,td4300-panel.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/synaptics,td4300-panel.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Synaptics TDDI Display Panel Controller
8
9 maintainers:
10 - Kaustabh Chakraborty <[email protected]>
11
12 allOf:
13 - $ref: panel-common.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - syna,td4101-panel
19 - syna,td4300-panel
20
21 reg:
22 maxItems: 1
23
24 vio-supply:
25 description: core I/O voltage supply
26
27 vsn-supply:
28 description: negative voltage supply for analog circuits
29
30 vsp-supply:
31 description: positive voltage supply for analog circuits
32
33 backlight-gpios:
34 maxItems: 1
35 description: backlight enable GPIO
36
37 reset-gpios: true
38 width-mm: true
39 height-mm: true
40 panel-timing: true
41
42 required:
43 - compatible
44 - reg
45 - width-mm
46 - height-mm
47 - panel-timing
48
49 additionalProperties: false
50
51 examples:
52 - |
53 #include <dt-bindings/gpio/gpio.h>
54
55 dsi {
56 #address-cells = <1>;
57 #size-cells = <0>;
58
59 panel@0 {
60 compatible = "syna,td4300-panel";
61 reg = <0>;
62
63 vio-supply = <&panel_vio_reg>;
64 vsn-supply = <&panel_vsn_reg>;
65 vsp-supply = <&panel_vsp_reg>;
66
67 backlight-gpios = <&gpd3 5 GPIO_ACTIVE_LOW>;
68 reset-gpios = <&gpd3 4 GPIO_ACTIVE_LOW>;
69
70 width-mm = <68>;
71 height-mm = <121>;
72
73 panel-timing {
74 clock-frequency = <144389520>;
75
76 hactive = <1080>;
77 hsync-len = <4>;
78 hfront-porch = <120>;
79 hback-porch = <32>;
80
81 vactive = <1920>;
82 vsync-len = <2>;
83 vfront-porch = <21>;
84 vback-porch = <4>;
85 };
86 };
87 };
88
89 ...