|From:||Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>|
|Subject:||[RFC][PATCH 00/10] bcma: add support for embedded devices like bcm4716|
|Date:||Mon, 6 Jun 2011 00:07:28 +0200|
|Cc:||zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org, george-bmH5zXE1TxHsG83rWmemail@example.com, arend-dY08KVG/lbpWk0Htik3Jfirstname.lastname@example.org, b43-dev-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, bernhardloos-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org, Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>|
This patch series adds support for embedded devices like bcm47xx to bcma. Bcma is used on bcm4716 and bcm4718 SoCs. With these patches my bcm4716 device boots up till it tries to access the flash, because the serial flash chip is unsupported for now, this will be my next task. This adds support for MIPS cores, interrupt configuration and the serial console. These patches are based on ssb code, some patches by George Kashperko and Bernhard Loos and parts of the source code release by ASUS and Netgear for their devices. This was tested on a Netgear WNDR3400, but did not work fully because of serial flash. This is bases on linux-next next-20110603, to which subsystem maintainer should I send these patches later, as it is based on the most recent version of bcma and bcm47xx? I do not have any normal PCIe based wireless device using this bus, so I have not tested it with such a device, it will be nice to hear if it is still working on them. The parallel flash should work so it could be that it will boot on an Asus rt-n16, I have not tested that. An Ethernet driver is not included because the Braodcom source code available is not licensed under a GPL compatible license and building a new driver on that based is not possible. Hauke Mehrtens (10): bcma: Use array to store cores. bcma: Make it possible to run bcma_register_cores() later bcma: add embedded bus bcma: add mips driver bcma: add serial support bcma: get CPU clock bcma: add pci(e) host mode bcm47xx: prepare to support different buses bcm47xx: add support for bcma bus bcm47xx: fix irq assignment for new SoCs. arch/mips/Kconfig | 4 + arch/mips/bcm47xx/gpio.c | 63 +++++--- arch/mips/bcm47xx/irq.c | 8 + arch/mips/bcm47xx/nvram.c | 21 ++- arch/mips/bcm47xx/serial.c | 37 ++++- arch/mips/bcm47xx/setup.c | 55 +++++- arch/mips/bcm47xx/time.c | 12 +- arch/mips/bcm47xx/wgt634u.c | 13 +- arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 17 ++- arch/mips/include/asm/mach-bcm47xx/gpio.h | 71 ++++++-- drivers/bcma/Kconfig | 20 ++ drivers/bcma/Makefile | 3 + drivers/bcma/bcma_private.h | 16 ++ drivers/bcma/driver_chipcommon.c | 62 +++++++ drivers/bcma/driver_chipcommon_pmu.c | 86 +++++++++ drivers/bcma/driver_mips.c | 248 ++++++++++++++++++++++++++ drivers/bcma/driver_pci.c | 12 ++- drivers/bcma/driver_pci_host.c | 44 +++++ drivers/bcma/host_embedded.c | 93 ++++++++++ drivers/bcma/main.c | 160 +++++++++++++---- drivers/bcma/scan.c | 87 +++++---- drivers/watchdog/bcm47xx_wdt.c | 18 ++- include/linux/bcma/bcma.h | 24 ++- include/linux/bcma/bcma_driver_chipcommon.h | 35 ++++ include/linux/bcma/bcma_driver_mips.h | 52 ++++++ include/linux/bcma/bcma_driver_pci.h | 1 + include/linux/bcma/bcma_embedded.h | 8 + 27 files changed, 1132 insertions(+), 138 deletions(-) create mode 100644 drivers/bcma/driver_mips.c create mode 100644 drivers/bcma/driver_pci_host.c create mode 100644 drivers/bcma/host_embedded.c create mode 100644 include/linux/bcma/bcma_driver_mips.h create mode 100644 include/linux/bcma/bcma_embedded.h -- 22.214.171.124 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds