[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51E1D406.9090702@cogentembedded.com>
Date: Sun, 14 Jul 2013 02:26:14 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Greg KH <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org,
linux-sh@...r.kernel.org
Subject: Re: [PATCH] misc: add driver for Renesas R-Car Gyro-ADC/speed-pulse
interfaces
Hello.
On 07/13/2013 11:58 AM, Arnd Bergmann wrote:
>>> And are you sure you want to control this through sysfs? There's no
>>> other better user/kernel apis for it?
>> I found none, besides ioctl(), as the device driven is rather
>> unique. But I thought that sysfs is "ioctl() today", so I went with it...
> It does sound like it would fit better into IIO than just a misc driver,
> even if it's the only hardware of its kind.
I got somewhat familiarized myself with drivers/iio/ infrastructure
and I have found a place only the for ADC device in which the customer
currently has no interest.
The other trouble is that I'll have to backport this driver to 3.4
which doesn't contain the IIO infrastructure at all. :-(
> Arnd
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists