diff options
author | Patrice Chotard <patrice.chotard@stericsson.com> | 2012-10-08 18:50:24 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-10-29 00:16:15 +0400 |
commit | 1d853ca5bae2f728f0e7e1afa98b3a160020af4a (patch) | |
tree | 11f9914748e50864c2dfb89f8e7d5e7974ec4b67 /arch/arm/mach-nomadik/board-nhk8815.c | |
parent | f64228ee23975d3703121a3d27dac488c3c813e9 (diff) | |
download | linux-1d853ca5bae2f728f0e7e1afa98b3a160020af4a.tar.xz |
pinctrl/nomadik: allow to support several ranges per GPIO bank
With DB8500 the number of GPIO chips = number GPIO bank =
number of GPIO ranges.
With DB8540, a new GPIO range configuration is used, some GPIO
banks can have several GPIO ranges.
For example, DB8540 GPIO bank0 (GPIO0 to GPIO32) have 2 GPIO
ranges:
- GPIO0 to GPIO17 : routed
- GPIO18 to GPIO21 : hole
- GPIO22 to GPIO28 : routed
- GPIO29 to GPIO32 : hole
Previously, during nmk_pinctrl_probe(), all GPIO ranges were
parsed, as GPIO ranges are larger than the number of GPIO chips,
a warning occurs. This commit allows each bank to have several
GPIO ranges.
Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-nomadik/board-nhk8815.c')
0 files changed, 0 insertions, 0 deletions