Skip to content

Commit c221473

Browse files
authored
Merge pull request torvalds#353 from analogdevicesinc/master-xilinx-2018.3
master: update with xilinx-v2018.3 release tag The testing has been finalized on the HDL side. The code from xilinx-v2018.3 release tag has also been validated. The only major highlight for this change (other than Xilinx patches) is this patch 1f47ad4 ("serial: uartlite: fix null dereference on probe error path") which was also sent to Xilinx and applied to their master. Signed-off-by: Alexandru Ardelean <[email protected]>
2 parents 986fe43 + 42f37f4 commit c221473

File tree

198 files changed

+24061
-3885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+24061
-3885
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
Binding for Silicon Labs si5324, si5328 and si5319 programmable
2+
I2C clock generator.
3+
4+
Reference
5+
This binding uses the common clock binding[1].
6+
The si5324 is programmable i2c low-bandwidth, jitter-attenuating, precision
7+
clock multiplier with up to 2 output clocks. The internal structure can be
8+
found in [2].
9+
The internal pin structure of si5328 and si5319 can be found in [3].
10+
11+
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
12+
[2] Si5324 Data Sheet
13+
http://www.silabs.com/Support%20Documents/TechnicalDocs/Si5324.pdf
14+
[3] Si53xx Reference Manual
15+
http://www.silabs.com/Support%20Documents/TechnicalDocs/
16+
Si53xxReferenceManual.pdf
17+
18+
==I2C device node==
19+
20+
Required properties:
21+
- compatible: should be one of
22+
"silabs,si5324"
23+
"silabs,si5319"
24+
"silabs,si5328"
25+
- reg: i2c device address.
26+
- #clock-cells: from common clock binding; shall be set to 1.
27+
- clocks: from common clock binding; list of parent clock
28+
handles, clock name should be one of
29+
"xtal"
30+
"clkin1"
31+
"clkin2"
32+
- #address-cells: shall be set to 1.
33+
- #size-cells: shall be set to 0.
34+
35+
Optional properties:
36+
- silabs,pll-source: pair of (number, source) for each pll. Allows
37+
to overwrite clock source of pll.
38+
39+
==Child nodes==
40+
41+
Each of the clock outputs can be overwritten individually by
42+
using a child node to the I2C device node. If a child node for a clock
43+
output is not set, the eeprom configuration is not overwritten.
44+
45+
Required child node properties:
46+
- reg: number of clock output.
47+
- clock-frequency: default output frequency at power on
48+
49+
Optional child node properties:
50+
- silabs,drive-strength: output drive strength in mA, shall be one of {2,4,6,8}.
51+
52+
Example:
53+
Following example describes the ZCU102 board with hdmi design which
54+
uses si5319 as clock generator. XTAL is hard-wired on the board to act
55+
as input clock with a frequency of 114.285MHz.
56+
57+
refhdmi: refhdmi {
58+
compatible = "fixed-clock";
59+
#clock-cells = <0>;
60+
clock-frequency = <114285000>;
61+
};
62+
63+
/* Si5319 i2c clock generator */
64+
si5319: clock-generator@68 {
65+
status = "okay";
66+
compatible = "silabs,si5319";
67+
reg = <0x68>;
68+
#address-cells = <1>;
69+
#size-cells = <0>;
70+
#clock-cells = <1>;
71+
clocks = <&refhdmi>;
72+
clock-names = "xtal";
73+
74+
clk0 {
75+
reg = <0>;
76+
clock-frequency = <27000000>;
77+
};
78+
};

Documentation/devicetree/bindings/clock/xlnx,zynqmp-clk.txt

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ The following strings are optional parameters to the 'clock-names' property in
3535
order to provide an optional (E)MIO clock source.
3636
- swdt0_ext_clk
3737
- swdt1_ext_clk
38-
- gem0_emio_clk
39-
- gem1_emio_clk
40-
- gem2_emio_clk
41-
- gem3_emio_clk
38+
- gem0_tx_ext
39+
- gem1_tx_ext
40+
- gem2_tx_ext
41+
- gem3_tx_ext
42+
- gem0_rx_ext
43+
- gem1_rx_ext
44+
- gem2_rx_ext
45+
- gem3_rx_ext
4246
- mio_clk_XX # with XX = 00..77
4347
- mio_clk_50_or_51 #for the mux clock to gem tsu from 50 or 51
4448

