Skip to contentSkip to conversation

ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries

PATCH Applied Fabio Estevam 3 participants 3 messages Mar 27, 2020 – Apr 23, 2020

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries

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.

Fixes 61664d0b432a ("ARM: dts: imx27 phyCARD-S pinctrl")
---
 arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts +2 -2
index 0cd75dadf292..188639738dc3 100644
@@ -75,8 +75,8 @@
 	imx27-phycard-s-rdk {
 		pinctrl_i2c1: i2c1grp {
 			fsl,pins = <
-				MX27_PAD_I2C2_SDA__I2C2_SDA 0x0
-				MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
+				MX27_PAD_I2C_DATA__I2C_DATA 0x0
+				MX27_PAD_I2C_CLK__I2C_CLK 0x0
 			>;
 		};
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Antwort: [PATCH] ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries

Hi Fabio,

-----Fabio Estevam <[email protected]> schrieb: -----

Quoted 36 lines

An: [email protected]
Von: Fabio Estevam <[email protected]>
Datum: 27.03.2020 14:36
Kopie: [email protected], [email protected], [email protected], [email protected], Fabio Estevam <[email protected]>, [email protected]
Betreff: [PATCH] ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries

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.

Fixes 61664d0b432a ("ARM: dts: imx27 phyCARD-S pinctrl")

---
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts +0 -0
index 0cd75dadf292..188639738dc3 100644
@@ -75,8 +75,8 @@
 imx27-phycard-s-rdk {

arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts

Quoted 10 lines
arch/arm/boot/dts/imx27-phytec-phycard-s-rdk.dts +2 -3
 		pinctrl_i2c1: i2c1grp {
 			fsl,pins = <
-				MX27_PAD_I2C2_SDA__I2C2_SDA 0x0
-				MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
+				MX27_PAD_I2C_DATA__I2C_DATA 0x0
+				MX27_PAD_I2C_CLK__I2C_CLK 0x0
 			>;
 		};
 
--
Quoted 3 lines

2.17.1

Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 8 lines · Fabio Estevam

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

Quoted 5 lines

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

Fixes 61664d0b432a ("ARM: dts: imx27 phyCARD-S pinctrl")

Applied, thanks.