Subject: Re: i2c
To: Matt Thomas <matt@3am-software.com>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-embed
Date: 06/22/2006 02:14:21
# Matt Thomas 2006-05-30:
> Jachym Holecek wrote:
> >Well, ${sys}/dev/i2c/i2c_io.h sketches an ioctl() interface to I2C bus,
> >but it's not actually exported to userland anywhere (ie. I2C controllers
> >are not attached to device files), AFAICS. This means that currently,
> >the I2C API is kernel-only.
> >
> >Exposing it to userland shouldn't be hard, please file a PR so that it
> >doesn't get forgotten (unless you want to implement it yourself ;-).
>
> Exporting i2c generically to userland is a bad idea. A suitable abstraction
> for the device(s) would be designed and implemented instead.
Any objections to just removing i2c_io.h for now? It currently isn't
used by anything in-tree, so I don't see a need to keep it. Unless we
want to have an userland i2c api which doesn't seem to be the case (for
my needs, I can always go with some custom thing during prototyping phase).
-- Jachym