| To: | ralf@linux-mips.org, john@phrozen.org |
|---|---|
| Subject: | [PATCH v4 0/3] MIPS: BCM47xx: use gpiolib |
| From: | Hauke Mehrtens <hauke@hauke-m.de> |
| Date: | Tue, 11 Sep 2012 17:15:07 +0200 |
| Cc: | linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, florian@openwrt.org, zajec5@gmail.com, Hauke Mehrtens <hauke@hauke-m.de> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| Sender: | linux-mips-bounce@linux-mips.org |
The original code implemented the GPIO interface itself and this caused some problems. With this patch gpiolib is used. This is based on mips/master. This should go through linux-mips, John W. Linville approved that for the bcma and ssb changes normally maintained in wireless-testing. v4: - remove extra BCMA_DRIVER_GPIO option and inline the spinlocks in bcma/driver_chipcommon.c. v3: - add missing break after setting bcm47xx_gpio_count in bcm47xx_gpio_init() v2: - use use gpio_chip.to_irq() instead of directly declare gpio_to_irq Hauke Mehrtens (3): ssb: add function to return number of gpio lines bcma: add GPIO driver for SoCs MIPS: BCM47xx: rewrite GPIO handling and use gpiolib arch/mips/Kconfig | 2 +- arch/mips/bcm47xx/gpio.c | 212 ++++++++++++++++++++------ arch/mips/bcm47xx/setup.c | 2 + arch/mips/bcm47xx/wgt634u.c | 7 + arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 2 + arch/mips/include/asm/mach-bcm47xx/gpio.h | 148 +++--------------- drivers/bcma/driver_chipcommon.c | 61 +++++++- drivers/ssb/embedded.c | 12 ++ include/linux/bcma/bcma_driver_chipcommon.h | 24 ++- include/linux/ssb/ssb_embedded.h | 4 + 10 files changed, 287 insertions(+), 187 deletions(-) -- 1.7.9.5 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Is r25 saved across syscalls?, Rich Felker |
|---|---|
| Next by Date: | [PATCH v4 1/3] ssb: add function to return number of gpio lines, Hauke Mehrtens |
| Previous by Thread: | [PATCH v2 0/3] MIPS: JZ4740: Move PWM driver to PWM framework, Thierry Reding |
| Next by Thread: | [PATCH v4 1/3] ssb: add function to return number of gpio lines, Hauke Mehrtens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |