diff mbox series

[v2,2/5] arm: dts: stm32mp157c-odyssey-som: enable all SDMMC2 data lanes

Message ID 181587e59f14987c730d5a0c573407de1c59b511.1622651232.git.gszymaszek@short.pl
State Accepted
Commit b1c8ad53f5df284b7ba989cb9e2cda52c15277c4
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:09 p.m. UTC
Add the “sdmmc2_d47_pins_d” pins to the SDMMC2 pinctrls. Increase the
bus width from four to eight.

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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Patrice CHOTARD June 18, 2021, 7:59 a.m. UTC | #1
On 6/2/21 7:09 PM, Grzegorz Szymaszek wrote:
> Add the “sdmmc2_d47_pins_d” pins to the SDMMC2 pinctrls. Increase the
> bus width from four to eight.
> 
> 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 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> index ed399c00d1..7323325e60 100644
> --- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> +++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
> @@ -264,14 +264,14 @@
>  
>  &sdmmc2 {
>  	pinctrl-names = "default", "opendrain", "sleep";
> -	pinctrl-0 = <&sdmmc2_b4_pins_a>;
> -	pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
> -	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
> +	pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>;
> +	pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_d>;
> +	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>;
>  	non-removable;
>  	no-sd;
>  	no-sdio;
>  	st,neg-edge;
> -	bus-width = <4>;
> +	bus-width = <8>;
>  	vmmc-supply = <&v3v3>;
>  	status = "okay";
>  };
> 
Applied on u-boot-stm32/next

Thanks
Patrice CHOTARD June 18, 2021, 7:59 a.m. UTC | #2
On 6/18/21 9:59 AM, Patrice CHOTARD wrote:
> 
> 
> On 6/2/21 7:09 PM, Grzegorz Szymaszek wrote:
>> Add the “sdmmc2_d47_pins_d” pins to the SDMMC2 pinctrls. Increase the
>> bus width from four to eight.
>>
>> 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 | 8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
>> index ed399c00d1..7323325e60 100644
>> --- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
>> +++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
>> @@ -264,14 +264,14 @@
>>  
>>  &sdmmc2 {
>>  	pinctrl-names = "default", "opendrain", "sleep";
>> -	pinctrl-0 = <&sdmmc2_b4_pins_a>;
>> -	pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
>> -	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
>> +	pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>;
>> +	pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_d>;
>> +	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>;
>>  	non-removable;
>>  	no-sd;
>>  	no-sdio;
>>  	st,neg-edge;
>> -	bus-width = <4>;
>> +	bus-width = <8>;
>>  	vmmc-supply = <&v3v3>;
>>  	status = "okay";
>>  };
>>
> Applied on u-boot-stm32/next
> 
> Thanks
> 
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 ed399c00d1..7323325e60 100644
--- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
+++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
@@ -264,14 +264,14 @@ 
 
 &sdmmc2 {
 	pinctrl-names = "default", "opendrain", "sleep";
-	pinctrl-0 = <&sdmmc2_b4_pins_a>;
-	pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
-	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
+	pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>;
+	pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_d>;
+	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>;
 	non-removable;
 	no-sd;
 	no-sdio;
 	st,neg-edge;
-	bus-width = <4>;
+	bus-width = <8>;
 	vmmc-supply = <&v3v3>;
 	status = "okay";
 };