[PATCH] i2c: let the core register devices from devicetree

From
Wolfram Sang <hidden>
Date
2012-06-14 09:14:34
Also in
linux-i2c, linuxppc-dev
Reply to
Benjamin Herrenschmidt, 2012-06-13
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:
quoted
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.

Signed-off-by: Wolfram Sang <redacted>
---

Based on v3.5-rc2. Only build tested, I don't have a OF based device
around at the moment.
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

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120614/3bc4eeb9/attachment.sig>
Thread (11 messages) 11 messages, 9 authors, last reply 2012-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help