* [PATCH] pxa: fix CI_HSYNC and CI_VSYNC MFP defines
@ 2010-08-13 3:39 Axel Lin
2010-08-18 4:20 ` Eric Miao
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2010-08-13 3:39 UTC (permalink / raw)
To: linux-arm-kernel
According to PXA3xx Processor Family Developer Manuall Vol1. section
"Pin Descriptions and Control", PXA30x and PXA31x Processor Alternate Function
Table shows the Alt FN 0 for GPIO51 is CI_HSYNC and for GPIO52 is CI_VSYNC.
This patch fixes the MFP defines and also corrects the order of MFD defines.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
arch/arm/mach-pxa/include/mach/mfp-pxa300.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-pxa/include/mach/mfp-pxa300.h b/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
index 7139e0d..4e12870 100644
--- a/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
+++ b/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
@@ -71,10 +71,10 @@
#define GPIO46_CI_DD_7 MFP_CFG_DRV(GPIO46, AF0, DS04X)
#define GPIO47_CI_DD_8 MFP_CFG_DRV(GPIO47, AF1, DS04X)
#define GPIO48_CI_DD_9 MFP_CFG_DRV(GPIO48, AF1, DS04X)
-#define GPIO52_CI_HSYNC MFP_CFG_DRV(GPIO52, AF0, DS04X)
-#define GPIO51_CI_VSYNC MFP_CFG_DRV(GPIO51, AF0, DS04X)
#define GPIO49_CI_MCLK MFP_CFG_DRV(GPIO49, AF0, DS04X)
#define GPIO50_CI_PCLK MFP_CFG_DRV(GPIO50, AF0, DS04X)
+#define GPIO51_CI_HSYNC MFP_CFG_DRV(GPIO51, AF0, DS04X)
+#define GPIO52_CI_VSYNC MFP_CFG_DRV(GPIO52, AF0, DS04X)
/* KEYPAD */
#define GPIO3_KP_DKIN_6 MFP_CFG_LPM(GPIO3, AF2, FLOAT)
--
1.7.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] pxa: fix CI_HSYNC and CI_VSYNC MFP defines
2010-08-13 3:39 [PATCH] pxa: fix CI_HSYNC and CI_VSYNC MFP defines Axel Lin
@ 2010-08-18 4:20 ` Eric Miao
0 siblings, 0 replies; 2+ messages in thread
From: Eric Miao @ 2010-08-18 4:20 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 13, 2010 at 11:39 AM, Axel Lin <axel.lin@gmail.com> wrote:
> According to PXA3xx Processor Family Developer Manuall Vol1. section
> "Pin Descriptions and Control", PXA30x and PXA31x Processor Alternate Function
> Table shows the Alt FN 0 for GPIO51 is CI_HSYNC and for GPIO52 is CI_VSYNC.
> This patch fixes the MFP defines and also corrects the order of MFD defines.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied to 'fix'.
> ---
> ?arch/arm/mach-pxa/include/mach/mfp-pxa300.h | ? ?4 ++--
> ?1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/include/mach/mfp-pxa300.h b/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
> index 7139e0d..4e12870 100644
> --- a/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
> +++ b/arch/arm/mach-pxa/include/mach/mfp-pxa300.h
> @@ -71,10 +71,10 @@
> ?#define GPIO46_CI_DD_7 ? ? ? ? MFP_CFG_DRV(GPIO46, AF0, DS04X)
> ?#define GPIO47_CI_DD_8 ? ? ? ? MFP_CFG_DRV(GPIO47, AF1, DS04X)
> ?#define GPIO48_CI_DD_9 ? ? ? ? MFP_CFG_DRV(GPIO48, AF1, DS04X)
> -#define GPIO52_CI_HSYNC ? ? ? ? ? ? ? ?MFP_CFG_DRV(GPIO52, AF0, DS04X)
> -#define GPIO51_CI_VSYNC ? ? ? ? ? ? ? ?MFP_CFG_DRV(GPIO51, AF0, DS04X)
> ?#define GPIO49_CI_MCLK ? ? ? ? MFP_CFG_DRV(GPIO49, AF0, DS04X)
> ?#define GPIO50_CI_PCLK ? ? ? ? MFP_CFG_DRV(GPIO50, AF0, DS04X)
> +#define GPIO51_CI_HSYNC ? ? ? ? ? ? ? ?MFP_CFG_DRV(GPIO51, AF0, DS04X)
> +#define GPIO52_CI_VSYNC ? ? ? ? ? ? ? ?MFP_CFG_DRV(GPIO52, AF0, DS04X)
>
> ?/* KEYPAD */
> ?#define GPIO3_KP_DKIN_6 ? ? ? ? ? ? ? ?MFP_CFG_LPM(GPIO3, ? AF2, FLOAT)
> --
> 1.7.2
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-18 4:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 3:39 [PATCH] pxa: fix CI_HSYNC and CI_VSYNC MFP defines Axel Lin
2010-08-18 4:20 ` Eric Miao
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).