All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: "Hennerich, Michael" <Michael.Hennerich@analog.com>
Cc: Mike Frysinger <vapier@gentoo.org>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	"device-drivers-devel@blackfin.uclinux.org"
	<device-drivers-devel@blackfin.uclinux.org>
Subject: Re: [Device-drivers-devel] [PATCH 00/36] staging: iio: ADI drivers for staging-next
Date: Mon, 25 Oct 2010 11:05:04 +0100	[thread overview]
Message-ID: <4CC55650.5030304@cam.ac.uk> (raw)
In-Reply-To: <544AC56F16B56944AEC3BD4E3D59177130945B1B3C@LIMKCMBX1.ad.analog.com>

On 10/25/10 09:39, Hennerich, Michael wrote:
> Mike Frysinger wrote on 2010-10-25:
>> On Sun, Oct 24, 2010 at 19:35, Jonathan Cameron wrote:
>>> On 10/24/10 22:22, Mike Frysinger wrote:
>>>> I've rebased all the drivers onto staging-next.  I've only fixed the
>>>> API breakage due to the changes made after 2.6.36 (and fixed a few
>>>> warnings). I've also run checkpatch across these.
>>>>
>>>> I have not however addressed any real feedback Jonathan has provided
>>>> with regards to driver correctness or direction.  That stuff I'm
>>>> leaving up to Michael Hennerich since it's his job and he actually
>>>> understands this.
>>>>
>>>> Where possible, I'd like to have drivers merged so as to avoid another
>>>> round of "new API just broke all your drivers".  We will still look
>>>> into feedback given, but we'd like to focus on that rather than random
>>>> `sed` changes as API names change.
>>>>
>>>> This patchset supersedes all other "new driver" patches I've posted
>>>> in the last 48 hours.
>>>
>>> As we are still in staging, I'm happy to see these merge into IIO with
>>> some provisos (this wouldn't be acceptable anywhere else in the kernel
>>> tree).
>>>
>>> * We will be breaking abi's and probably even config symbol names
>>> cleaning these up.  So if your customers start complaining you get to
>>> explain why to them :)
>>
>> it wont be an issue.  we make it clear to people who use the IIO stuff
>> that this is in heavy development and people have been OK with that.
>>
>>> * We sought out some test coverage for these. I want someone I can poke
>>> if we  get a bug report, happy to use a generic address as long as
>>> someone is able  to respond in reasonable time! (no complaints so far
>>> with Analog, but this is  a lot of new devices for someone to have
>>> wired up somewhere)
>>
>> i can add a MAINTAINERS entry for all ADI IIO drivers if that's
>> sufficient.  any question about using Linux and an ADI part we are
>> happy to answer.
> 
> We will actively support these drivers. I'm currently in progress building up
> a team, which will ensure that these drivers are tested and maintained over time.
Excellent news.  There is a pretty strong feeling (from Greg KH) that 
MAINTAINERS entries don't exist for stuff in staging.

However, adding something like

Contact: Drivers@analog.com for ADI drivers

to the main TODO file would probably be a good idea. Not necessary if Analog people
monitor linux-iio though as every driver problem should also be copied to there.
> 
>>> * If Randy or any one else reports build issues with weird
>>> combinations, someone
>>>  other than me quickly fixes them.
>>
>> i think the MAINTAINERS would cover this too
>>
>>> * I want some proper proposals of abi's for the new classes of device.
>>> Lets debate  these on list. I would probably get round to doing this
>>> myself eventually, but  if someone who knows the device class does it,
>>> things will proceed much faster.  I've never used a resolver and had to
>>> google what they were ;)  Having poorly defined abi's has bitten us a
>>> few times in the past and tends to  put others off using the subsystem.
>>>  So lets at least bash out what they should  be even if it takes a
>>> little while to bring the drivers up to date.
>>
>> that'd be for Michael Hennerich
> 
> We can start debating and refining on the exact API, to use.
> However I like to do so once these drivers have merged.
Agreed. Now you have confirmed the follow up support will be there,
I'm happy to see them merged now and fixed later.
> The ones likely subject to change we can mark as EXPERIMENTAL.
> Or even print a warning using dev_warn() on probe.
Either works for me.
> 
>>> * As per standard staging rules, I will ask Greg to drop any driver
>>> that no one is
>>>  willing to support.  I will give plenty of warning of course!
>>
>> np
>>
>>> * Some of the temp chips might want to be in hwmon. I would like to
>>> see an open
>>>  discussion across both lists of whether then should be in IIO or
>> there (or both).
>>
>> there has been discussion in the past in this regard.  but i dont
>> recall where it occurred.
Sure. Now Hwmon is again under active maintenance it's probably time to reopen
the discussion.
>>
>>> The negatives of merging this set as is are that people might copy code
>>> with issues we haven't fixed yet.  Such is life I guess. We could put a
>>> big note in the TODO file, but then, who reads that?
>> we have a tracker where we log all device driver feedback and assign to
>> developers:
>>   https://blackfin.uclinux.org/gf/project/device-drivers/tracker/
Cool. That works fine.  Perhaps we can put that in the headers of the drivers
or mention it in TODO in the top level directory.

