Skip to contentSkip to conversation

arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag

PATCH Applied Fabio Estevam 2 participants 2 messages Jun 21, 2023 – Jul 19, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag

From: Fabio Estevam <[email protected]>

scl-gpios and sda-gpios need GPIO_OPEN_DRAIN flag, otherwise the following run-time warning is seen:

gpio-144 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-146 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file

---
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +2 -2
index 1443857bfa5f..f48f854c3768 100644
@@ -163,8 +163,8 @@ &i2c2 {
 	pinctrl-names = "default", "gpio";
 	pinctrl-0 = <&pinctrl_i2c2>;
 	pinctrl-1 = <&pinctrl_i2c2_gpio>;
-	scl-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>;
-	sda-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
+	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
 	ptn5110: tcpc@50 {
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

scl-gpios and sda-gpios need GPIO_OPEN_DRAIN flag, otherwise the following run-time warning is seen:

gpio-144 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-146 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file

Applied, thanks!

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