Skip to contentSkip to conversation

Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"

PATCH New Patrick Delaunay 2 participants 3 messages Jul 7, 2020 – Jul 28, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"

Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") the gpio flags are supported by stm32 pinctrl driver.

The cd-gpios is correctly handle in U-Boot and the patch on the device tree can be removed.

This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --
 2 files changed, 4 deletions(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -2
index 7b8c1c1cc7..06cff38460 100644
@@ -162,8 +162,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +0 -2
index ef3e7f45a3..7759ba2896 100644
@@ -158,8 +158,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"

Quoted 33 lines · Patrick Delaunay

Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") the gpio flags are supported by stm32 pinctrl driver.

The cd-gpios is correctly handle in U-Boot and the patch on the device tree can be removed.

This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --
 2 files changed, 4 deletions(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -2
index 7b8c1c1cc7..06cff38460 100644
@@ -162,8 +162,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +0 -0
index ef3e7f45a3..7759ba2896 100644

arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi line 163

Quoted 8 lines
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +0 -2
@@ -158,8 +158,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {

Thanks

Patrice

#2 lore raw

PATCH 1/1 Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"

Quoted 44 lines · Patrice CHOTARD
Quoted 33 lines · Patrick Delaunay

Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") the gpio flags are supported by stm32 pinctrl driver.

The cd-gpios is correctly handle in U-Boot and the patch on the device tree can be removed.

This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --
 2 files changed, 4 deletions(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -2
index 7b8c1c1cc7..06cff38460 100644
@@ -162,8 +162,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +0 -0
index ef3e7f45a3..7759ba2896 100644

arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi line 163

Quoted 8 lines
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +0 -2
@@ -158,8 +158,6 @@
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
Quoted 7 lines

Thanks

Patrice
_______________________________________________
Uboot-stm32 mailing list
Uboot-stm32 at st-md-mailman.stormreply.com
https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32

Applied to u-boot-stm/master

Thanks

Patrice