imx: mx7ulp: add iomux driver to support IOMUXC0 and IOMUXC1
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Feb 2017 08:21:41 +0000 (16:21 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 09:23:51 +0000 (17:23 +0800)
commite605114f27c7642e1ef6b0faa8eebab50812df5e
tree887cdc81f48f504057c58da00d73d3a61d3bc874
parentbd428c664b0fea8de5f263703571a1639e2505c6
imx: mx7ulp: add iomux driver to support IOMUXC0 and IOMUXC1

Add a new driver under ULP directory to support its IOMUXC
controllers. The ULP has two IOMUXC, the IOMUXC0 is used
for M4 domain, while IOMUXC1 is for A7. We set IOMUXC1 as
the default IOMUX in this driver. Any pins in IOMUXC0 needs
to configure with IOMUX_CONFIG_MPORTS in its mux_mode field.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by : Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx7ulp/Makefile [new file with mode: 0644]
arch/arm/cpu/armv7/mx7ulp/iomux.c [new file with mode: 0644]
arch/arm/include/asm/arch-mx7ulp/iomux.h [new file with mode: 0644]