]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx6dl: fix GPIO4 range
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Wed, 18 Jan 2017 10:09:51 +0000 (11:09 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Jan 2017 10:07:03 +0000 (18:07 +0800)
commit1dce3a305c46831aa2ee938b39c627afbb958fb0
tree926586ad4573b9fa62bf5cc46c307bc6d1af0282
parent2b52af9888c9d9b70ef50d0c3fd03258359cc997
ARM: dts: imx6dl: fix GPIO4 range

GPIO4_11 is on pin 152(MX6DL_PAD_KEY_ROW2) and not on pin
151(MX6DL_PAD_KEY_ROW1).

I found the error while booting a mainline kernel on APF6S SoM and
noticed the following message:

[    2.609337] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW1
already requested by 20a8000.gpio:105; cannot claim for 20a8000.gpio:107
[    2.621884] imx6dl-pinctrl 20e0000.iomuxc: pin-151 (20a8000.gpio:107)
status -22
[    2.629303] spi_imx 2008000.ecspi: Can't get CS GPIO 107

With this patch, the message is gone and spi_imx driver probes correctly.

Fixes: 15252f464f04 ("ARM: dts: add gpio-ranges property to iMX GPIO controllers")
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl.dtsi