author | Keerthy <j-keerthy@ti.com> | |
Tue, 17 Jan 2017 16:19:14 +0000 (21:49 +0530) | ||
committer | Linus Walleij <linus.walleij@linaro.org> | |
Thu, 26 Jan 2017 09:00:22 +0000 (10:00 +0100) | ||
commit | 8e11047b8f3cc0dc6df956cf01915077a574168e | |
tree | 1ecb8c417b38c93279b687e78865f29eac7ae170 | tree | snapshot (tar.xz tar.gz zip) |
parent | b5cf3fd827d2e11355c126b44ea625650ebf4d39 | commit | diff |
gpio: davinci: Add support for multiple GPIO controllers
Update GPIO driver to support Multiple GPIO controllers by updating
the base of subsequent GPIO chips with total of previous chips
gpio count so that gpio_add_chip gets unique numbers.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Update GPIO driver to support Multiple GPIO controllers by updating
the base of subsequent GPIO chips with total of previous chips
gpio count so that gpio_add_chip gets unique numbers.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c | diff | blob | history | |
include/linux/platform_data/gpio-davinci.h | diff | blob | history |