diff options
author | Nicolas Ferre <nicolas.ferre@microchip.com> | 2021-06-04 15:19:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:02:25 +0200 |
commit | 9f818ec66f4764c7e9878cb0b3c2a84ff652f588 (patch) | |
tree | 3dcdb9e518a7634945175353832874b1204b0dfb | |
parent | 3819aedd4533bda0483572630316266be1b05ecb (diff) | |
download | linux-stable-9f818ec66f4764c7e9878cb0b3c2a84ff652f588.tar.gz linux-stable-9f818ec66f4764c7e9878cb0b3c2a84ff652f588.tar.bz2 linux-stable-9f818ec66f4764c7e9878cb0b3c2a84ff652f588.zip |
dt-bindings: i2c: at91: fix example for scl-gpios
[ Upstream commit 92e669017ff1616ba7d8ba3c65f5193bc2a7acbe ]
The SCL gpio pin used by I2C bus for recovery needs to be configured as
open drain, so fix the binding example accordingly.
In relation with fix c5a283802573 ("ARM: dts: at91: Configure I2C SCL
gpio as open drain").
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Fixes: 19e5cef058a0 ("dt-bindings: i2c: at91: document optional bus recovery properties")
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-at91.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-at91.txt b/Documentation/devicetree/bindings/i2c/i2c-at91.txt index 96c914e048f5..2015f50aed0f 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-at91.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-at91.txt @@ -73,7 +73,7 @@ i2c0: i2c@f8034600 { pinctrl-0 = <&pinctrl_i2c0>; pinctrl-1 = <&pinctrl_i2c0_gpio>; sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>; - scl-gpios = <&pioA 31 GPIO_ACTIVE_HIGH>; + scl-gpios = <&pioA 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; wm8731: wm8731@1a { compatible = "wm8731"; |