[PATCH 0/6 RFC] OF-glue devices for I2C/SPI (was: Re: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remove} calls

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Wed, Oct 22, 2008 at 02:46:06PM +0400, Anton Vorontsov wrote:
[...]

Ok, here it is.

I don't like this approach because:

1. It feels like an overhead to create an of_device for each i2c
   device that needs platform data.

2. We have to do ugly of_should_create_pdev() in the i2c code,
   and duplicate lists of supported devices.

Could anybody convince me that this isn't a big deal? ;-)

Otherwise I'll stick with this approach:
http://lkml.org/lkml/2008/10/22/471

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/7] i2c: add info->archdata field, Anton Vorontsov, (Thu Oct 16, 10:12 am)
[PATCH 3/7] of: fill the archdata for I2C devices, Anton Vorontsov, (Thu Oct 16, 10:12 am)
[PATCH 6/7] gpio/pca953x: convert to dev_gpiochip_add and ..., Anton Vorontsov, (Thu Oct 16, 10:13 am)
Re: [PATCH 2/7] i2c: add info->archdata field, Jean Delvare, (Fri Oct 17, 2:21 am)
Re: [PATCH 2/7] i2c: add info->archdata field, Benjamin Herrenschmidt, (Tue Oct 21, 5:27 pm)
Re: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remov ..., Benjamin Herrenschmidt, (Tue Oct 21, 5:29 pm)
Re: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remov ..., Benjamin Herrenschmidt, (Tue Oct 21, 7:27 pm)
Re: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remov ..., Benjamin Herrenschmidt, (Tue Oct 21, 7:28 pm)
Re: [PATCH 3/7] of: fill the archdata for I2C devices, Grant Likely, (Tue Oct 21, 9:14 pm)
Re: [PATCH 2/7] i2c: add info->archdata field, Jean Delvare, (Tue Oct 21, 11:50 pm)
Re: [PATCH 2/7] i2c: add info->archdata field, Benjamin Herrenschmidt, (Wed Oct 22, 12:37 am)
Re: [PATCH 2/7] i2c: add info->archdata field, Anton Vorontsov, (Wed Oct 22, 3:08 am)
Re: [PATCH 2/7] i2c: add info->archdata field, Jean Delvare, (Wed Oct 22, 4:07 am)
Re: [PATCH 2/7] i2c: add info->archdata field, Anton Vorontsov, (Wed Oct 22, 5:50 am)
Re: [PATCH 4/7] gpiolib: implement dev_gpiochip_{add,remov ..., Benjamin Herrenschmidt, (Wed Oct 22, 9:45 pm)
[PATCH 0/6 RFC] OF-glue devices for I2C/SPI (was: Re: [P ..., Anton Vorontsov, (Tue Oct 28, 10:45 am)
[PATCH 1/6] of/base: Add new helper of_should_create_pdev(), Anton Vorontsov, (Tue Oct 28, 10:46 am)
[PATCH 2/6] of/of_i2c: implement of_{,un}register_i2c_device, Anton Vorontsov, (Tue Oct 28, 10:46 am)
[PATCH 6/6] gpio: OpenFirmware bindings for the pca953x, Anton Vorontsov, (Tue Oct 28, 10:46 am)