summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-apalis.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-01-18 14:31:13 +0100
committerShawn Guo <shawnguo@kernel.org>2019-02-11 02:22:26 +0100
commitd2b91ab1480618885fe0a7f240b7e7710344a066 (patch)
tree606edfbe78ac24cbf853aac3f5ed36895f04f10f /arch/arm/boot/dts/imx6qdl-apalis.dtsi
parentARM: dts: vf610-zii-ssmb-spu3: Pass "no-sdio"/"no-sd" properties (diff)
downloadlinux-d2b91ab1480618885fe0a7f240b7e7710344a066.tar.xz
linux-d2b91ab1480618885fe0a7f240b7e7710344a066.zip
ARM: dts: imx6*-apalis/-colibri: mark I2C recovery GPIOs as open drain
Since commit d2d0ad2aec4a ("i2c: imx: use open drain for recovery GPIO") GPIO lib expects this GPIO to be configured as open drain. Make sure we define this GPIO as open drain in the device tree. This gets rid of the following warning: gpio-81 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file Note that currently the i.MX pinctrl driver does not support enabling open drain directly, so this patch has no effect in practice. Open drain is enabled by the fixed pinmux entry. Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-apalis.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-apalis.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
index 8380f1b26826..5e6cec92e090 100644
--- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi
@@ -369,8 +369,8 @@
pinctrl-names = "default", "recovery";
pinctrl-0 = <&pinctrl_i2c3>;
pinctrl-1 = <&pinctrl_i2c3_recovery>;
- scl-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
- sda-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
+ scl-gpios = <&gpio3 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio3 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "disabled";
};