From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from metis.ext.pengutronix.de (unknown [IPv6:2001:6f8:1178:4:290:27ff:fe1d:cc33]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E82141007D1 for ; Thu, 14 Jun 2012 19:16:02 +1000 (EST) Date: Thu, 14 Jun 2012 11:14:34 +0200 From: Wolfram Sang To: Benjamin Herrenschmidt Subject: Re: [PATCH] i2c: let the core register devices from devicetree Message-ID: <20120614091434.GB14419@pengutronix.de> References: <1339622215-4733-1-git-send-email-w.sang@pengutronix.de> <1339623217.9220.119.camel@pasglop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" In-Reply-To: <1339623217.9220.119.camel@pasglop> Cc: Viresh Kumar , Mauro Carvalho Chehab , Tony Lindgren , Linus Walleij , Laxman Dewangan , linux-i2c@vger.kernel.org, Kukjin Kim , Stephen Warren , Barry Song <21cnbao@gmail.com>, Haojian Zhuang , Deepak Sikri , Haavard Skinnemoen , Dirk Brandewie , Pawel Moll , Wolfram Sang , Sascha Hauer , Rusty Russell , Tang Yuantian , "Jean Delvare \(PC drivers, core\)" , Magnus Damm , Lars-Peter Clausen , "Ben Dooks \(embedded platforms\)" , linux-arm-kernel@lists.infradead.org, Jiri Kosina , Kyungmin Park , Karol Lewandowski , Olof Johansson , Shawn Guo , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 14, 2012 at 07:33:37AM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-06-13 at 23:12 +0200, Wolfram Sang wrote: > > Currently, every driver has to do it on its own, but it should be done > > in the core, like we already do with board_info structs. > >=20 > > Signed-off-by: Wolfram Sang > > --- > >=20 > > Based on v3.5-rc2. Only build tested, I don't have a OF based device > > around at the moment. >=20 > Won't that conflict with i2c-powermac doing it its own way ? Yup :( I assume there is no chance that the powermac devicetree can be pre-processed to be compatible with of_i2c_register_devices? Regards, Wolfram --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --qcHopEYAB45HaUaB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAk/Zq3oACgkQD27XaX1/VRv+1QCfeFPejEo4HNanYfhXKfVjPDAs rnoAnRvrHlrKO9ewLnvUbB2adb+qwIQJ =rBSj -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--