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)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commit0cb3d82c68012887475eba12ee3d8b82894b460b
tree1e97c81672f5c104d35621cbcfba65c52eb3b696
parent7bc1ca3951714f89b78590437433a144db62203f
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]