diff mbox series

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

Message ID f69f91b059ce1d44de15994ac7a6fc25e4165448.1622651232.git.gszymaszek@short.pl
State Accepted
Commit b40a034a637fef883de033fe40009afa0807fd3c
Delegated to: Patrice Chotard
Headers show
Series arm: dts: stm32mp157c-odyssey-som: sync SDMMC2 with Linux and TF‑A | expand

Commit Message

Grzegorz Szymaszek June 2, 2021, 5:08 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>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
Changes for v2:
   - rebased on current master (patch not changed)
   - added Patrice Chotard’s Reviewed-by

 arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Patrice CHOTARD June 18, 2021, 7:59 a.m. UTC | #1
On 6/2/21 7:08 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>
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
> Changes for v2:
>    - rebased on current master (patch not changed)
>    - added Patrice Chotard’s Reviewed-by
> 
>  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 e367a311c4..ed399c00d1 100644
> --- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> +++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> @@ -267,8 +267,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>;
> 
Applied on u-boot-stm32/next

Thanks
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
index e367a311c4..ed399c00d1 100644
--- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
+++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
@@ -267,8 +267,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>;