Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group

Currently, SD card fails to mount due to the following pinctrl error:

[ 11.170000] imx23-pinctrl 80018000.pinctrl: pin SSP1_DETECT already requested by 80018000.pinctrl; cannot claim for 80010000.spi
[ 11.180000] imx23-pinctrl 80018000.pinctrl: pin-65 (80010000.spi) status -22
[ 11.190000] imx23-pinctrl 80018000.pinctrl: could not request pin 65 (SSP1_DETECT) from group mmc0-pins-fixup.0 on device 80018000.pinctrl
[ 11.200000] mxs-mmc 80010000.spi: Error applying setting, reverse things back

Fix it by removing the MX23_PAD_SSP1_DETECT pin from the hog group as it
is already been used by the mmc0-pins-fixup pinctrl group.

With this change the rootfs can be mounted and the imx23-evk board can
boot successfully.

Cc: <stable@vger.kernel.org>
Fixes: bc3875f1a61e ("ARM: dts: mxs: modify mx23/mx28 dts files to use pinctrl headers")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
42c9b28e 993d6614

-1
-1
arch/arm/boot/dts/imx23-evk.dts
··· 79 79 MX23_PAD_LCD_RESET__GPIO_1_18 80 80 MX23_PAD_PWM3__GPIO_1_29 81 81 MX23_PAD_PWM4__GPIO_1_30 82 - MX23_PAD_SSP1_DETECT__SSP1_DETECT 83 82 >; 84 83 fsl,drive-strength = <MXS_DRIVE_4mA>; 85 84 fsl,voltage = <MXS_VOLTAGE_HIGH>;