Skip to content

Commit

Permalink
ARM: dts: exynos: Remove double SD card detect pin inversion
Browse files Browse the repository at this point in the history
The SDHCI standard, MMC host controller bindings and MMC core defines
card detect pin as active low.  Therefore there is no point to invert it
twice.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
  • Loading branch information
Krzysztof Kozlowski committed Sep 6, 2018
1 parent c58ce8e commit b803211
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/exynos4210-universal_c210.dts
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
pinctrl-names = "default";
vmmc-supply = <&ldo5_reg>;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
cd-inverted;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
status = "okay";
};

Expand Down
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/exynos4412-midas.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,7 @@

&sdhci_2 {
bus-width = <4>;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
cd-inverted;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
pinctrl-names = "default";
vmmc-supply = <&ldo21_reg>;
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/exynos4412-odroid-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@
pinctrl-names = "default";
vmmc-supply = <&ldo21_reg>;
vqmmc-supply = <&ldo4_reg>;
cd-gpios = <&gpk2 2 GPIO_ACTIVE_HIGH>;
cd-inverted;
cd-gpios = <&gpk2 2 GPIO_ACTIVE_LOW>;
status = "okay";
};

Expand Down

0 comments on commit b803211

Please sign in to comment.