devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 0/1] firmware: mtk: add adsp ipc protocol for sof
       [not found] <20220112113247.29135-1-allen-kh.cheng@mediatek.com>
@ 2022-01-12 16:42 ` Pierre-Louis Bossart
       [not found] ` <20220112113247.29135-2-allen-kh.cheng@mediatek.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Pierre-Louis Bossart @ 2022-01-12 16:42 UTC (permalink / raw)
  To: allen-kh.cheng, Matthias Brugger, Mark Brown
  Cc: Kevin Hilman, Linux-ALSA, tzungbi, cujomalainey, Liam Girdwood,
	Ranjani Sridharan, Kai Vehmanen, Daniel Baluta, Jaroslav Kysela,
	Takashi Iwai, Project_Global_Chrome_Upstream_Group, linux-kernel,
	devicetree, linux-arm-kernel, linux-mediatek,
	sound-open-firmware



On 1/12/22 5:32 AM, allen-kh.cheng wrote:
> From: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>
> 
> This patch provides mtk adsp ipc support for sof.
> 
> ADSP IPC protocol offers (send/recv) interfaces using
> mediatek-mailbox APIs.
> 
> changes since v1:
> - add comments for mtk_adsp_ipc_send and mtk_adsp_ipc_recv
> - remove unuseful MODULE_LICENSE
> - change label name to out_free

my comment was not on changing the label name, but making sure you only
free something that was allocated by using *two* labels.

> 
> Allen-KH Cheng (1):
>   firmware: mediatek: add adsp ipc protocol interface
> 
>  drivers/firmware/Kconfig                      |   1 +
>  drivers/firmware/Makefile                     |   1 +
>  drivers/firmware/mediatek/Kconfig             |   9 +
>  drivers/firmware/mediatek/Makefile            |   2 +
>  drivers/firmware/mediatek/mtk-adsp-ipc.c      | 159 ++++++++++++++++++
>  .../linux/firmware/mediatek/mtk-adsp-ipc.h    |  65 +++++++
>  6 files changed, 237 insertions(+)
>  create mode 100644 drivers/firmware/mediatek/Kconfig
>  create mode 100644 drivers/firmware/mediatek/Makefile
>  create mode 100644 drivers/firmware/mediatek/mtk-adsp-ipc.c
>  create mode 100644 include/linux/firmware/mediatek/mtk-adsp-ipc.h
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 1/1] firmware: mediatek: add adsp ipc protocol interface
       [not found] ` <20220112113247.29135-2-allen-kh.cheng@mediatek.com>
@ 2022-01-12 19:25   ` Curtis Malainey
  0 siblings, 0 replies; 2+ messages in thread
From: Curtis Malainey @ 2022-01-12 19:25 UTC (permalink / raw)
  To: allen-kh.cheng
  Cc: Matthias Brugger, Mark Brown, Kevin Hilman, Linux-ALSA,
	Tzung-Bi Shih, Pierre-Louis Bossart, Liam Girdwood,
	Ranjani Sridharan, Kai Vehmanen, Daniel Baluta, Jaroslav Kysela,
	Takashi Iwai, Project_Global_Chrome_Upstream_Group,
	Linux Kernel Mailing List, devicetree, linux-arm-kernel,
	linux-mediatek, sound-open-firmware

On Wed, Jan 12, 2022 at 3:43 AM allen-kh.cheng
<allen-kh.cheng@mediatek.com> wrote:
>
> From: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>
>
> Some of mediatek processors contain
> the Tensilica HiFix DSP for audio processing.
>
> The communication between Host CPU and DSP firmware is
> taking place using a shared memory area for message passing.
>
> ADSP IPC protocol offers (send/recv) interfaces using
> mediatek-mailbox APIs.
>
> We use two mbox channels to implement a request-reply protocol.
>
> Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
> Signed-off-by: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>

Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-12 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220112113247.29135-1-allen-kh.cheng@mediatek.com>
2022-01-12 16:42 ` [PATCH v2 0/1] firmware: mtk: add adsp ipc protocol for sof Pierre-Louis Bossart
     [not found] ` <20220112113247.29135-2-allen-kh.cheng@mediatek.com>
2022-01-12 19:25   ` [PATCH v2 1/1] firmware: mediatek: add adsp ipc protocol interface Curtis Malainey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).