devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/5] OMAP Mailbox framework adoption & DT support
@ 2014-07-30  0:34 Suman Anna
       [not found] ` <1406680479-18446-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Suman Anna @ 2014-07-30  0:34 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Jassi Brar, Dave Gerlach, Markus Mayer, Pavel Machek,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Suman Anna

Hi,

This is an updated version of the OMAP Mailbox framework adoption &
DT support series, refreshed to work with the v9 version of the mailbox
framework [1] from Jassi Brar while also addressing some minor review
comments. Detailed changes are summarized below. Patches are based on
3.16-rc2.

The series depends on the OMAP mailbox DT/hwmod cleanup series [2] and the
OMAP mailbox cleanup series [3]. Both these series are staged to be merged
for 3.17 [4]. The last 2 framework adaptation patches require the v9 framework
patches to build successfully. The reference branch with all the patches is
hosted (not for merging - includes an additional patch for dsp/bridge changes) at 
https://github.com/sumananna/mailbox/commits/submit/3.16-rc2-omap-mbox-v9-fwk-v3

The AM335 PM suspend series [5] which relies on this series needs to have
the wkupm3 node updated to use the new property name "mboxes" instead of
"mbox", and use the updated mbox_request_channel API.

Changes in v3:
- Revised the OMAP mailbox bindings to reflect the updated compatible
  strings (Patch 1) and the updated common mailbox properties in
  the v9 framework (Patch 4)
- Code rearrangement/flip of if code blocks in omap_mailbox probe to address
  Markus Mayer's comments from v2 (Patch 2)
- omap_mbox_of_xlate updated to add a missing of_node_put (Patch 4)
- Adjust the added OMAP non-DT support API, omap_mbox_request_channel, to
  handle the loss of the chan_name field in the mbox_client structure
  from v8 to v9 of mailbox framework (Patch 4)
- Dropped mailbox adaptation changes to TI DSP/Bridge driver, as it will be
  deleted in 3.17 (Patch 4)
- No changes to DTS patches (Patches 3 and 5)
- Tested against v9 of mailbox framework

v2:
- http://www.spinics.net/lists/linux-omap/msg109379.html
- Updated the OMAP DT bindings document for the added back DT properties:
  "ti,mbox-num-users" and "ti,mbox-num-fifos". Also added information
  regarding "#mbox-cells" and DT client usage.
- Updated the OMAP DT adaptation patch to parse the added back DT properties
  and clean up the previous match data structure.
- Squashed custom xlate patch into the framework adaptation patch.
- Tested against v8 of mailbox framework.

v1:
- http://www.spinics.net/lists/linux-omap/msg108595.html
- Tested against v7 of mailbox framework


The following shows the boot/validation logs on various OMAP platforms:
  OMAP2 (SDP2430)           : http://slexy.org/view/s20ZcIovmA
  OMAP3 (BeagleXM)          : http://slexy.org/view/s2jWS6RPDJ
  OMAP4 (PandaBoard)        : http://slexy.org/view/s21Mxi3Z4v
  OMAP5 (OMAP5 uEVM)        : http://slexy.org/view/s2EUjy49h9
  DRA7  (DRA7 EVM)          : http://slexy.org/view/s29ehoRZWl
  AM33xx (BeagleBone Black) : http://slexy.org/view/s20A8RDPRy
  AM43xx (AM437x GP EVM)    : http://slexy.org/view/s21HMTnL2t

[1] https://lkml.org/lkml/2014/7/22/613
[2] http://marc.info/?l=linux-omap&m=140511512208519&w=2
[3] http://www.spinics.net/lists/linux-omap/msg108574.html
[4] https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v3.17/mailbox
[5] http://www.spinics.net/lists/linux-omap/msg109331.html

Suman Anna (5):
  Documentation: dt: add omap mailbox bindings
  mailbox/omap: add support for parsing dt devices
  ARM: dts: OMAP2+: Add sub mailboxes device node information
  mailbox/omap: adapt to the new mailbox framework
  ARM: dts: OMAP2+: Add #mbox-cells property to all mailbox nodes

 .../devicetree/bindings/mailbox/omap-mailbox.txt   | 132 ++++++
 arch/arm/boot/dts/am33xx.dtsi                      |   5 +
 arch/arm/boot/dts/am4372.dtsi                      |   5 +
 arch/arm/boot/dts/dra7.dtsi                        |  13 +
 arch/arm/boot/dts/omap2420.dtsi                    |   9 +
 arch/arm/boot/dts/omap2430.dtsi                    |   5 +
 arch/arm/boot/dts/omap3.dtsi                       |   5 +
 arch/arm/boot/dts/omap4.dtsi                       |   9 +
 arch/arm/boot/dts/omap5.dtsi                       |   9 +
 drivers/mailbox/omap-mailbox.c                     | 502 ++++++++++++++-------
 drivers/remoteproc/omap_remoteproc.c               |  51 ++-
 include/linux/omap-mailbox.h                       |  16 +-
 12 files changed, 557 insertions(+), 204 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mailbox/omap-mailbox.txt

-- 
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-09-11 17:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30  0:34 [PATCHv3 0/5] OMAP Mailbox framework adoption & DT support Suman Anna
     [not found] ` <1406680479-18446-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2014-07-30  0:34   ` [PATCHv3 1/5] Documentation: dt: add omap mailbox bindings Suman Anna
2014-09-08 23:20   ` [PATCHv3 0/5] OMAP Mailbox framework adoption & DT support Tony Lindgren
     [not found]     ` <20140908232053.GS3238-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-09-09  2:52       ` Tony Lindgren
2014-09-09 16:15         ` Suman Anna
2014-09-11 17:09           ` Tony Lindgren
2014-07-30  0:34 ` [PATCHv3 2/5] mailbox/omap: add support for parsing dt devices Suman Anna
2014-07-30  0:34 ` [PATCHv3 3/5] ARM: dts: OMAP2+: Add sub mailboxes device node information Suman Anna
2014-07-30  0:34 ` [PATCHv3 4/5] mailbox/omap: adapt to the new mailbox framework Suman Anna
2014-07-30  0:34 ` [PATCHv3 5/5] ARM: dts: OMAP2+: Add #mbox-cells property to all mailbox nodes Suman Anna

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