Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rafał Miłecki and committed by
John W. Linville
f0db59e1 19dcb768

+1
+1
drivers/bcma/driver_gpio.c
··· 220 220 #endif 221 221 switch (cc->core->bus->chipinfo.id) { 222 222 case BCMA_CHIP_ID_BCM5357: 223 + case BCMA_CHIP_ID_BCM53572: 223 224 chip->ngpio = 32; 224 225 break; 225 226 default: