mailbox: bcm-pdc: Add Northstar Plus support to PDC driver
authorSteve Lin <steven.lin1@broadcom.com>
Thu, 23 Feb 2017 14:49:50 +0000 (09:49 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 28 Mar 2017 17:57:56 +0000 (23:27 +0530)
commitfc2041c5415fbbe8a7f1f6ce73a5d4ad186c7827
tree38d0becb9bc1edcbdf67967eb61e07e09be43a3e
parent8ce33c6ff375b59bfa0a347782c49da94e64bb85
mailbox: bcm-pdc: Add Northstar Plus support to PDC driver

Adds support for Northstar Plus (NS+) products to the PDC mailbox
driver.  The PDC driver was originally written to support the PDC
ring manager in the Northstar2 (64-bit) device.  The NS+ (32 bit
device) uses an almost identical ring manager, though with a
different name.  We just need to check for the type of hardware in
use, in order to write the appropriate interrupt configuration register.
Also updated DMA width to be correct for both NS+ and NS2.

Tested on NS+ and NS2.

Signed-off-by: Steve Lin <steven.lin1@broadcom.com>
Acked-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig
drivers/mailbox/bcm-pdc-mailbox.c