On Monday 16 March 2009, Purushotam Kumar wrote:
> From: Purshotam Kumar <[email protected]>
> 
> This patch adds support for DaVinci (DM6446) MMC/SD controller driver. This

The dm6446 is the only chip with current mainline support;
but dm355 can use it too, "support on the way" to mainline.
(Only for 2.6.30 if Kevin still has time...)

And there are other DaVinci chips that support MMC too ...
some are compatible with those two chips, some not, all
should use a version of this driver.  (And OMAP-L137 too,
same tech family but with a different marketing label.)

So I'd remove the implication that DaVinci == DM6446, or
that this driver is specific to that SoC.


> @@ -171,6 +171,14 @@ config MMC_TIFM_SD
>            To compile this driver as a module, choose M here: the
>         module will be called tifm_sd.
>  
> +config MMC_DAVINCI
> +        tristate "TI DAVINCI Multimedia Card Interface support"
> +        depends on MMC

Everything in that menu depends on MMC.  This should
depend on ARCH_DAVINCI instead.  :)


> +       host->clk = clk_get(&pdev->dev, NULL);

The NULL won't work with the clock code currently
included in mainline ... "MMCSDCLK" will though.

It's probably simplest to list the updated DaVinci
clock framework code as a runtime dependency, much
like EDMA support is a build-time one, for this patch.


> +       if (pdata->max_freq)
> +               mmc->f_max = pdata->max_freq;
> +       if (pdata->caps)
> +               mmc->caps |= pdata->caps;

A build-time issue is that "struct davinci_mmc_config"
is missing.  You could update this patch to include
"arch/arm/mach-davinci/include/mach/mmc.h" too.

- Dave


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to