All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"
@ 2020-07-07 16:47 Patrick Delaunay
  2020-07-28 13:56 ` [Uboot-stm32] " Patrice CHOTARD
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Delaunay @ 2020-07-07 16:47 UTC (permalink / raw)
  To: u-boot

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 {
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Uboot-stm32] [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"
  2020-07-07 16:47 [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards" Patrick Delaunay
@ 2020-07-28 13:56 ` Patrice CHOTARD
  2020-07-28 16:16   ` Patrice CHOTARD
  0 siblings, 1 reply; 3+ messages in thread
From: Patrice CHOTARD @ 2020-07-28 13:56 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Uboot-stm32] [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"
  2020-07-28 13:56 ` [Uboot-stm32] " Patrice CHOTARD
@ 2020-07-28 16:16   ` Patrice CHOTARD
  0 siblings, 0 replies; 3+ messages in thread
From: Patrice CHOTARD @ 2020-07-28 16:16 UTC (permalink / raw)
  To: u-boot


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 at st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
Applied to u-boot-stm/master

Thanks

Patrice

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-28 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 16:47 [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards" Patrick Delaunay
2020-07-28 13:56 ` [Uboot-stm32] " Patrice CHOTARD
2020-07-28 16:16   ` Patrice CHOTARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.