@@ -94,14 +98,14 @@ Clock ID: Output clock name:
9498
42 iou_switch
9599
43 gem_tsu_ref
96100
44 gem_tsu
97-
45 gem0_ref
98-
46 gem1_ref
99-
47 gem2_ref
100-
48 gem3_ref
101-
49 gem0_tx
102-
50 gem1_tx
103-
51 gem2_tx
104-
52 gem3_tx
101+
45 gem0_tx
102+
46 gem1_tx
103+
47 gem2_tx
104+
48 gem3_tx
105+
49 gem0_rx
106+
50 gem1_rx
107+
51 gem2_rx
108+
52 gem3_rx
105109
53 qspi_ref
106110
54 sdio0_ref
107111
55 sdio1_ref
@@ -152,6 +156,15 @@ Clock ID: Output clock name:
152156
100 vpll_post_src
153157
101 can0_mio
154158
102 can1_mio
159+
103 acpu_full
160+
104 gem0_ref
161+
105 gem1_ref
162+
106 gem2_ref
163+
107 gem3_ref
164+
108 gem0_ref_ung
165+
109 gem1_ref_ung
166+
110 gem2_ref_ung
167+
111 gem3_ref_ung
155168

156169
Example:
157170

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Xilinx ZynqMP AES hw acceleration support
2+
3+
The ZynqMP PS-AES hw accelerator is used to encrypt/decrypt
4+
the given user data.
5+
6+
Required properties:
7+
- compatible: should contain "xlnx,zynqmp-aes"
8+
9+
Example:
10+
zynqmp_aes {
11+
compatible = "xlnx,zynqmp-aes";
12+
};

Documentation/devicetree/bindings/display/xlnx/xlnx,sdi-tx.txt

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ Required properties:
1111
external device. In the display controller port nodes, topology
1212
for entire pipeline should be described using the DT bindings defined in
1313
Documentation/devicetree/bindings/graph.txt.
14+
Minimum one port is required. At max, 2 ports are present.
15+
The reg index for AXI4 stream port is 0 and for ancillary data is 1.
1416

1517
Optional properties:
1618
- xlnx,vpss: vpss phandle
1719
This handle is required only when VPSS is connected to SDI as bridge.
20+
- xlnx,tx-insert-c-str-st352: Insert ST352 payload in Chroma stream.
1821

1922
Example:
2023

@@ -26,10 +29,21 @@ Example:
2629
#address-cells = <1>;
2730
#size-cells = <0>;
2831
xlnx,vpss = <&v_proc_ss_0>;
29-
encoder_sdi_port: port@0 {
30-
reg = <0>;
31-
sdi_encoder: endpoint {
32-
remote-endpoint = <&xyz_port>;
32+
ports {
33+
#address-cells = <1>;
34+
#size-cells = <0>;
35+
encoder_sdi_port: port@0 {
36+
reg = <0>;
37+
sdi_encoder: endpoint {
38+
remote-endpoint = <&pl_disp_crtc>;
39+
};
40+
};
41+
42+
sdi_audio_port: port@1 {
43+
reg = <1>;
44+
sdi_audio_sink_port: endpoint {
45+
remote-endpoint = <&sditx_audio_embed_src_port>;
46+
};
3347
};
3448
};
3549
};

Documentation/devicetree/bindings/dma/xilinx/xilinx_frmbuf.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ Optional Properties Common to both FB Read and FB Write for v2.1:
4646
- xlnx,fid : Field ID enabled for interlaced video support.
4747
Can be absent for progressive video.
4848

49+
Optional properties:
50+
- xlnx,max-height : Maximum number of lines.
51+
- xlnx,max-width : Maximum number of pixels in a line.
52+
4953
VIDEO FORMATS
5054
The following table describes the legal string values to be used for
5155
the xlnx,vid-formats property. To the left is the string value and the

Documentation/devicetree/bindings/fpga/xilinx-zynqmp-fpga-mgr.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ Xilinx Zynqmp FPGA Manager
22

33
Required properties:
44
- compatible: should contain "xlnx,zynqmp-pcap-fpga"
5+
- clocks: phandle for clocks required operation
6+
- clock-names: name for the clock, should be "ref_clk"
57

68
Example:
79
pcap: pcap@00 {
810
compatible = "xlnx,zynqmp-pcap-fpga";
11+
clocks = <&clkc 41>;
12+
clock-names = "ref_clk";
913
};
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Xilinx Zynq AFI interface Manager
2+
3+
The Zynq Processing System core provides access from PL masters to PS
4+
internal peripherals, and memory through AXI FIFO interface
5+
(AFI) interfaces.
6+
7+
Required properties:
8+
-compatible: Should contain "xlnx,zynq-afi-fpga"
9+
-reg: Physical base address and size of the controller's register area.
10+
-xlnx,afi-buswidth : Size of the afi bus width.
11+
0: 64-bit AXI data width,
12+
1: 32-bit AXI data width,
13+
14+
Example:
15+
afi0: afi0 {
16+
compatible = "xlnx,zynq-afi-fpga";
17+
reg = <0xf8008000 0x1000>;
18+
xlnx,afi-buswidth = <1>;
19+
};

Documentation/devicetree/bindings/media/xilinx/xlnx,csi2rxss.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Required properties:
5959
- data-lanes: The number of data lanes through which CSI2 Rx Subsystem is
6060
connected to the camera sensor as per video-interfaces.txt
6161

62+
Optional Properties
63+
64+
- xlnx,en-vcx: When present, the max number of virtual channels can be 16 else 4.
65+
6266
Example:
6367

6468
csiss_1: csiss@a0020000 {
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Xilinx Video IP MEM2MEM Pipeline (XVIM2M)
2+
----------------------------------------
3+
4+
Xilinx video IP mem2mem pipeline processes DMA transfers to achieve memory
5+
copy from one physical memory to other. The data is copied by employing two
6+
DMA transfers memory to device and device to memory transactions one after
7+
the other. The DT node of the XVIM2M represents as a top level node of the
8+
pipeline and defines mappings between DMAs.
9+
10+
Required properties:
11+
12+
- compatible: Must be "xlnx,mem2mem".
13+
14+
- dmas, dma-names: List of two DMA specifier and identifier strings (as
15+
defined in Documentation/devicetree/bindings/dma/dma.txt) per port.
16+
Identifier string of one DMA channel should be "tx" and other should be
17+
"rx".
18+
19+
Example:
20+
21+
video_m2m {
22+
compatible = "xlnx,mem2mem";
23+
dmas = <&dma_1 0>, <&dma_2 0>;
24+
dma-names = "tx", "rx";
25+
};

Documentation/devicetree/bindings/media/xilinx/xlnx,sdirxss.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Required properties:
2323

2424
- xlnx,line-rate: The maximum mode supported by the design.
2525

26+
- clocks: Input clock specifier. Refer to common clock bindings.
27+
28+
- clock-names: List of input clocks.
29+
Required elements: "s_axi_aclk", "sdi_rx_clk", "video_out_clk"
30+
2631
- port: Video port, using the DT bindings defined in ../video-interfaces.txt.
2732
The SDI Rx subsystem has one port configured as output port.
2833

@@ -40,6 +45,8 @@ Example:
4045
xlnx,include-edh = "true";
4146
xlnx,include-vid-over-axi = "true";
4247
xlnx,line-rate = "12G_SDI_8DS";
48+
clocks = <&clk_1>, <&si570_1>, <&clk_2>;
49+
clock-names = "s_axi_aclk", "sdi_rx_clk", "video_out_clk";
4350

4451
ports {
4552
#address-cells = <1>;

0 commit comments

Comments
 (0)