diff options
author | Fabio Estevam <festevam@denx.de> | 2023-06-21 14:37:11 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-07-18 10:47:47 +0800 |
commit | 2b1d5d054d29e08926f05cfa30e34d149644585e (patch) | |
tree | bccc01aeae1cbf022cd1f989e8d9b1fcf3329a76 /arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | |
parent | 06b944f40a9bacae62c4514c0c3f77b5b59cefa0 (diff) | |
download | lwn-2b1d5d054d29e08926f05cfa30e34d149644585e.tar.gz lwn-2b1d5d054d29e08926f05cfa30e34d149644585e.zip |
arm64: dts: imx8mn-evk: Pass GPIO_OPEN_DRAIN flag
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
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 1443857bfa5f..f48f854c3768 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -163,8 +163,8 @@ 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 { |