aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos3250-monk.dts
diff options
context:
space:
mode:
authorMarek Szyprowski2020-03-26 15:39:09 +0100
committerKrzysztof Kozlowski2020-04-13 11:42:36 +0200
commit8df80c1801c99e2a000c20ee2ab1a94ddd326720 (patch)
tree0512e03711af6abf976159e4e4bbf7212cf4af46 /arch/arm/boot/dts/exynos3250-monk.dts
parent8807d356bfea92b0a8f04ce421800ed83400cd22 (diff)
ARM: dts: exynos: Convert to new i2c-gpio bindings
The updated "i2c-gpio" driver bindings require to define the SDA and SCL GPIO lines in the separate properties and mark both as GPIO_OPEN_DRAIN. Covert all Exynos dts files to follow this style. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos3250-monk.dts')
-rw-r--r--arch/arm/boot/dts/exynos3250-monk.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts
index 248bd372fe70..ca29d7ed8216 100644
--- a/arch/arm/boot/dts/exynos3250-monk.dts
+++ b/arch/arm/boot/dts/exynos3250-monk.dts
@@ -57,7 +57,8 @@
i2c_max77836: i2c-gpio-0 {
compatible = "i2c-gpio";
- gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
+ sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
#address-cells = <1>;
#size-cells = <0>;