From mboxrd@z Thu Jan 1 00:00:00 1970 From: bones@secretlab.ca (John Bonesio) Date: Tue, 10 May 2011 16:33:27 -0700 Subject: [RFC 1/2] ARM: Tegra: Device Tree Support: Update how sdhci devices are initialized In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF04986AA0A6@HQMAIL01.nvidia.com> References: <20110510201108.22693.50319.stgit@riker> <20110510201414.22693.7427.stgit@riker> <74CDBE0F657A3D45AFBB94109FB122FF04986AA06A@HQMAIL01.nvidia.com> <74CDBE0F657A3D45AFBB94109FB122FF04986AA077@HQMAIL01.nvidia.com> <4DC9BD39.30108@secretlab.ca> <74CDBE0F657A3D45AFBB94109FB122FF04986AA0A6@HQMAIL01.nvidia.com> Message-ID: <4DC9CB47.9000900@secretlab.ca> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05/10/2011 04:22 PM, Stephen Warren wrote: > John Bonesio wrote at Tuesday, May 10, 2011 4:33 PM: >> The goal I'm working towards right now is to have the platform specific >> code continue to register the devices that are inside the SoC. Then use >> the device tree to register all other on board devices. > > Sure, that sounds right. > > Which branch are your patches aimed at? My discussions are all based > on my experience with Grant's devicetree/test branch. > >> This patch doesn't accomplish the whole goal in one step, but gets the >> code a little closer toward this goal. > > So what's confusing me is that I think the devicetree/test branch is > already there; board-dt.c registers all 4 SDHCI controllers, > tegra250.dtsi defines each controller's memory map etc., and disables > them all, then tegra-harmony.dts and tegra-seaboard.dts enable the > relevant subset of those controllers, and provides the required > platform data for them. > > When adding the I2C controllers, it seems like they'd just work the > same way as the existing SDHCI code.