On Tue, Mar 15, 2011 at 01:59:26PM -0600, Grant Likely wrote:
On Mon, Mar 14, 2011 at 10:25:57PM +0800, Shawn Guo wrote:
Signed-off-by: Shawn Guo shawn.guo@linaro.org
dt support can be added directly to sdchi-pltfm.c drivers now. There is no longer any need to use sdhci-of-core.c any more. For an example, see the patch titled "of/tegra: add sdhci device tree handling" in my devicetree/test branch.
I mentioned this a little bit in the cover letter of the patch set as below.
"This patch set is to support sdhci-esdhc-imx as an OF device. As there is already powerpc based esdhc OF support, it chose to add OF support for imx esdhc driver in a different way from what sdhci-tegra did."
The tegra approach you made was one of the two options I had, and I happened to love the another more, as it consolidates the eSDHC OF driver for Freescale MPCxxx and i.MX family.
I can turn it around to your approach if you can convince me :)