* [PATCH] ARM: S5P64X0: Modify number of GPIO lines in Bank F
@ 2011-02-26 4:25 Banajit Goswami
2011-02-28 8:20 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Banajit Goswami @ 2011-02-26 4:25 UTC (permalink / raw)
To: linux-arm-kernel
This patch modifies the number of total GPIO lines for Bank F
for Samsung S5P6440 and S5P6450 SoCs from 2 to 16.
This is necessary as the GPIO lines from 0 to 13 are reserved
and only lines 14 and 15 are used. As during initialization,
the line number starts at 0, putting 2 does not solve the
intended purpose.
Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
---
arch/arm/mach-s5p64x0/include/mach/gpio.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-s5p64x0/include/mach/gpio.h b/arch/arm/mach-s5p64x0/include/mach/gpio.h
index 5486c8f..adb5f29 100644
--- a/arch/arm/mach-s5p64x0/include/mach/gpio.h
+++ b/arch/arm/mach-s5p64x0/include/mach/gpio.h
@@ -23,7 +23,7 @@
#define S5P6440_GPIO_A_NR (6)
#define S5P6440_GPIO_B_NR (7)
#define S5P6440_GPIO_C_NR (8)
-#define S5P6440_GPIO_F_NR (2)
+#define S5P6440_GPIO_F_NR (16)
#define S5P6440_GPIO_G_NR (7)
#define S5P6440_GPIO_H_NR (10)
#define S5P6440_GPIO_I_NR (16)
@@ -36,7 +36,7 @@
#define S5P6450_GPIO_B_NR (7)
#define S5P6450_GPIO_C_NR (8)
#define S5P6450_GPIO_D_NR (8)
-#define S5P6450_GPIO_F_NR (2)
+#define S5P6450_GPIO_F_NR (16)
#define S5P6450_GPIO_G_NR (14)
#define S5P6450_GPIO_H_NR (10)
#define S5P6450_GPIO_I_NR (16)
--
1.6.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: S5P64X0: Modify number of GPIO lines in Bank F
2011-02-26 4:25 [PATCH] ARM: S5P64X0: Modify number of GPIO lines in Bank F Banajit Goswami
@ 2011-02-28 8:20 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2011-02-28 8:20 UTC (permalink / raw)
To: linux-arm-kernel
Banajit Goswami wrote:
>
> This patch modifies the number of total GPIO lines for Bank F
> for Samsung S5P6440 and S5P6450 SoCs from 2 to 16.
> This is necessary as the GPIO lines from 0 to 13 are reserved
> and only lines 14 and 15 are used. As during initialization,
> the line number starts at 0, putting 2 does not solve the
> intended purpose.
>
> Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
> ---
> arch/arm/mach-s5p64x0/include/mach/gpio.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-s5p64x0/include/mach/gpio.h b/arch/arm/mach-
> s5p64x0/include/mach/gpio.h
> index 5486c8f..adb5f29 100644
> --- a/arch/arm/mach-s5p64x0/include/mach/gpio.h
> +++ b/arch/arm/mach-s5p64x0/include/mach/gpio.h
> @@ -23,7 +23,7 @@
> #define S5P6440_GPIO_A_NR (6)
> #define S5P6440_GPIO_B_NR (7)
> #define S5P6440_GPIO_C_NR (8)
> -#define S5P6440_GPIO_F_NR (2)
> +#define S5P6440_GPIO_F_NR (16)
> #define S5P6440_GPIO_G_NR (7)
> #define S5P6440_GPIO_H_NR (10)
> #define S5P6440_GPIO_I_NR (16)
> @@ -36,7 +36,7 @@
> #define S5P6450_GPIO_B_NR (7)
> #define S5P6450_GPIO_C_NR (8)
> #define S5P6450_GPIO_D_NR (8)
> -#define S5P6450_GPIO_F_NR (2)
> +#define S5P6450_GPIO_F_NR (16)
> #define S5P6450_GPIO_G_NR (14)
> #define S5P6450_GPIO_H_NR (10)
> #define S5P6450_GPIO_I_NR (16)
> --
Ok, applied.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-28 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 4:25 [PATCH] ARM: S5P64X0: Modify number of GPIO lines in Bank F Banajit Goswami
2011-02-28 8:20 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).