linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for DSP IPC protocol driver
@ 2019-06-27  8:12 Daniel Baluta
  2019-06-27  8:12 ` [PATCH v2 1/2] firmware: imx: Add DSP IPC protocol interface Daniel Baluta
  2019-06-27  8:12 ` [PATCH v2 2/2] dt-bindings: dsp: fsl: Add DSP IPC binding support Daniel Baluta
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Baluta @ 2019-06-27  8:12 UTC (permalink / raw)
  To: shawnguo, robh+dt, o.rempel
  Cc: s.hauer, S.j. Wang, festevam, dl-linux-imx, Aisheng Dong,
	Anson Huang, linux-kernel, linux-arm-kernel, mark.rutland,
	devicetree, Daniel Baluta

Hifi4 DSP can be found on some i.MX8 platforms (e.g i.MX8QXP, i.MX8QM).
This patch series introduces the layer that allows Host CPU to
communicate with DSP.

This layer provides a doorbell and clients can used that to notify DSP
that a message is placed somewhere in the shared memory.

The protocol used is request - reply. Usually, Host/DSP write a message
in a shared memory area and notify the other side. The other side will
also write a reply in a designated shared memory area and then ring
the doorbell to let the counterpart that a message is ready.

Changes since v1: (after Rob's and Oleksij comments)
	- removed imx_dsp_get_handle now drivers wanting to use DSP IPC
          will get a reference to dsp_ipc node in dts.
        - added chip name in compatible string fsl,imx8qxp-dsp
	- avoid memory leaks
	- make dt_binding_check works fine now!

Daniel Baluta (2):
  firmware: imx: Add DSP IPC protocol interface
  dt-bindings: dsp: fsl: Add DSP IPC binding support

 .../devicetree/bindings/dsp/fsl,dsp_ipc.yaml  |  44 ++++++
 drivers/firmware/imx/Kconfig                  |  11 ++
 drivers/firmware/imx/Makefile                 |   1 +
 drivers/firmware/imx/imx-dsp.c                | 142 ++++++++++++++++++
 include/linux/firmware/imx/dsp.h              |  67 +++++++++
 5 files changed, 265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dsp/fsl,dsp_ipc.yaml
 create mode 100644 drivers/firmware/imx/imx-dsp.c
 create mode 100644 include/linux/firmware/imx/dsp.h

-- 
2.17.1


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

end of thread, other threads:[~2019-07-18  6:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27  8:12 [PATCH v2 0/2] Add support for DSP IPC protocol driver Daniel Baluta
2019-06-27  8:12 ` [PATCH v2 1/2] firmware: imx: Add DSP IPC protocol interface Daniel Baluta
2019-07-09  5:48   ` Daniel Baluta
2019-07-09 12:02     ` Oleksij Rempel
2019-07-18  6:40       ` Daniel Baluta
2019-06-27  8:12 ` [PATCH v2 2/2] dt-bindings: dsp: fsl: Add DSP IPC binding support Daniel Baluta

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).