aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-08-13 07:55:37 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-09-11 04:26:58 -0400
commitb6798f88bc1458eb7ab671b874880fd7ba77cfb4 (patch)
tree37a4d2b8d980dd6d86d8bb577d249d209a082296
parentb72cf10578651411143b0ef21bfe0b6ffc921aa2 (diff)
ARM: imx51: build in pinctrl support
With the imx51 DT board having pinctrl setup define in device tree, it's time to remove dummy pinctrl state and build in the real imx51 pinctrl support. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/mach-imx/Kconfig2
-rw-r--r--arch/arm/mach-imx/imx51-dt.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 374fcc256d43..7ca5fe45945f 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -101,6 +101,8 @@ config SOC_IMX51
101 select SOC_IMX5 101 select SOC_IMX5
102 select ARCH_MX5 102 select ARCH_MX5
103 select ARCH_MX51 103 select ARCH_MX51
104 select PINCTRL
105 select PINCTRL_IMX51
104 106
105if ARCH_IMX_V4_V5 107if ARCH_IMX_V4_V5
106 108
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c
index 8604165b2a57..306cddca6c7c 100644
--- a/arch/arm/mach-imx/imx51-dt.c
+++ b/arch/arm/mach-imx/imx51-dt.c
@@ -13,7 +13,6 @@
13#include <linux/irq.h> 13#include <linux/irq.h>
14#include <linux/of_irq.h> 14#include <linux/of_irq.h>
15#include <linux/of_platform.h> 15#include <linux/of_platform.h>
16#include <linux/pinctrl/machine.h>
17#include <asm/mach/arch.h> 16#include <asm/mach/arch.h>
18#include <asm/mach/time.h> 17#include <asm/mach/time.h>
19#include <mach/common.h> 18#include <mach/common.h>
@@ -55,8 +54,6 @@ static void __init imx51_dt_init(void)
55 const struct of_device_id *of_id; 54 const struct of_device_id *of_id;
56 void (*func)(void); 55 void (*func)(void);
57 56
58 pinctrl_provide_dummies();
59
60 node = of_find_matching_node(NULL, imx51_iomuxc_of_match); 57 node = of_find_matching_node(NULL, imx51_iomuxc_of_match);
61 if (node) { 58 if (node) {
62 of_id = of_match_node(imx51_iomuxc_of_match, node); 59 of_id = of_match_node(imx51_iomuxc_of_match, node);