linux/drivers/net/wireless/brcm80211/brcmfmac
Franky Lin ba89bf1961 brcmfmac: add out of band interrupt support
Some sdio host controllers do not support real in band interrupt.
Software polling mode as a replacement is not fast enough for
high throughput and new features. Also some in band interrupts
do not support host wake up on embedded platform even when they
are real physical interrupts. Therefore out of band (oob)
interrupt mechanism is implemented for these scenarios.

To provide oob irq number and flags used for irq registration in
brcmfmac, a platform device contains irq resource must be
registered in board specific code.

Here is an example of platform device structure:
struct resource brcmf_sdio_res[] = {
	{
		.start	= GPIO_BRCMF_SDIO_OOB_NUM,
		.end	= GPIO_BRCMF_SDIO_OOB_NUM,
		.flags  = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
	}
};
struct platform_device brcmf_sdio_device = {
	.name		= "brcmf_sdio_pd",
	.id		= -1,
	.num_resources	= ARRAY_SIZE(brcmf_sdio_res),
	.resource	= brcmf_sdio_res,
};

Reviewed-by: pieter-paul giesberts <pieterpg@broadcom.com>
Reviewed-by: arend van spriel <arend@broadcom.com>
Signed-off-by: franky lin <frankyl@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-05-08 21:53:55 -04:00
..
bcmsdh.c brcmfmac: add out of band interrupt support 2012-05-08 21:53:55 -04:00
bcmsdh_sdmmc.c brcmfmac: add out of band interrupt support 2012-05-08 21:53:55 -04:00
dhd.h brcm80211: fmac: make brcmf_net_attach() static 2012-04-13 14:32:51 -04:00
dhd_bus.h brcm80211: fmac: initialize host interface drivers regardless result 2012-03-05 15:53:57 -05:00
dhd_cdc.c brcm80211: fmac: add frame header extension support 2012-04-13 14:32:52 -04:00
dhd_common.c brcm80211: fmac: postpone dongle RF enabling. 2012-04-13 14:32:53 -04:00
dhd_dbg.h brcm80211: Add and use brcmX_dbg_dump_hex 2012-01-24 14:21:13 -05:00
dhd_linux.c brcm80211: fmac: postpone dongle RF enabling. 2012-04-13 14:32:53 -04:00
dhd_proto.h brcm80211: fmac: move common layer bus interface context to dhd_bus.h 2011-12-19 14:40:46 -05:00
dhd_sdio.c brcmfmac: add out of band interrupt support 2012-05-08 21:53:55 -04:00
Makefile brcm80211: fmac: add USB support for bcm43235/6/8 chipsets 2012-02-22 14:48:53 -05:00
sdio_chip.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
sdio_chip.h brcm80211: fmac: add resetcore function for bcm4330 chip 2011-11-11 14:28:37 -05:00
sdio_host.h brcmfmac: add out of band interrupt support 2012-05-08 21:53:55 -04:00
usb.c brcm80211: fmac: register primary net device with device mac address 2012-04-13 14:32:52 -04:00
usb.h brcm80211: fmac: use counters in brcmf_bus structure 2012-03-05 15:53:55 -05:00
usb_rdl.h brcm80211: fmac: add USB support for bcm43235/6/8 chipsets 2012-02-22 14:48:53 -05:00
wl_cfg80211.c brmc80211: dont use jiffies for BSS TSF 2012-03-13 14:54:19 -04:00
wl_cfg80211.h brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00