summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2012-02-13 16:46:52 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:22:47 +0800
commitf996fbf9a35d470d64bb96a22c180cfb598a5940 (patch)
treee9d85b444a68fac6e5864d909bc639ab86c3bfc2 /arch/arm/plat-mxc/devices
parent9a1b66ee32e8bd236b769f7b9457d0c48c44fff2 (diff)
downloadlinux-f996fbf9a35d470d64bb96a22c180cfb598a5940.tar.gz
ENGR00174299-2: MSL part: add ePxP V2 driver
MSL part for ePxP v2 driver Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-pxp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-pxp.c b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
index 51030c57ca83..3ae3e4880e1d 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-pxp.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -22,7 +22,7 @@
#include <mach/hardware.h>
#include <mach/devices-common.h>
-#define imx5_pxp_data_entry_single(soc, size) \
+#define imx_pxp_data_entry_single(soc, size) \
{ \
.iobase = soc ## _EPXP_BASE_ADDR, \
.irq = soc ## _INT_EPXP, \
@@ -31,7 +31,12 @@
#ifdef CONFIG_SOC_IMX50
const struct imx_pxp_data imx50_pxp_data __initconst =
- imx5_pxp_data_entry_single(MX50, SZ_4K);
+ imx_pxp_data_entry_single(MX50, SZ_4K);
+#endif
+
+#ifdef CONFIG_SOC_IMX6Q
+const struct imx_pxp_data imx6dl_pxp_data __initconst =
+ imx_pxp_data_entry_single(MX6DL, SZ_16K);
#endif
struct platform_device *__init imx_add_imx_pxp(