diff mbox series

ARM: dts: stm32: add sd-uhs properties in SD-card node for stm32mp157c-ed1

Message ID 20200430101649.29381-1-yann.gautier@st.com (mailing list archive)
State Mainlined
Commit 2f9306969a76e9e3d531705c53c5a7874928e811
Headers show
Series ARM: dts: stm32: add sd-uhs properties in SD-card node for stm32mp157c-ed1 | expand

Commit Message

Yann GAUTIER April 30, 2020, 10:16 a.m. UTC
The sdmmc1 peripheral is connected on SD-card on STM32MP1-ED1 board.
Add the UHS features the controller is able to manage.
Those features require a level shifter on the board, and the support of
the voltage switch in driver, which is done in Linux v5.7.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alexandre TORGUE May 5, 2020, 11:51 a.m. UTC | #1
Hi Yann

On 4/30/20 12:16 PM, Yann Gautier wrote:
> The sdmmc1 peripheral is connected on SD-card on STM32MP1-ED1 board.
> Add the UHS features the controller is able to manage.
> Those features require a level shifter on the board, and the support of
> the voltage switch in driver, which is done in Linux v5.7.
> 
> Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
> Signed-off-by: Yann Gautier <yann.gautier@st.com>
> ---
>   arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> index 9d2592db630c..1d7dfe97b160 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> @@ -320,6 +320,10 @@
>   	bus-width = <4>;
>   	vmmc-supply = <&vdd_sd>;
>   	vqmmc-supply = <&sd_switch>;
> +	sd-uhs-sdr12;
> +	sd-uhs-sdr25;
> +	sd-uhs-sdr50;
> +	sd-uhs-ddr50;
>   	status = "okay";
>   };
>   
> 

Applied on stm32-next.

Thanks.
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 9d2592db630c..1d7dfe97b160 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -320,6 +320,10 @@ 
 	bus-width = <4>;
 	vmmc-supply = <&vdd_sd>;
 	vqmmc-supply = <&sd_switch>;
+	sd-uhs-sdr12;
+	sd-uhs-sdr25;
+	sd-uhs-sdr50;
+	sd-uhs-ddr50;
 	status = "okay";
 };