omap mailbox dt
v3 cover omap mailbox dt
Hi,
This is an updated series for adding the device tree support to the OMAP mailbox driver. The series is based on 3.11-rc4 and now includes the support for AM335 WkupM3 mailbox.
The support for WkupM3 mailbox is essential for achieving the PM Suspend on AM335 devices, and this series is a dependency for the AM335 suspend/resume series [1]. The AM335 support patches required the mailbox DT patches posted previously, so I have refreshed all of them together.
Tested this on Beagle-XM, Panda4 and OMAP5 uEVM (with out-of-tree clock patches).
v3:
- Includes 3 new patches on top of the unchanged patches in v2.
- Patches 7 and 8 adds the driver support and DT node for AM335.
- Patch6 is a minor cleanup patch removing omap_mbox_type_t from mbox ops.
v2:
- Removed the #ti,mbox-data-cells from DT bindings and node data
- Includes 2 new patches that adds the data for OMAP5.
http://marc.info/?l=linux-omap&m=137452880325361&w=2
v1:
http://marc.info/?l=linux-omap&m=137159523405468&w=2
[1] http://marc.info/?l=linux-omap&m=137581142013093&w=2
Suman Anna (8):
mailbox/omap: add a parent structure common to all mboxes mailbox/omap: add support for parsing dt devices
ARM: dts: OMAP2+: Add mailbox nodes
ARM: OMAP5: hwmod data: Add mailbox data
ARM: dts: OMAP5: Add mailbox dt node mailbox/omap: remove omap_mbox_type_t from mailbox ops mailbox/omap: add code to support the wkupm3 operations
ARM: dts: AM33xx: Add mailbox node
.../devicetree/bindings/mailbox/omap-mailbox.txt | 43 +++ arch/arm/boot/dts/am33xx.dtsi | 11 + arch/arm/boot/dts/omap2420.dtsi | 12 + arch/arm/boot/dts/omap2430.dtsi | 11 + arch/arm/boot/dts/omap3.dtsi | 11 + arch/arm/boot/dts/omap4.dtsi | 11 + arch/arm/boot/dts/omap5.dtsi | 11 + arch/arm/mach-omap2/devices.c | 2 +- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 42 +++ drivers/mailbox/mailbox-omap1.c | 54 +++- drivers/mailbox/mailbox-omap2.c | 315 +++++++++++++++++---- drivers/mailbox/omap-mailbox.c | 58 ++-- drivers/mailbox/omap-mbox.h | 17 +- 13 files changed, 490 insertions(+), 108 deletions(-) create mode 100644 Documentation/devicetree/bindings/mailbox/omap-mailbox.txt
Signature · 1 line
1.8.3.3
v3 cover omap mailbox dt
Tony, Benoit,
Quoted 10 lines
This is an updated series for adding the device tree support to the OMAP mailbox driver. The series is based on 3.11-rc4 and now includes the support for AM335 WkupM3 mailbox.
The support for WkupM3 mailbox is essential for achieving the PM Suspend on AM335 devices, and this series is a dependency for the AM335 suspend/resume series [1]. The AM335 support patches required the mailbox DT patches posted previously, so I have refreshed all of them together.
Quoted 8 lines
Tested this on Beagle-XM, Panda4 and OMAP5 uEVM (with out-of-tree clock patches).
v3:
- Includes 3 new patches on top of the unchanged patches in v2.
- Patches 7 and 8 adds the driver support and DT node for AM335.
- Patch6 is a minor cleanup patch removingomap_mbox_type_tfrom mbox ops.
Any additional feedback/comments on this series? The series contains patches both for the driver code and DT/hwmod data. Let me know if you need me to rearrange the patches. I currently have one review comment to address regarding adding some additional notes [1] to the DT binding information.
regards
Suman