ARM: dts: exynos: Fix conflicting fixed-regulator GPIO flags and properties
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 9 Jan 2019 09:48:23 +0000 (10:48 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Jan 2019 20:01:34 +0000 (21:01 +0100)
Bindings of the fixed-regulator, which precedes support for GPIO flags
passed via phandle descriptor, introduced its own method annotating
that the given GPIO line is active low or high - by using
'enable-active-high' property. The driver always ignored flags passed
via GPIO descriptor.

Fix the conflicting GPIO flags to match the status forced by the
'enable-active-high' property to avoid future confusion.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4412-odroidx.dts
arch/arm/boot/dts/exynos5250-arndale.dts

index 348556f..a225158 100644 (file)
@@ -53,7 +53,7 @@
                regulator-name = "p3v3_en";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
-               gpio = <&gpa1 1 GPIO_ACTIVE_LOW>;
+               gpio = <&gpa1 1 GPIO_ACTIVE_HIGH>;
                enable-active-high;
                regulator-always-on;
        };
index 2ca9319..b44f03e 100644 (file)
                        regulator-name = "VDD_33ON_2.8V";
                        regulator-min-microvolt = <2800000>;
                        regulator-max-microvolt = <2800000>;
-                       gpio = <&gpx1 1 GPIO_ACTIVE_LOW>;
+                       gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                };