diff mbox series

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

Message ID 20200707164729.20359-1-patrick.delaunay@st.com
State Accepted
Commit 5f865bb53bb7da4edf07f6a14692a137e972d318
Headers show
Series Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards" | expand

Commit Message

Patrick Delaunay July 7, 2020, 4:47 p.m. UTC
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.

Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --
 2 files changed, 4 deletions(-)

Comments

Patrice CHOTARD July 28, 2020, 1:56 p.m. UTC | #1
On 7/7/20 6:47 PM, Patrick Delaunay wrote:
> 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.

>

> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>

> ---

>

>  arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --

>  arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --

>  2 files changed, 4 deletions(-)

>

> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

> index 7b8c1c1cc7..06cff38460 100644

> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

> @@ -162,8 +162,6 @@

>  

>  &sdmmc1 {

>  	u-boot,dm-spl;

> -	broken-cd;

> -	/delete-property/ cd-gpios;

>  };

>  

>  &sdmmc1_b4_pins_a {

> diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

> index ef3e7f45a3..7759ba2896 100644

> --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

> +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

> @@ -158,8 +158,6 @@

>  

>  &sdmmc1 {

>  	u-boot,dm-spl;

> -	broken-cd;

> -	/delete-property/ cd-gpios;

>  };

>  

>  &sdmmc1_b4_pins_a {


Reviewed-by: Patrice Chotard <patrice.chotard@st.com>


Thanks

Patrice
Patrice CHOTARD July 28, 2020, 4:16 p.m. UTC | #2
On 7/28/20 3:56 PM, Patrice CHOTARD wrote:
> On 7/7/20 6:47 PM, Patrick Delaunay wrote:

>> 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.

>>

>> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>

>> ---

>>

>>  arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 --

>>  arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 --

>>  2 files changed, 4 deletions(-)

>>

>> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

>> index 7b8c1c1cc7..06cff38460 100644

>> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

>> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi

>> @@ -162,8 +162,6 @@

>>  

>>  &sdmmc1 {

>>  	u-boot,dm-spl;

>> -	broken-cd;

>> -	/delete-property/ cd-gpios;

>>  };

>>  

>>  &sdmmc1_b4_pins_a {

>> diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

>> index ef3e7f45a3..7759ba2896 100644

>> --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

>> +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

>> @@ -158,8 +158,6 @@

>>  

>>  &sdmmc1 {

>>  	u-boot,dm-spl;

>> -	broken-cd;

>> -	/delete-property/ cd-gpios;

>>  };

>>  

>>  &sdmmc1_b4_pins_a {

> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>

>

> Thanks

>

> Patrice

> _______________________________________________

> Uboot-stm32 mailing list

> Uboot-stm32@st-md-mailman.stormreply.com

> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32

Applied to u-boot-stm/master

Thanks

Patrice
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
index 7b8c1c1cc7..06cff38460 100644
--- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
@@ -162,8 +162,6 @@ 
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index ef3e7f45a3..7759ba2896 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -158,8 +158,6 @@ 
 
 &sdmmc1 {
 	u-boot,dm-spl;
-	broken-cd;
-	/delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {