]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: pca953x: add PCAL9535 interrupt support for Galileo Gen2
authorYong Li <yong.b.li@intel.com>
Thu, 7 Apr 2016 04:56:32 +0000 (12:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Apr 2016 18:14:36 +0000 (20:14 +0200)
commit44896beae605b93f2232301befccb7ef42953198
tree2aea629c49dcc608cba9ac964659b11f3fe22960
parent615d23f80efc60f8c5146223f305d19207c742e4
gpio: pca953x: add PCAL9535 interrupt support for Galileo Gen2

Galileo Gen2 board uses the PCAL9535 as the GPIO expansion,
it is different from PCA9535 and includes interrupt mask/status registers,
The current driver does not support the interrupt registers configuration,
it causes some gpio pins cannot trigger interrupt events,
this patch fix this issue.

The original patch was submitted by
Josef Ahmad <josef.ahmad@linux.intel.com>
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-quark/tree/recipes-kernel/linux/files/0015-Quark-GPIO-1-2-quark.patch

Signed-off-by: Yong Li <yong.b.li@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c