[PATCH] DA8xx/OMAP-L1xx: Add high speed SD/MMC capabilities

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] DA8xx/OMAP-L1xx: Add high speed SD/MMC capabilities

Chaithrika U S
Include high speed capabilities in MMC/SD platform data
for DA830/OMAP-L137 and DA850/OMAP-L138 EVMs.

Signed-off-by: Chaithrika U S <[hidden email]>
---
 arch/arm/mach-davinci/board-da830-evm.c |    2 ++
 arch/arm/mach-davinci/board-da850-evm.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c
index d2159e7..ed93d2e 100644
--- a/arch/arm/mach-davinci/board-da830-evm.c
+++ b/arch/arm/mach-davinci/board-da830-evm.c
@@ -261,6 +261,8 @@ static int da830_evm_mmc_get_ro(int index)
 static struct davinci_mmc_config da830_evm_mmc_config = {
  .get_ro = da830_evm_mmc_get_ro,
  .wires = 4,
+ .max_freq = 50000000,
+ .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
  .version = MMC_CTLR_VERSION_2,
 };
 
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 23e2024..489d641 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -280,6 +280,8 @@ static struct davinci_mmc_config da850_mmc_config = {
  .get_ro = da850_evm_mmc_get_ro,
  .get_cd = da850_evm_mmc_get_cd,
  .wires = 4,
+ .max_freq = 50000000,
+ .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
  .version = MMC_CTLR_VERSION_2,
 };
 
--
1.5.6

Reply | Threaded
Open this post in threaded view
|

[PATCH] DA8xx/OMAP-L1xx: Add high speed SD/MMC capabilities

Kevin Hilman
Chaithrika U S <[hidden email]> writes:

> Include high speed capabilities in MMC/SD platform data
> for DA830/OMAP-L137 and DA850/OMAP-L138 EVMs.
>
> Signed-off-by: Chaithrika U S <[hidden email]>

Thanks, applying to davinci-next.

Kevin

> ---
>  arch/arm/mach-davinci/board-da830-evm.c |    2 ++
>  arch/arm/mach-davinci/board-da850-evm.c |    2 ++
>  2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c
> index d2159e7..ed93d2e 100644
> --- a/arch/arm/mach-davinci/board-da830-evm.c
> +++ b/arch/arm/mach-davinci/board-da830-evm.c
> @@ -261,6 +261,8 @@ static int da830_evm_mmc_get_ro(int index)
>  static struct davinci_mmc_config da830_evm_mmc_config = {
>   .get_ro = da830_evm_mmc_get_ro,
>   .wires = 4,
> + .max_freq = 50000000,
> + .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
>   .version = MMC_CTLR_VERSION_2,
>  };
>  
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index 23e2024..489d641 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -280,6 +280,8 @@ static struct davinci_mmc_config da850_mmc_config = {
>   .get_ro = da850_evm_mmc_get_ro,
>   .get_cd = da850_evm_mmc_get_cd,
>   .wires = 4,
> + .max_freq = 50000000,
> + .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
>   .version = MMC_CTLR_VERSION_2,
>  };
>  
> --
> 1.5.6