axi_i2s/axi_spdif: Remove manual creation of Streaming AXI bus

It looks like Vivado is now able to infer these buses from the sources.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
scripts/adi_ip: Add helper function to create bus clock and reset interface

Add a helper function that can be used to register a clock and a reset interface for the clock and reset signals of a bus.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_i2s/axi_spdif: Create clock and reset interface for DMA bus

This avoids some critical warnings from Vivado that the DMA bus does not has any associated clocks.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
common: Disable TTC0 MMIO routing for PS7

We do not use the ttc0 to MMIO routing, but it is enabled by default, so
explicitly disable it.
util_dac_unpack: Drive unused ports to 0

Silences a few warnings about undriven ports from the tools.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
util_dac_unpack: Don't use localparam symbols in input/output signals

When using a localparam for the width of a input/output signal the tools
won't be able to infer the size of the signal. This results in the signal
always being only 1 bit wide which causes the design to not work.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
util_adc_pack: Hide unused signals

Hide unused signals based on the number of selected channels. This silences
a few warnings from the tools about unconnected pins.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
util_dac_unpack: Hide unused signals

Hide unused signals based on the number of selected channels. This silences
a few warnings from the tools about unconnected pins.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Fix dummy AXI a{r,w}len fields width

The dummy a{r,w}len fields should have the same width as the real a{w,r}len
fields in order to not break auto AXI bus version detection.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Drive unused signals to 0

This silences a few warnings from the tools about undriven signals.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
fmcomms2: Set dac_unpack channels to 4

There are only 4 DAC channels in the fmcomms2 design, so set the number of
channels of the dac_unpack core to 4. This slightly reduces resource usage
as well as reducing the DMA alignment requirement from 128bit to 64bit.  The
later value is what existing applications expect the alignement requirement
to be.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
fmcomms2: Connect DMA directly to the HP ports

The DMA controller is able to send AXI3 compatible requests, no need to add
a interconnect for protocol conversion in between the DMA controller and the
HP port.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Add clock signal spec for m_axis/s_axis bus

This silences warnings from the tools about having no clock assigned to the bus.
Also fix the name of the TVALID signal.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Hide fifo_wr bus when source type is not the fifo interface

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Hide fifo_wr_sync signal if C_SYNC_TRANSFER_START != 1

The fifo_wr_sync signal is only used when C_SYNC_TRANSFER_START = 1, so hide it otherwise.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_dmac: Add default driver values for optional input ports

This silences warnings from the tools about undriven ports.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_i2s: Set unused signals to 0

Fixes warnings from the tools about undriven signals.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_i2s: Add missing signals to the regmap read process sensitivity list

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_spdif: Set unused signals to 0

Fixes warnings about undriven signals from the tools.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
axi_spdif: Don't use non-static expressions in port assignments

Fixes a warning from the tools.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>