diff mbox series

[1/5] arm: dts: stm32mp157c-odyssey-som: fix the basic SDMMC2 properties

Message ID 8135659df2b668782d04ee8dc5f352a04e92f1c0.1622220270.git.gszymaszek@short.pl
State Superseded
Delegated to: Patrice Chotard
Headers show
Series arm: dts: stm32mp157c-odyssey-som: sync SDMMC2 with Linux and TF‑A | expand

Commit Message

Grzegorz Szymaszek May 28, 2021, 4:53 p.m. UTC
The SDMMC2 interface hosts an eMMC. Replace the interface properties
that would only apply to SD cards—“broken-cd” and “disable-wp”—with
relevant ones: “non-removable”, “no-sd” and “no-sdio”.

Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
 arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Patrice CHOTARD June 2, 2021, 7:16 a.m. UTC | #1
Hi Grzegorz

On 5/28/21 6:53 PM, Grzegorz Szymaszek wrote:
> The SDMMC2 interface hosts an eMMC. Replace the interface properties
> that would only apply to SD cards—“broken-cd” and “disable-wp”—with
> relevant ones: “non-removable”, “no-sd” and “no-sdio”.
> 
> Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>  arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> index 83ff2e7ce1..5c758b0f72 100644
> --- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> +++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> @@ -263,8 +263,9 @@
>  	pinctrl-0 = <&sdmmc2_b4_pins_a>;
>  	pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
>  	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
> -	broken-cd;
> -	disable-wp;
> +	non-removable;
> +	no-sd;
> +	no-sdio;
>  	st,neg-edge;
>  	bus-width = <4>;
>  	vmmc-supply = <&v3v3>;
> 
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
index 83ff2e7ce1..5c758b0f72 100644
--- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
+++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
@@ -263,8 +263,9 @@ 
 	pinctrl-0 = <&sdmmc2_b4_pins_a>;
 	pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
 	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
-	broken-cd;
-	disable-wp;
+	non-removable;
+	no-sd;
+	no-sdio;
 	st,neg-edge;
 	bus-width = <4>;
 	vmmc-supply = <&v3v3>;