aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-06-05 20:20:44 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 15:49:15 -0400
commitf0db59e1c491e921e412148ce05558bfcf9aaa64 (patch)
tree5eb17d330ca11dff3c4dec2d75e4379ae4ff6dbe /drivers/bcma
parentrt2x00: do not initialize BCN_OFFSET registers (diff)
downloadlinux-dev-f0db59e1c491e921e412148ce05558bfcf9aaa64.tar.xz
linux-dev-f0db59e1c491e921e412148ce05558bfcf9aaa64.zip
bcma: gpio: register all 32 GPIOs on BCM53572
I've here a device detected as: bcma: bus0: Found chip with id 0xD144, rev 0x01 and package 0x08 I couldn't find GPIO handling hw button until trying GPIO 20. It seems BCM53572 also has 32 GPIOs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/driver_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/driver_gpio.c b/drivers/bcma/driver_gpio.c
index d7f81ad56b8a..aec9f850b4a8 100644
--- a/drivers/bcma/driver_gpio.c
+++ b/drivers/bcma/driver_gpio.c
@@ -220,6 +220,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
#endif
switch (cc->core->bus->chipinfo.id) {
case BCMA_CHIP_ID_BCM5357:
+ case BCMA_CHIP_ID_BCM53572:
chip->ngpio = 32;
break;
default: