[i2c] [PATCH]i2c: Delete deprecated scx200_i2c driver

Jean Delvare khali at linux-fr.org
Wed Apr 25 09:38:07 CEST 2007


Hi Lennart,

On Mon, 23 Apr 2007 10:19:54 -0400, Lennart Sorensen wrote:
> On Mon, Apr 23, 2007 at 11:27:24AM +0200, Jean Delvare wrote:
> > Contrary to scx200_i2c, i2c-gpio only creates a driver, it doesn't
> > instantiate devices. So you have to instantiate a platform device at the
> > board-level code. That platform device must have its name set to
> > "i2c-gpio", and its platform_data poiting to a properly filled struct
> > i2c_gpio_platform_data (as defined in <linux/i2c-gpio.h>.) As mentioned
> > earlier in this thread, you'll first have to convert the scx200 GPIO
> > code to the standard GPIO infrastructure, otherwise you won't be able
> > to fill the i2c_gpio_platform_data structure.
> 
> Well until someone has time and interest in doing that I would say the
> scx200_i2c very much is NOT ready for removal.  It currently provides a
> service nothing else does.

OK. I've postponed my patch deleting the scx200_i2c driver. For now, I
am only tagging it DEPRECATED, as I did for the i2c-ixp2000 and
i2c-ixp4xx drivers. The removal is planned for September 2007, this
gives you and others a few months to switch to i2c-gpio.

I also still believe that you should try to get scx200_acb to work on
your system. It really should work.

-- 
Jean Delvare



More information about the i2c mailing list