[2/2] ARM: dts: support Highspeed for rk3066a platform
diff mbox

Message ID 1441956341-10623-1-git-send-email-shawn.lin@rock-chips.com
State New
Headers show

Commit Message

Shawn Lin Sept. 11, 2015, 7:25 a.m. UTC
Add cap-sd-highspeed and cap-mmc-highspeed for rk3066a
platform to make sd cards running faster.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 arch/arm/boot/dts/rk3066a.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Heiko Stübner Sept. 11, 2015, 10:45 p.m. UTC | #1
Hi Shawn,

Am Freitag, 11. September 2015, 15:25:41 schrieb Shawn Lin:
> Add cap-sd-highspeed and cap-mmc-highspeed for rk3066a
> platform to make sd cards running faster.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
> 
>  arch/arm/boot/dts/rk3066a.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
> index 946f187..b50a785 100644
> --- a/arch/arm/boot/dts/rk3066a.dtsi
> +++ b/arch/arm/boot/dts/rk3066a.dtsi
> @@ -595,6 +595,8 @@
>  &mmc0 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
> +	cap-mmc-highspeed;
> +	cap-sd-highspeed;
>  };
> 

Currently we're setting the dw_mmc capabilities in the individual board files 
and patch1 also correctly adds the cap to the radxarock file.

So I'd think we should stay with one scheme and probably add the rk3066 caps 
to the bqcurie2, marsboard and rayeager where applicable.


Heiko
Shawn Lin Sept. 11, 2015, 11:44 p.m. UTC | #2
? 2015/9/12 6:45, Heiko Stübner ??:
> Hi Shawn,
>
> Am Freitag, 11. September 2015, 15:25:41 schrieb Shawn Lin:
>> Add cap-sd-highspeed and cap-mmc-highspeed for rk3066a
>> platform to make sd cards running faster.
>>
>> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
>> ---
>>
>>   arch/arm/boot/dts/rk3066a.dtsi | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
>> index 946f187..b50a785 100644
>> --- a/arch/arm/boot/dts/rk3066a.dtsi
>> +++ b/arch/arm/boot/dts/rk3066a.dtsi
>> @@ -595,6 +595,8 @@
>>   &mmc0 {
>>   	pinctrl-names = "default";
>>   	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
>> +	cap-mmc-highspeed;
>> +	cap-sd-highspeed;
>>   };
>>
>
> Currently we're setting the dw_mmc capabilities in the individual board files
> and patch1 also correctly adds the cap to the radxarock file.
>

Thanks, Heiko. :)

Right, I was condering add caps in rk3066a for all boards which include 
it or for each individual board. Unfortunately, I chose the wrong one.:(


Done in the v2.

> So I'd think we should stay with one scheme and probably add the rk3066 caps
> to the bqcurie2, marsboard and rayeager where applicable.
>
>
> Heiko
>
>
>

Patch
diff mbox

diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index 946f187..b50a785 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -595,6 +595,8 @@ 
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
 };
 
 &mmc1 {