ASoC: SOF: Introduce snd_sof_mailbox_read / snd_sof_mailbox_write callbacks
We need to introduce snd_sof_mailbox_{read/write} in order to provide a generic way for mailbox access. These routines are optional, each platform can implement their own specific routines. So far, all platforms use mmapped I/O thus they can use custom made routines sof_mailbox_read / sof_mailbox_write that use MMIO. Signed-off-by:Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by:
Bud Liviu-Alexandru <budliviu@gmail.com> Reviewed-by:
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by:
Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20211004152147.1268978-2-daniel.baluta@oss.nxp.com Signed-off-by:
Mark Brown <broonie@kernel.org>
Showing
- sound/soc/sof/imx/imx8.c 8 additions, 0 deletionssound/soc/sof/imx/imx8.c
- sound/soc/sof/imx/imx8m.c 4 additions, 0 deletionssound/soc/sof/imx/imx8m.c
- sound/soc/sof/intel/apl.c 4 additions, 0 deletionssound/soc/sof/intel/apl.c
- sound/soc/sof/intel/bdw.c 4 additions, 0 deletionssound/soc/sof/intel/bdw.c
- sound/soc/sof/intel/byt.c 8 additions, 0 deletionssound/soc/sof/intel/byt.c
- sound/soc/sof/intel/cnl.c 4 additions, 0 deletionssound/soc/sof/intel/cnl.c
- sound/soc/sof/intel/icl.c 4 additions, 0 deletionssound/soc/sof/intel/icl.c
- sound/soc/sof/intel/pci-tng.c 4 additions, 0 deletionssound/soc/sof/intel/pci-tng.c
- sound/soc/sof/intel/tgl.c 4 additions, 0 deletionssound/soc/sof/intel/tgl.c
- sound/soc/sof/ops.h 15 additions, 0 deletionssound/soc/sof/ops.h
- sound/soc/sof/sof-priv.h 8 additions, 0 deletionssound/soc/sof/sof-priv.h
Loading
Please register or sign in to comment