[RFC] OMAP4:mailbox changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is to propose the following changes in the current Mailbox driver.

	- Design changes to support dynamic registration of mailbox Clients.

	- Support for OMAP4 mailbox module.

Design changes:
==============

The current Mailbox driver has the support for only one set of mailboxes (DSP) and this is statically configured. OMAP4 has multiple mailbox modules. The existing design limits adding the support to add Clients to these new Mailboxes.

Proposal:
Define a new API in Mailbox driver to dynamically register Client to mailboxes.
omap_mbox_set(char *name, int rx_id, int tx_id)
	name - name of the mailbox client
	rx_id - The Mailbox ID that is used for receiving events
	tx_id - The Mailbox that is used for sending events.

Check if the tx_id and rx_id are currently used. If used, send back ERROR.
	

OMAP4 changes:
=============
Following changes in OMAP4 mailbox module need to be taken care of.

- The register offsets for OMAP4 mailbox module is different from OMAP3 mailbox module

- New Mailbox registers added in OMAP4.

Proposal:
Add OMAP4 support for mailbox register changes with a CONFIG_ARCH_OMAP4 flag in the existing mailbox driver. 


Thank you
Best regards,
Hari

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux