diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-02-12 10:50:02 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-03-15 08:33:39 -0400 |
commit | b58e5fac96e4f24fc9d5bce8692506ada3e244ca (patch) | |
tree | c009ed8714e01d015796e4377e7efdbbd6d83597 /arch/arm/mach-shmobile/include/mach/sh73a0.h | |
parent | 63d573835f835aab4c44d0e0342cf5976fb14b35 (diff) |
ARM: shmobile: sh73a0: Support sparse GPIO numbers
The SH73A0 SoC has sparse GPIO numbers. Declare the pin numbers ranges
in the PFC SoC data and use the pin numbers in the GPIO API.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/sh73a0.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index 606d31d02a4e..4dca135f3aa8 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h | |||
@@ -94,7 +94,7 @@ enum { | |||
94 | GPIO_PORT305, GPIO_PORT306, GPIO_PORT307, GPIO_PORT308, GPIO_PORT309, | 94 | GPIO_PORT305, GPIO_PORT306, GPIO_PORT307, GPIO_PORT308, GPIO_PORT309, |
95 | 95 | ||
96 | /* Table 25-1 (Function 0-7) */ | 96 | /* Table 25-1 (Function 0-7) */ |
97 | GPIO_FN_VBUS_0, | 97 | GPIO_FN_VBUS_0 = 310, |
98 | GPIO_FN_GPI0, | 98 | GPIO_FN_GPI0, |
99 | GPIO_FN_GPI1, | 99 | GPIO_FN_GPI1, |
100 | GPIO_FN_GPI2, | 100 | GPIO_FN_GPI2, |