From: Suman Anna <s-anna@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Jassi Brar <jaswinder.singh@linaro.org>,
Dave Gerlach <d-gerlach@ti.com>,
Markus Mayer <markus.mayer@linaro.org>,
Pavel Machek <pavel@ucw.cz>, <linux-kernel@vger.kernel.org>,
<linux-omap@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Suman Anna <s-anna@ti.com>
Subject: [PATCHv3 0/5] OMAP Mailbox framework adoption & DT support
Date: Tue, 29 Jul 2014 19:34:34 -0500 [thread overview]
Message-ID: <1406680479-18446-1-git-send-email-s-anna@ti.com> (raw)
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
next reply other threads:[~2014-07-30 0:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 0:34 Suman Anna [this message]
2014-07-30 0:34 ` [PATCHv3 1/5] Documentation: dt: add omap mailbox bindings Suman Anna
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
2014-09-08 23:20 ` [PATCHv3 0/5] OMAP Mailbox framework adoption & DT support Tony Lindgren
2014-09-09 2:52 ` Tony Lindgren
2014-09-09 16:15 ` Suman Anna
2014-09-11 17:09 ` Tony Lindgren
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=1406680479-18446-1-git-send-email-s-anna@ti.com \
--to=s-anna@ti.com \
--cc=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=jaswinder.singh@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=markus.mayer@linaro.org \
--cc=pavel@ucw.cz \
--cc=tony@atomide.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®