summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_ssi_dbg.c
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-08-06 18:12:12 +0300
committerMark Brown <broonie@kernel.org>2019-08-07 14:26:04 +0100
commit4f7a0728b5305e2d865f543fbcffd617e03c7674 (patch)
tree7d8ac358ff46c51c304f250977c0173bae43471a /sound/soc/fsl/fsl_ssi_dbg.c
parentb84f50b0fcb497a62068926fca793d2d213c7dbd (diff)
downloadtalos-op-linux-4f7a0728b5305e2d865f543fbcffd617e03c7674.tar.gz
talos-op-linux-4f7a0728b5305e2d865f543fbcffd617e03c7674.zip
ASoC: fsl_sai: Add support for SAI new version
New IP version introduces Version ID and Parameter registers and optionally added Timestamp feature. VERID and PARAM registers are placed at the top of registers address space and some registers are shifted according to the following table: Tx/Rx data registers and Tx/Rx FIFO registers keep their addresses, all other registers are shifted by 8. SAI Memory map is described in chapter 13.10.4.1.1 I2S Memory map of the Reference Manual [1]. In order to make as less changes as possible we attach an offset to each register offset to each changed register definition. The offset is read from each board private data. [1]https://cache.nxp.com/secured/assets/documents/en/reference-manual/IMX8MDQLQRM.pdf?__gda__=1563728701_38bea7f0f726472cc675cb141b91bec7&fileExt=.pdf Signed-off-by: Mihai Serban <mihai.serban@nxp.com> [initial coding in the NXP internal tree] Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> [bugfixing and cleanups] Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> [adapted to linux-next] Acked-by: Nicolin Chen <nicoleotsuka@gmail.com> Link: https://lore.kernel.org/r/20190806151214.6783-4-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi_dbg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud