]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: imx8mm-venice: fix spi2 pin configuration
authorJohan Hovold <johan@kernel.org>
Mon, 28 Feb 2022 10:16:17 +0000 (11:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2022 07:14:30 +0000 (09:14 +0200)
commita1311036fc91abb29ef363aa13459ef8b3218e29
tree5cb54cd834bf05ab5e5db8f0a0da303f1191aa29
parentb60b4525c37f25de9bad526aee6276abe86c9c70
arm64: dts: imx8mm-venice: fix spi2 pin configuration

commit 9945848ef8a26906d17c99560791d58b95a26377 upstream.

Due to what looks like a copy-paste error, the ECSPI2_MISO pad is not
muxed for SPI mode and causes reads from a slave-device connected to the
SPI header to always return zero.

Configure the ECSPI2_MISO pad for SPI mode on the gw71xx, gw72xx and
gw73xx families of boards that got this wrong.

Fixes: aab1530a1b63 ("arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits")
Cc: stable@vger.kernel.org # 5.12
Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi