linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/4] mailbox/firmware: imx: support SCU channel type
@ 2020-02-26  4:40 peng.fan
  2020-02-26  4:40 ` [PATCH V3 1/4] dt-bindings: mailbox: imx-mu: add SCU MU support peng.fan
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: peng.fan @ 2020-02-26  4:40 UTC (permalink / raw)
  To: shawnguo, s.hauer, jassisinghbrar, o.rempel, robh+dt
  Cc: kernel, festevam, linux-imx, Anson.Huang, leonard.crestez,
	aisheng.dong, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

V3:
 Rebase to Shawn's for-next
 Include fsl,imx8-mu-scu compatible
 Per Oleksij's comments, introduce generic tx/rx and added scu mu type
 Check fsl,imx8-mu-scu in firmware driver for fast_ipc

V2:
 Drop patch 1/3 which added fsl,scu property
 Force to use scu channel type when machine has node compatible "fsl,imx-scu"
 Force imx-scu to use fast_ipc

 I not found a generic method to make SCFW message generic enough, SCFW
 message is not fixed length including TX and RX. And it use TR0/RR0
 interrupt.

 It might need https://patchwork.kernel.org/patch/11395247/ to avoid
 build break.

V1:
Sorry to bind the mailbox/firmware patch together. This is make it
to understand what changed to support using 1 TX and 1 RX channel
for SCFW message.

Per i.MX8QXP Reference mannual, there are several message using
examples. One of them is:
Passing short messages: Transmit register(s) can be used to pass
short messages from one to four words in length. For example,
when a four-word message is desired, only one of the registers
needs to have its corresponding interrupt enable bit set at the
receiver side.

This patchset is to using this for SCFW message to replace four TX
and four RX method.


Peng Fan (4):
  dt-bindings: mailbox: imx-mu: add SCU MU support
  mailbox: imx: restructure code to make easy for new MU
  mailbox: imx: add SCU MU support
  firmware: imx-scu: Support one TX and one RX

 .../devicetree/bindings/mailbox/fsl,mu.txt         |   2 +
 drivers/firmware/imx/imx-scu.c                     |  54 +++++--
 drivers/mailbox/imx-mailbox.c                      | 165 ++++++++++++++++-----
 3 files changed, 176 insertions(+), 45 deletions(-)


base-commit: 48b4bfe7105f646e270596bf9d22df0e8a4ae217
-- 
2.16.4


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

end of thread, other threads:[~2020-03-02 10:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26  4:40 [PATCH V3 0/4] mailbox/firmware: imx: support SCU channel type peng.fan
2020-02-26  4:40 ` [PATCH V3 1/4] dt-bindings: mailbox: imx-mu: add SCU MU support peng.fan
2020-02-26  4:40 ` [PATCH V3 2/4] mailbox: imx: restructure code to make easy for new MU peng.fan
2020-03-02  9:10   ` Oleksij Rempel
2020-03-02  9:58     ` Peng Fan
2020-03-02 10:05       ` Oleksij Rempel
2020-02-26  4:40 ` [PATCH V3 3/4] mailbox: imx: add SCU MU support peng.fan
2020-03-02  9:47   ` Oleksij Rempel
2020-03-02 10:04     ` Peng Fan
2020-02-26  4:40 ` [PATCH V3 4/4] firmware: imx-scu: Support one TX and one RX peng.fan

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