All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/6] add mailbox support for i.MX7D
@ 2018-07-26  6:53 ` Oleksij Rempel
  0 siblings, 0 replies; 155+ messages in thread
From: Oleksij Rempel @ 2018-07-26  6:53 UTC (permalink / raw)
  To: Shawn Guo, Fabio Estevam, Rob Herring, Mark Rutland, A.s. Dong,
	Vladimir Zapolskiy, Jassi Brar
  Cc: Oleksij Rempel, dl-linux-imx, linux-arm-kernel, kernel, devicetree

20180626 changes v7:
- DT: add i.MX6SX and i.MX7S to the documentation.
- imx-mailbox: don't use devm_ functions for startup and shutdown.
- imx-mailbox: rename imx_mu_rmw to imx_mu_xcr_rmw and add locks
- imx-mailbox: pass of_property_read_bool directly to side_b

20180622 changes v6:
- include one more patch provided by Aisheng
- DT: add fall back compatible fsl,imx6sx-mu
- imx-mailbox: for now, use only fsl,imx6sx-mu

20180621 changes v5:
- DT: revert most of the changes from previous version
- imx-mailbox: remove struct imx_mu_cfg
- imx-mailbox: remove !! from imx_mu_last_tx_done()

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 (2):
  dt-bindings: mailbox: allow mbox-cells to be equal to 0
  dt-bindings: arm: fsl: add mu binding doc

Oleksij Rempel (4):
  dt-bindings: mailbox: imx-mu: add generic MU channel support
  dt-bindings: mailbox: imx-mu: add i.MX6SX and i.MX7S SoCs.
  ARM: dts: imx7s: add i.MX7 messaging unit support
  mailbox: Add support for i.MX7D messaging unit

 .../devicetree/bindings/mailbox/fsl,mu.txt    |  41 +++
 .../devicetree/bindings/mailbox/mailbox.txt   |   3 +-
 arch/arm/boot/dts/imx7s.dtsi                  |  19 ++
 drivers/mailbox/Kconfig                       |   6 +
 drivers/mailbox/Makefile                      |   2 +
 drivers/mailbox/imx-mailbox.c                 | 276 ++++++++++++++++++
 6 files changed, 345 insertions(+), 2 deletions(-)
 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] 155+ messages in thread

end of thread, other threads:[~2018-08-09  6:45 UTC | newest]

Thread overview: 155+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26  6:53 [PATCH v7 0/6] add mailbox support for i.MX7D Oleksij Rempel
2018-07-26  6:53 ` Oleksij Rempel
2018-07-26  6:53 ` [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0 Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  9:41   ` Jassi Brar
2018-07-26  9:41     ` Jassi Brar
2018-07-26  9:41     ` Jassi Brar
2018-07-26 11:00     ` A.s. Dong
2018-07-26 11:00       ` A.s. Dong
2018-07-26 11:00       ` A.s. Dong
2018-07-26 11:36       ` Jassi Brar
2018-07-26 11:36         ` Jassi Brar
2018-07-26 11:36         ` Jassi Brar
2018-07-26 11:55         ` A.s. Dong
2018-07-26 11:55           ` A.s. Dong
2018-07-26 11:55           ` A.s. Dong
2018-07-26 12:04           ` Jassi Brar
2018-07-26 12:04             ` Jassi Brar
2018-07-26 12:04             ` Jassi Brar
2018-07-26  6:53 ` [PATCH v7 2/6] dt-bindings: arm: fsl: add mu binding doc Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  9:56   ` Jassi Brar
2018-07-26  9:56     ` Jassi Brar
2018-07-26  6:53 ` [PATCH v7 3/6] dt-bindings: mailbox: imx-mu: add generic MU channel support Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  9:49   ` Jassi Brar
2018-07-26  9:49     ` Jassi Brar
2018-07-26 10:57     ` Oleksij Rempel
2018-07-26 10:57       ` Oleksij Rempel
2018-07-26 11:28       ` Jassi Brar
2018-07-26 11:28         ` Jassi Brar
2018-07-26 11:51     ` A.s. Dong
2018-07-26 11:51       ` A.s. Dong
2018-07-26 12:26       ` Jassi Brar
2018-07-26 12:26         ` Jassi Brar
2018-07-26 13:34         ` A.s. Dong
2018-07-26 13:34           ` A.s. Dong
2018-07-26 13:49       ` Jassi Brar
2018-07-26 13:49         ` Jassi Brar
2018-07-26 14:13         ` A.s. Dong
2018-07-26 14:13           ` A.s. Dong
2018-07-26 15:44       ` Jassi Brar
2018-07-26 15:44         ` Jassi Brar
2018-07-27  4:02         ` A.s. Dong
2018-07-27  4:02           ` A.s. Dong
2018-07-27  4:55           ` Jassi Brar
2018-07-27  4:55             ` Jassi Brar
2018-07-27  6:00             ` A.s. Dong
2018-07-27  6:00               ` A.s. Dong
2018-07-27  6:46               ` Jassi Brar
2018-07-27  6:46                 ` Jassi Brar
2018-07-27  8:42                 ` A.s. Dong
2018-07-27  8:42                   ` A.s. Dong
2018-07-27  9:05                   ` A.s. Dong
2018-07-27  9:05                     ` A.s. Dong
2018-07-28 13:09                   ` Jassi Brar
2018-07-28 13:09                     ` Jassi Brar
2018-07-30  7:35                     ` Oleksij Rempel
2018-07-30  7:35                       ` Oleksij Rempel
2018-07-30  8:42                       ` A.s. Dong
2018-07-30  8:42                         ` A.s. Dong
2018-07-30 13:04                       ` Jassi Brar
2018-07-30 13:04                         ` Jassi Brar
2018-07-30 14:14                         ` A.s. Dong
2018-07-30 14:14                           ` A.s. Dong
2018-07-30 14:27                           ` A.s. Dong
2018-07-30 14:27                             ` A.s. Dong
2018-07-30 14:17                         ` A.s. Dong
2018-07-30 14:17                           ` A.s. Dong
2018-07-30 14:44                         ` Oleksij Rempel
2018-07-30 14:44                           ` Oleksij Rempel
2018-07-30 15:02                           ` Jassi Brar
2018-07-30 15:02                             ` Jassi Brar
2018-07-30 15:36                             ` A.s. Dong
2018-07-30 15:36                               ` A.s. Dong
2018-07-30 16:18                             ` Jassi Brar
2018-07-30 16:18                               ` Jassi Brar
2018-07-30 16:49                               ` Oleksij Rempel
2018-07-30 16:49                                 ` Oleksij Rempel
2018-07-31  2:51                                 ` Jassi Brar
2018-07-31  2:51                                   ` Jassi Brar
2018-07-31  7:21                               ` A.s. Dong
2018-07-31  7:21                                 ` A.s. Dong
2018-07-31 10:15                                 ` Jassi Brar
2018-07-31 10:15                                   ` Jassi Brar
2018-07-31 12:42                                   ` Jassi Brar
2018-07-31 12:42                                     ` Jassi Brar
2018-08-02  9:24                                     ` A.s. Dong
2018-08-02  9:24                                       ` A.s. Dong
2018-08-09  2:22                                       ` A.s. Dong
2018-08-09  2:22                                         ` A.s. Dong
2018-08-09  2:55                                         ` Jassi Brar
2018-08-09  2:55                                           ` Jassi Brar
2018-08-09  6:45                                           ` A.s. Dong
2018-08-09  6:45                                             ` A.s. Dong
2018-07-30  8:29                     ` A.s. Dong
2018-07-30  8:29                       ` A.s. Dong
2018-07-30  8:39         ` A.s. Dong
2018-07-30  8:39           ` A.s. Dong
2018-07-26  6:53 ` [PATCH v7 4/6] dt-bindings: mailbox: imx-mu: add i.MX6SX and i.MX7S SoCs Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  8:16   ` A.s. Dong
2018-07-26  8:16     ` A.s. Dong
2018-07-26  9:55   ` Jassi Brar
2018-07-26  9:55     ` Jassi Brar
2018-07-26 10:41     ` Lucas Stach
2018-07-26 10:41       ` Lucas Stach
2018-07-26 11:15       ` Jassi Brar
2018-07-26 11:15         ` Jassi Brar
2018-07-26 11:35         ` Lucas Stach
2018-07-26 11:35           ` Lucas Stach
2018-07-26 11:46           ` Jassi Brar
2018-07-26 11:46             ` Jassi Brar
2018-07-26 11:51             ` Vladimir Zapolskiy
2018-07-26 11:51               ` Vladimir Zapolskiy
2018-07-26 12:00               ` Jassi Brar
2018-07-26 12:00                 ` Jassi Brar
2018-07-26 12:10                 ` Vladimir Zapolskiy
2018-07-26 12:10                   ` Vladimir Zapolskiy
2018-07-26 11:54             ` Lucas Stach
2018-07-26 11:54               ` Lucas Stach
2018-07-26 11:44         ` Vladimir Zapolskiy
2018-07-26 11:44           ` Vladimir Zapolskiy
2018-07-26 11:52           ` Jassi Brar
2018-07-26 11:52             ` Jassi Brar
2018-07-26 11:55             ` Vladimir Zapolskiy
2018-07-26 11:55               ` Vladimir Zapolskiy
2018-07-26 12:10               ` Jassi Brar
2018-07-26 12:10                 ` Jassi Brar
     [not found]                 ` <CABb+yY02KNB9ELKiWYdB0LyvTghhk+nk-dTUGfG8_+KUB_H=Mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-07-26 12:41                   ` Vladimir Zapolskiy
2018-07-26 12:41                     ` Vladimir Zapolskiy
2018-07-30 22:22     ` Rob Herring
2018-07-30 22:22       ` Rob Herring
2018-07-31 10:16       ` Jassi Brar
2018-07-31 10:16         ` Jassi Brar
2018-07-31 10:18       ` Jassi Brar
2018-07-31 10:18         ` Jassi Brar
2018-07-26  6:53 ` [PATCH v7 5/6] ARM: dts: imx7s: add i.MX7 messaging unit support Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  8:11   ` Lucas Stach
2018-07-26  8:11     ` Lucas Stach
2018-07-26  6:53 ` [PATCH v7 6/6] mailbox: Add support for i.MX7D messaging unit Oleksij Rempel
2018-07-26  6:53   ` Oleksij Rempel
2018-07-26  8:07   ` Lucas Stach
2018-07-26  8:07     ` Lucas Stach
2018-07-26 10:15   ` Jassi Brar
2018-07-26 10:15     ` Jassi Brar
2018-07-26 10:51     ` Oleksij Rempel
2018-07-26 10:51       ` Oleksij Rempel
2018-07-26 11:09       ` Jassi Brar
2018-07-26 11:09         ` Jassi Brar
2018-07-26 11:42         ` Oleksij Rempel
2018-07-26 11:42           ` Oleksij Rempel
2018-07-26 12:17           ` Jassi Brar
2018-07-26 12:17             ` Jassi Brar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.