pinctrl: i.MX7: Fix LPSR sel_imput setting
The i.MX7 has two pinmux controllers, the regular and the LPSR
controller. The LPSR pinmux controller doesn't have any sel_input
registers, instead they can be found in the regular pinmux controller.
This means whenever we want to apply the the sel_input setting for
the LPSR controller, we have to apply them to the regular controller
instead.
In barebox take the easy way out and just add the difference of the
two base addresses to the register offset. The same issue is present
in the Kernel aswell, but when the bootloader already configured
the pins correctly nobody notices when the Kernel sel_input setup
effectively is a no-op.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c82e1f9 commit ad200f0dc31c1dc89e36e0d2f71707c51e2bc0a1
@Sascha Hauer Sascha Hauer authored on 1 Feb 2017
Showing 2 changed files
View
arch/arm/mach-imx/include/mach/iomux-v3.h
View
drivers/pinctrl/imx-iomux-v3.c