* [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs
@ 2009-08-07 21:46 Florian Fainelli
2009-08-08 12:01 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-08-07 21:46 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Maxime Bizon, linux-mips
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs
2009-08-07 21:46 [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs Florian Fainelli
@ 2009-08-08 12:01 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-08-08 12:01 UTC (permalink / raw)
To: Florian Fainelli; +Cc: Maxime Bizon, linux-mips
On Fri, Aug 07, 2009 at 11:46:34PM +0200, Florian Fainelli wrote:
Folded into "MIPS: BCM63XX: Add board support code."
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-08 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07 21:46 [PATCH 2/8] bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs Florian Fainelli
2009-08-08 12:01 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.