]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx25-pinfunc: remove SION from all modes
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 13 Jun 2016 10:17:55 +0000 (12:17 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 15 Jun 2016 13:42:45 +0000 (21:42 +0800)
commit67c29a81c2cf06f290ac81d73fdd887ef3c3b971
tree19bb923b912e019c2a939dea80bd6855328d2030
parentda4fa6fa8016dba54aef2b20793b8e99c6af022d
ARM: imx25-pinfunc: remove SION from all modes

With the SION bit set a pin can be read as GPIO even though it's not muxed
as GPIO. This is useful at times. The downside however is that the signal
is not only routed to the GPIO IP but also all other IPs that can make use
of the pin. This resulted in more than one issue for me in the past. Things
like spi transfers that result in usb reenumeration or setting a GPIO to a
value that triggers an RTS irq for an UART.

This convinces me that the SION bit does more harm than good and so all
SION bits are removed that are not known to be needed.

Note that this has no influence on GPIOs under Linux as the gpio-mxc
driver just reports the level the pin is driven to for outputs and not
the level as seen on the pin.

If this commit introduces a regression for you, please report which SION
bit is essential for your setup.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx25-pinfunc.h