Skip to contentSkip to conversation

ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board

PATCH In review Marek Vasut 2 participants 2 messages Mar 22, 2020 – Apr 1, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board

The I2C2 is routed out to header X21, enable it to make it available. Add a comment to I2C5, which is routed to header X22 right next to it.

Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts +13 -1
index 093cf9605807..3589d81441b1 100644
@@ -97,7 +97,19 @@ phy0: ethernet-phy@1 {
 	};
 };
 
-&i2c5 {
+&i2c2 {	/* Header X22 */
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins_a>;
+	i2c-scl-rising-time-ns = <185>;
+	i2c-scl-falling-time-ns = <20>;
+	status = "okay";
+	/* spare dmas for other usage */
+	/delete-property/dmas;
+	/delete-property/dma-names;
+	status = "okay";
+};
+
+&i2c5 {	/* Header X21 */
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c5_pins_a>;
 	i2c-scl-rising-time-ns = <185>;
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

Hi Marek

Quoted 11 lines · Marek Vasut

The I2C2 is routed out to header X21, enable it to make it available. Add a comment to I2C5, which is routed to header X22 right next to it.

Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]
---

Applied on stm32-next.

Thanks.
Alex

Quoted 19 lines
  arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 +++++++++++++-
  1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts +6 -1
index 093cf9605807..3589d81441b1 100644
@@ -97,7 +97,19 @@ phy0: ethernet-phy@1 {
  	};
  };
 
-&i2c5 {
+&i2c2 {	/* Header X22 */
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins_a>;
+	i2c-scl-rising-time-ns = <185>;
+	i2c-scl-falling-time-ns = <20>;
+	status = "okay";

arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts phy0: ethernet-phy@1 { · line 115

Quoted 10 lines
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts +7 -0
+	/* spare dmas for other usage */
+	/delete-property/dmas;
+	/delete-property/dma-names;
+	status = "okay";
+};
+
+&i2c5 {	/* Header X21 */
  	pinctrl-names = "default";
  	pinctrl-0 = <&i2c5_pins_a>;
  	i2c-scl-rising-time-ns = <185>;

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel