From mboxrd@z Thu Jan 1 00:00:00 1970 From: Barry Song <21cnbao@gmail.com> Subject: Re: Shouldn't DT preserve pdev name and id to allow platform_match to work? Date: Fri, 5 Aug 2011 18:02:30 +0800 Message-ID: References: <4E396361.3060307@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-omap-owner@vger.kernel.org To: Grant Likely Cc: "Cousson, Benoit" , "Hilman, Kevin" , Paul Walmsley , "G, Manjunath Kondaiah" , "devicetree-discuss@lists.ozlabs.org" , "Nayak, Rajendra" , linux-omap , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org > auxdata passes platform_data and overrides the device name when there > is no way easy way to make the driver work without it. =C2=A0It handl= es the > the current implementation of clocks and regulators which aren't yet > populated from the device tree. =C2=A0It will go away when clock & > regulator bindings are implemented. Yes. As OF_DEV_AUXDATA_ID still requires hardware information like 0x48000100 as below, it seems it is not consistent with the origin purpose of ARM DT. OF_DEV_AUXDATA_ID("ti,omap-i2c", 0x48000100, "omap-i2c.1", 1, &i2c_pdat= a) And the information 0x48000100 is something that doesn't want to be in kernel codes.it should be only in dts. -barry -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html