]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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 348556fcdd9d9dd010f71b65495bc8627a00b1d1..a2251581f6b60223bedb1d2b0dd594c34c73dab6 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 2ca9319f48f2c554d8dbac7d459868b6c0e818e4..b44f03ef3b2707144ede445f853d88e19275bd97 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;
                };