There's also a rather under advertised equivalent at:
http://sourceforge.net/apps/trac/iioutils/
that I've been most using to remind myself of changes that need doing rather
than as a formal system. Note this tracker covers userspace tools as well
(those few that exist) I'll talk to you guys first before adding any specific
ADI driver related ones to there.  The current ADI related ones are event support
for the adis16350 and merging adis16300 and adis16400 drivers into that one.
There is a bug somewhere in my changes to the burst mode (reported by Manuel).
Unfortunately I can't test as my part for that one is an adis16350 which doesn't
do burst reads.  The other is addition of adis16250 and similar support into the
adis16260 driver which is dependent on testing from the author of the existing
adis16250 driver that is in staging but outside IIO.

I'm looking forward to seeing the nice large section you guys will have in LWN's
kernel section under new drivers. Not often people merge 36 in one go.

Jonathan

  reply	other threads:[~2010-10-25  9:59 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24 21:22 [PATCH 00/36] staging: iio: ADI drivers for staging-next Mike Frysinger
2010-10-24 21:22 ` [PATCH 01/36] staging: iio: new adis16201 driver Mike Frysinger
2010-10-24 21:22 ` [PATCH 02/36] staging: iio: new adis16203 driver Mike Frysinger
2010-10-24 21:22 ` [PATCH 03/36] staging: iio: new adis16204 driver Mike Frysinger
2010-10-24 21:22 ` [PATCH 04/36] staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver Mike Frysinger
2010-10-24 21:22 ` [PATCH 05/36] staging: iio: adc: new driver for AD7150/1/6 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 06/36] staging: iio: adc: new driver for AD7152/3 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 07/36] staging: iio: adc: new driver for AD7291 devices Mike Frysinger
2010-10-25 13:41   ` BUILD ISSUE: " Jonathan Cameron
2010-10-25 13:40     ` Hennerich, Michael
2010-10-25 14:00       ` Jonathan Cameron
2010-10-24 21:22 ` [PATCH 08/36] staging: iio: adc: new driver for AD7298 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 09/36] staging: iio: adc: new driver for AD7314 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 10/36] staging: iio: adc: new driver for AD7414/5 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 11/36] staging: iio: adc: new driver for AD7416/7/8 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 12/36] staging: iio: adc: new driver for AD7745/6/7 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 13/36] staging: iio: adc: new driver for AD7816 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 14/36] staging: iio: adc: new driver for ADT75 temperature sensors Mike Frysinger
2010-10-24 21:22 ` [PATCH 15/36] staging: iio: adc: new driver for ADT7310 " Mike Frysinger
2010-10-24 21:22 ` [PATCH 16/36] staging: iio: adc: new driver for ADT7408 " Mike Frysinger
2010-10-24 21:22 ` [PATCH 17/36] staging: iio: adc: new driver for ADT7410 " Mike Frysinger
2010-10-24 21:22 ` [PATCH 18/36] staging: iio: gyro: new driver for ADIS16261 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 19/36] staging: iio: gyro: new driver for ADIS16060 digital output gyros Mike Frysinger
2010-10-24 21:22 ` [PATCH 20/36] staging: iio: gyro: new driver for ADIS16080 " Mike Frysinger
2010-10-24 21:22 ` [PATCH 21/36] staging: iio: gyro: new driver for ADIS16130 " Mike Frysinger
2010-10-24 21:22 ` [PATCH 22/36] staging: iio: dac: new driver for AD5624R devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 23/36] staging: iio: dds: new driver for AD5930/2 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 24/36] staging: iio: dds: new driver for AD9832/3/4/5 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 25/36] staging: iio: dds: new driver for AD9850/1 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 26/36] staging: iio: dds: new driver for AD9852/4 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 27/36] staging: iio: dds: new driver for AD9910 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 28/36] staging: iio: dds: new driver for AD9951 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 29/36] staging: iio: meter: new driver for ADE7753/6 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 30/36] staging: iio: meter: new driver for ADE7754 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 31/36] staging: iio: meter: new driver for ADE7758 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 32/36] staging: iio: meter: new driver for ADE7759 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 33/36] staging: iio: meter: new driver for ADE7854/58/68/78 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 34/36] staging: iio: resolver: new driver for AD2S90 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 35/36] staging: iio: resolver: new driver for AD2S1200/1205 devices Mike Frysinger
2010-10-24 21:22 ` [PATCH 36/36] staging: iio: resolver: new driver for AD2S1210 devices Mike Frysinger
2010-10-24 21:35 ` [Device-drivers-devel] [PATCH 00/36] staging: iio: ADI drivers for staging-next Mike Frysinger
2010-10-24 23:41   ` Jonathan Cameron
2010-10-24 23:35 ` Jonathan Cameron
2010-10-24 23:45   ` [Device-drivers-devel] " Mike Frysinger
2010-10-25  8:39     ` Hennerich, Michael
2010-10-25 10:05       ` Jonathan Cameron [this message]
2010-10-25 10:35         ` Jonathan Cameron
2010-10-25 10:40         ` Hennerich, Michael
2010-10-26  0:53       ` Mike Frysinger

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=4CC55650.5030304@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=Michael.Hennerich@analog.com \
    --cc=device-drivers-devel@blackfin.uclinux.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=vapier@gentoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.