From: Rodolfo Giometti <giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Jonathan Cameron <jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>,
Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
Grant Likely
<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Michele De Candia
<michele.decandia-EZxuzQJkuwwybS5Ee8rs3A@public.gmane.org>
Subject: Re: New home for DS1682 driver
Date: Wed, 7 Oct 2009 15:03:32 +0200 [thread overview]
Message-ID: <20091007130332.GZ20100@enneenne.com> (raw)
In-Reply-To: <20091007142746.4bc4f0f4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
On Wed, Oct 07, 2009 at 02:27:46PM +0200, Jean Delvare wrote:
> On Wed, 07 Oct 2009 13:12:39 +0100, Jonathan Cameron wrote:
> > ALS is the right place for this one. I've offered to do the port but haven't had
> > a chance as yet.
> >
> > These light sensors are two slow to really require most of IIO. When you can get
> > all data from a chip by polling at a couple hz life becomes somewhat easy!
> > Also moving the tsl2561 out of iio and into ALS asap.
> >
> > Though I'm guessing ALS won't merge until next merge window opens. To my mind
> > it's clean enough to merge now as a new 'driver' but I'm guessing as a subsystem
> > this might not get past Linus. I'm not bothered about ditching the iio based
> > tsl2561 immediately (as far as I know I'm the only user other than on boards
> > for which I roll out the images anwyay - please yell if not!),
> > but moving the tsl2550 will probably involve a few userspace api changes
> > (to conform to what als expects), not to mention a change in location in sysfs.
> >
> > I've no idea how heavily used this driver is, so what do people reckon we do about
> > about deprecating and removing the old driver? (the usual 2 kernel release or
> > can we speed it up to finally get rid of that chips directory!)
>
> I am aware of 3 users for the tsl2550 driver (all Cc'd): Rodolfo
> Giometti, who said 3 months ago that his hardware was now out of order,
> Michele De Candia, and myself. As far as I am concerned, you can change
> pretty much whatever you want as long as there is an easy way to read
> the lux value from user-space. I'm using one TSL2550 for my own fun and
> that's it. Don't know about Michele.
>
> I think we can simply move the driver and convert it directly, and
> document the interface changes. I've always said loudly that the
> tsl2550 driver was the first of its kind and as such its interface was
> subject to change when other similar drivers would be added. Which is
> what's happening right now.
I agree for a new userland API. I just proposed the simplest one
currently available but any enhancement is welcomed. :)
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti-AVVDYK/kqiJWk0Htik3J/w@public.gmane.org
Linux Device Driver giometti-k2GhghHVRtY@public.gmane.org
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
next prev parent reply other threads:[~2009-10-07 13:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 9:50 New home for DS1682 driver Jean Delvare
[not found] ` <20091007115017.6941faa7-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-10-07 9:56 ` Wolfram Sang
[not found] ` <20091007095610.GF3177-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-10-07 10:07 ` Jean Delvare
[not found] ` <20091007120734.31a41f33-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-10-07 10:25 ` Wolfram Sang
[not found] ` <20091007102557.GG3177-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-10-07 12:12 ` Jonathan Cameron
[not found] ` <4ACC85B7.2010300-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2009-10-07 12:27 ` Jean Delvare
[not found] ` <20091007142746.4bc4f0f4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-10-07 12:47 ` Wolfram Sang
[not found] ` <20091007124748.GH3177-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-10-07 15:11 ` Jonathan Cameron
2009-10-07 13:03 ` Rodolfo Giometti [this message]
2009-10-07 13:48 ` Grant Likely
2009-10-07 22:31 ` [PATCH] i2c/chips: move ds1682 to drivers/misc Wolfram Sang
[not found] ` <1254954710-18263-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-10-07 22:34 ` Grant Likely
2009-10-08 6:40 ` Jean Delvare
[not found] ` <20091008084041.597e4c6d-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-10-08 9:30 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091007130332.GZ20100@enneenne.com \
--to=giometti-avvdyk/kqijwk0htik3j/w@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=michele.decandia-EZxuzQJkuwwybS5Ee8rs3A@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).