mirror of https://github.com/thesofproject/sof.git
nxp: imx8ulp: and nodes and enable drivers for SAI, EDMA and HOST_DMA
Add DTS nodes for and enable the drivers of SAI, EDMA and HOST_DMA. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
3f1f45aaeb
commit
4b567533eb
|
@ -5,3 +5,10 @@ CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
|
|||
|
||||
CONFIG_ZEPHYR_LOG=y
|
||||
CONFIG_TRACE=n
|
||||
|
||||
CONFIG_DMA=y
|
||||
CONFIG_DMA_NXP_EDMA_ENABLE_HALFMAJOR_IRQ=y
|
||||
|
||||
# TODO: remove this from here. Should be extracted
|
||||
# from DAI bespoke configuration or DTS.
|
||||
CONFIG_SAI_FIFO_WORD_SIZE=2
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Copyright 2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
host_dma: dma {
|
||||
compatible = "nxp,sof-host-dma";
|
||||
dma-channels = <32>;
|
||||
#dma-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&edma2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sai5 {
|
||||
rx-fifo-watermark = <8>;
|
||||
tx-fifo-watermark = <1>;
|
||||
fifo-depth = <8>;
|
||||
rx-sync-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* TODO: this node shouldn't be here. For now, we only support
|
||||
* the EVK board in Zephyr, while in SOF we support the EVK and
|
||||
* the EVK9 boards. This is an issue because the two boards use
|
||||
* different SAI instances for BT communication (SAI5 - EVK,
|
||||
* SAI6 - EVK9). Ideally, we should have two boards in Zephyr
|
||||
* and SOF but for now this workaround will suffice.
|
||||
*/
|
||||
&sai6 {
|
||||
rx-fifo-watermark = <8>;
|
||||
tx-fifo-watermark = <1>;
|
||||
fifo-depth = <8>;
|
||||
rx-sync-mode = <1>;
|
||||
tx-dataline = <2>;
|
||||
status = "okay";
|
||||
};
|
Loading…
Reference in New Issue