1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
Device-Tree bindings for Xilinx MIPI DSI Tx IP core
The IP core supports transmission of video data in MIPI DSI protocol.
Required properties:
- compatible: Should be "xlnx,dsi".
- reg: Base address and size of the IP core.
- xlnx,dsi-datatype: Color format. The value should be one of "MIPI_DSI_FMT_RGB888",
"MIPI_DSI_FMT_RGB666", "MIPI_DSI_FMT_RGB666_PACKED" or "MIPI_DSI_FMT_RGB565".
- simple_panel: The subnode for connected panel. This represents the
DSI peripheral connected to the DSI host node. Please refer to
Documentation/devicetree/bindings/display/mipi-dsi-bus.txt. The
simple-panel driver has auo,b101uan01 panel timing parameters added along
with other existing panels. DSI driver derive the required Tx IP controller
timing values from the panel timing parameters.
- port: Logical block can be used / connected independently with
external device. In the display controller port nodes, topology
for entire pipeline should be described using the DT bindings defined in
Documentation/devicetree/bindings/graph.txt.
- xlnx,dsi-num-lanes: Possible number of DSI lanes for the Tx controller.
The values should be 1, 2, 3 or 4. Based on xlnx,dsi-num-lanes and
line rate for the MIPI D-PHY core in Mbps, the AXI4-stream received by
Xilinx MIPI DSI Tx IP core adds markers as per DSI protocol and the packet
thus framed is convered to serial data by MIPI D-PHY core. Please refer
Xilinx pg238 for more details. This value should be equal to the number
of lanes supported by the connected DSI panel. Panel has to support this
value or has to be programmed to the same value that DSI Tx controller is
configured to.
- clocks: List of phandles to Video and 200Mhz DPHY clocks.
- clock-names: Must contain "s_axis_aclk" and "dphy_clk_200M" in same order as
clocks listed in clocks property.
Required simple_panel properties:
- compatible: Value should be one of the panel names in
Documentation/devicetree/bindings/display/panel/. e.g. "auo,b101uan01".
For available panel compatible strings, please refer to bindings in
Documentation/devicetree/bindings/display/panel/
Optional properties:
- xlnx,vpss: vpss phandle
This handle is required only when VPSS is connected to DSI as bridge.
- xlnx,dsi-cmd-mode: denotes command mode enable.
Example:
#include <dt-bindings/drm/mipi-dsi.h>
mipi_dsi_tx_subsystem@80000000 {
compatible = "xlnx,dsi";
reg = <0x0 0x80000000 0x0 0x10000>;
xlnx,dsi-num-lanes = <4>;
xlnx,dsi-data-type = <MIPI_DSI_FMT_RGB888>;
#address-cells = <1>;
#size-cells = <0>;
xlnx,vpss = <&v_proc_ss_0>;
clock-names = "dphy_clk_200M", "s_axis_aclk";
clocks = <&misc_clk_0>, <&misc_clk_1>;
encoder_dsi_port: port@0 {
reg = <0>;
dsi_encoder: endpoint {
remote-endpoint = <&xyz_port>;
};
};
simple_panel: simple-panel@0 {
compatible = "auo,b101uan01";
reg = <0>;
};
};
|