]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries
authorFabio Estevam <festevam@gmail.com>
Fri, 27 Mar 2020 13:36:24 +0000 (10:36 -0300)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Mon, 22 Jun 2020 20:22:06 +0000 (17:22 -0300)
commitfd8f7a8b003ec68ec3bc5ae27dff2b724b66be9a
treee31812ff2bbdaf1755e3dc757a890b3195c493fd
parentdf8b5d0cb1047c6e5ce7799bc435bc9cba8fef43
ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries

BugLink: https://bugs.launchpad.net/bugs/1879759
commit 0caf34350a25907515d929a9c77b9b206aac6d1e upstream.

The I2C2 pins are already used and the following errors are seen:

imx27-pinctrl 10015000.iomuxc: pin MX27_PAD_I2C2_SDA already requested by 10012000.i2c; cannot claim for 1001d000.i2c
imx27-pinctrl 10015000.iomuxc: pin-69 (1001d000.i2c) status -22
imx27-pinctrl 10015000.iomuxc: could not request pin 69 (MX27_PAD_I2C2_SDA) from group i2c2grp  on device 10015000.iomuxc
imx-i2c 1001d000.i2c: Error applying setting, reverse things back
imx-i2c: probe of 1001d000.i2c failed with error -22

Fix it by adding the correct I2C1 IOMUX entries for the pinctrl_i2c1 group.

Cc: <stable@vger.kernel.org>
Fixes: 61664d0b432a ("ARM: dts: imx27 phyCARD-S pinctrl")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts