ARM: i.MX: mx21ads: Replace direct handling of peripheral bits with GPIOs
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 3 Mar 2014 18:37:44 +0000 (22:37 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Wed, 30 Apr 2014 05:40:27 +0000 (13:40 +0800)
commit477fbf1db8cb7b33ada578efb6dd8ce2f00de7f8
tree3ab08f0a678ebe9bc757c876e9282d024b5e5f78
parentd1db0eea852497762cab43b905b879dfcd3b8987
ARM: i.MX: mx21ads: Replace direct handling of peripheral bits with GPIOs

This patch replaces direct handling of peripheral bits with GPIOs by
using basic-mmio-gpio driver. As a result this change eliminate some
low-level code and removes custom io_map() from the board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/mach-mx21ads.c