Re: [PATCH] pxa: fix CI_HSYNC and CI_VSYNC MFP defines

From: Eric Miao
Date: Wed Aug 18 2010 - 00:20:56 EST


On Fri, Aug 13, 2010 at 11:39 AM, Axel Lin <axel.lin@xxxxxxxxx> 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@xxxxxxxxx>

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
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/