zephyr/drivers/dai
Laurentiu Mihalcea a1188a96ff drivers: dai: sai: use TDR/RDR for fifo base address computation
Using the address of RDR/TDR for fifo base address computation
has the same effect as using the FSL_FEATURE_SAI_{TX/RX}_FIFO_BASEn
macro from NXP HAL. The only difference between the two is that
the macro is not defined for all SoCs so whenever we introduce
a new SoC that uses the SAI module we have to also introduce
the macro for said SoC. Using TDR/RDR has the advantage that
it doesn't require any additional changes to the NXP HAL.

Since we only support one data line per direction, it's fine
to just use RDR[0] and TDR[0] for the address computation.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-03-05 14:34:19 +01:00
..
intel hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
nxp/sai drivers: dai: sai: use TDR/RDR for fifo base address computation 2024-03-05 14:34:19 +01:00
CMakeLists.txt drivers: dai: Add driver for NXP's SAI 2023-12-20 11:15:13 +01:00
Kconfig drivers: dai: Add driver for NXP's SAI 2023-12-20 11:15:13 +01:00