| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Fri, 7 Aug 2009 23:46:34 +0200 |
| Cc: | Maxime Bizon <mbizon@freebox.fr>, linux-mips@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:to:cc:content-type :content-transfer-encoding:content-disposition:message-id; bh=nrzeIIAM5/t90Cxqfd+HUi4lRUiFzU6ZXabHeOmRQg8=; b=vICbOin1c/Kdbe0eX4UTFsKUtSeTdStrLy1h+poVjIhlqJS8wlhwT8jhXAAEiYqN+c 9GiMFmREpiQkiCUozRmRfOGS5r5nqDLO4GpKv9Rbs9n/Ql8V8B/om+WO0jKn7/+l+XN1 OQ56RRp31mVp/3pG3Ts25KQpu2jm5DYNNQqSU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:to:cc :content-type:content-transfer-encoding:content-disposition :message-id; b=n8LF5TfWk+2oqGSGc4JtLnqERlLN80EWi2ju7ZSI5QlGUQUrIKugiglr2V/CNW8nNd oYJglAxvp1LCKkUgvz+1OB2h1WolMH80lmW4MuDU7VeA2cnTFHW/zUzMho4pU/t2BSs9 XOqsWTm6YkulIGToxhXKOWMTHG6ymPsgAgo50= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
This patchs makes bcm96348gw-10 and bcm96348gw designs register
the VoIP DSP platform device.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c
b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 683873d..668abdb 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -27,6 +27,7 @@
#include <bcm63xx_dev_pcmcia.h>
#include <bcm63xx_dev_usb_ohci.h>
#include <bcm63xx_dev_usb_ehci.h>
+#include <bcm63xx_dev_dsp.h>
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
@@ -72,6 +73,14 @@ static struct board_info __initdata board_96348gw_10 = {
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
+
+ .has_dsp = 1,
+ .dsp = {
+ .gpio_rst = 6,
+ .gpio_int = 34,
+ .cs = 2,
+ .ext_irq = 2,
+ },
};
static struct board_info __initdata board_96348gw_11 = {
@@ -116,6 +125,14 @@ static struct board_info __initdata board_96348gw = {
},
.has_ohci0 = 1,
+
+ .has_dsp = 1,
+ .dsp = {
+ .gpio_rst = 6,
+ .gpio_int = 34,
+ .ext_irq = 2,
+ .cs = 2,
+ },
};
static struct board_info __initdata board_FAST2404 = {
@@ -514,6 +531,9 @@ int __init board_register_devices(void)
if (board.has_ehci0)
bcm63xx_ehci_register();
+ if (board.has_dsp)
+ bcm63xx_dsp_register(&board.dsp);
+
/* Generate MAC address for WLAN and
* register our SPROM */
#ifdef CONFIG_SSB_PCIHOST
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/8] bcm63xx: add infrastructure for MPI-connected VoIP DSP, Florian Fainelli |
|---|---|
| Next by Date: | [PATCH 3/8] bcm63xx: register GPIO-connected LEDs for known references designs, Florian Fainelli |
| Previous by Thread: | [PATCH 1/8] bcm63xx: add infrastructure for MPI-connected VoIP DSP, Florian Fainelli |
| Next by Thread: | Re: [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |