summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/iomux-v1.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-24arm/imx/iomux-v1: check for invalid modes in mxc_gpio_modeUwe Kleine-König1-28/+49
mxc_gpio_mode checks for invalid pins and so it returns zero for success, -EINVAL for invalid pins. While at it, remove definitions of GPIO_PORT_MAX removed as they are unused now. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2010-02-24arm/imx/iomux-v1: rename header fileUwe Kleine-König1-1/+1
Addionally make iomux-mx*.h headers stand-alone and similar to iomux-v3 platform files should include their platform iomux header from now on. For now iomux.h simply includes all iomux-v1 platform headers and so provides compatibility until all files are converted. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2010-02-24arm/imx/iomux-v1: make base address a runtime choiceUwe Kleine-König1-66/+127
While at it move register modification to static inlines and so make the relevant code more readable. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2010-02-24arm/imx/iomux-v1: rename source file and reorganize Kconfig stuffUwe Kleine-König1-0/+156
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>