From: Daniel Baluta <daniel.baluta@nxp.com>
To: "shawnguo@kernel.org" <shawnguo@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"o.rempel@pengutronix.de" <o.rempel@pengutronix.de>
Cc: "s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"S.j. Wang" <shengjiu.wang@nxp.com>,
"festevam@gmail.com" <festevam@gmail.com>,
dl-linux-imx <linux-imx@nxp.com>,
Aisheng Dong <aisheng.dong@nxp.com>,
Anson Huang <anson.huang@nxp.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Daniel Baluta <daniel.baluta@nxp.com>
Subject: [PATCH v2 0/2] Add support for DSP IPC protocol driver
Date: Thu, 27 Jun 2019 08:12:18 +0000 [thread overview]
Message-ID: <20190627081205.22065-1-daniel.baluta@nxp.com> (raw)
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
next reply other threads:[~2019-06-27 8:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 8:12 Daniel Baluta [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190627081205.22065-1-daniel.baluta@nxp.com \
--to=daniel.baluta@nxp.com \
--cc=aisheng.dong@nxp.com \
--cc=anson.huang@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=o.rempel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=shengjiu.wang@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®