[Uboot-stm32] [PATCH] Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards"

Patrice CHOTARD patrice.chotard at st.com
Tue Jul 28 15:56:33 CEST 2020


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 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(-)
>
> 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 at st.com>

Thanks

Patrice


More information about the U-Boot mailing list