devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] add mailbox support for i.MX7D
@ 2018-07-18  7:12 Oleksij Rempel
  2018-07-18  7:12 ` [PATCH v4 1/4] dt-bindings: arm: fsl: add mu binding doc Oleksij Rempel
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Oleksij Rempel @ 2018-07-18  7:12 UTC (permalink / raw)
  To: Shawn Guo, Fabio Estevam, Rob Herring, Mark Rutland, A.s. Dong
  Cc: Oleksij Rempel, dl-linux-imx, linux-arm-kernel, kernel,
	devicetree

20180618 changes v4:
- DT: change fsl,mu-side-a to fsl,mu-side-b
- DT: split the patches.
- DT: add all currently known SoCs.
- imx-mailbox: free allocated irq name on channel shutdown
- imx-mailbox: rename *_imx7 functions to *_generic

20180615 changes v3:
- DT: remove prosaic part of documentation. It describes software
  or firmware specific usage and not relevant for HW description.
- DT: use <soc>-mu instead of <soc>-mu-<mu side> and add fsl,mu-side-a
  parameter.
- DT: add most of know i.MX variants with MU
- imx-mailbox: use macros instead of precalculated bit index.
- imx-mailbox: remove warning message for clk.
- imx-mailbox: use imx_mu_chan[%idx] for devm_request_irq.
- imx-mailbox: depend on ARCH_MXC instead of SOX_IMX7

20180615 changes v2:
- DT: use mailbox@ instead of mu@
- DT: change interrupts description
- clk: use imx_clk_gate4 instead of imx_clk_gate2
- imx-mailbox: remove last_tx_done support
- imx-mailbox: fix module description 

This patches are providing support for mailbox (Messaging Unit)
for i.MX7D.
Functionality was tested on PHYTEC phyBOARD-Zeta i.MX7D with
Linux running on all cores: ARM Cortex-A7 and ARM Cortex-M4.

Both parts of i.MX messaging Unit are visible for all CPUs available
on i.MX7D. Communication worked independent of MU side in combination
with CPU. For example MU-A used on ARM Cortex-A7 and MU-B used on ARM Cortex-M4
or other ways around.

Dong Aisheng (1):
  dt-bindings: arm: fsl: add mu binding doc

Oleksij Rempel (3):
  dt-bindings: arm: fsl: rework mu doc
  ARM: dts: imx7s: add i.MX7 messaging unit support
  mailbox: Add support for i.MX7D messaging unit

 .../devicetree/bindings/mailbox/fsl,mu.txt    |  32 ++
 arch/arm/boot/dts/imx7s.dtsi                  |  19 ++
 drivers/mailbox/Kconfig                       |   6 +
 drivers/mailbox/Makefile                      |   2 +
 drivers/mailbox/imx-mailbox.c                 | 300 ++++++++++++++++++
 5 files changed, 359 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/fsl,mu.txt
 create mode 100644 drivers/mailbox/imx-mailbox.c

-- 
2.18.0

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

end of thread, other threads:[~2018-07-21 13:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18  7:12 [PATCH v4 0/4] add mailbox support for i.MX7D Oleksij Rempel
2018-07-18  7:12 ` [PATCH v4 1/4] dt-bindings: arm: fsl: add mu binding doc Oleksij Rempel
2018-07-18  7:12 ` [PATCH v4 2/4] dt-bindings: arm: fsl: rework mu doc Oleksij Rempel
2018-07-18  9:14   ` A.s. Dong
2018-07-18  7:12 ` [PATCH v4 3/4] ARM: dts: imx7s: add i.MX7 messaging unit support Oleksij Rempel
2018-07-18  7:12 ` [PATCH v4 4/4] mailbox: Add support for i.MX7D messaging unit Oleksij Rempel
2018-07-18  7:57   ` Vladimir Zapolskiy
2018-07-18  9:47     ` A.s. Dong
2018-07-21 11:40     ` Oleksij Rempel
2018-07-21 13:06       ` A.s. Dong

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