Skip to content

Commit

Permalink
ARM: imx51: build in pinctrl support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Guo committed Sep 11, 2012
1 parent b72cf10 commit b6798f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ config SOC_IMX51
select SOC_IMX5
select ARCH_MX5
select ARCH_MX51
select PINCTRL
select PINCTRL_IMX51

if ARCH_IMX_V4_V5

Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-imx/imx51-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <linux/irq.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/pinctrl/machine.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <mach/common.h>
Expand Down Expand Up @@ -55,8 +54,6 @@ static void __init imx51_dt_init(void)
const struct of_device_id *of_id;
void (*func)(void);

pinctrl_provide_dummies();

node = of_find_matching_node(NULL, imx51_iomuxc_of_match);
if (node) {
of_id = of_match_node(imx51_iomuxc_of_match, node);
Expand Down

0 comments on commit b6798f8

Please sign in to comment.