1
0
Fork 0

ARM: dts: exynos: Fix conflicting fixed-regulator GPIO flags and properties

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>
hifive-unleashed-5.1
Marek Szyprowski 2019-01-09 10:48:23 +01:00 committed by Krzysztof Kozlowski
parent 4de3f59c51
commit 04aacc64ca
2 changed files with 2 additions and 2 deletions

View 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;
};

View File

@ -100,7 +100,7 @@
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;
};