[lkml]   [2018]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFP] iio: Support of gesture sensor as a standard IIO sensor
On Sun, 28 Jan 2018 09:40:03 +0100
Pavel Machek <> wrote:

> hi!
> > > > Correct. This will depend on  the firmware expected format . I
> > > > think
> > > > ultimately it will be standardized.
> > > Is it fair to say that "expected" format is some kind of bytecode for
> > > CPU in the gesture sensor?
> > Not necessarily a byte code to execute on the CPU in the gesture
> > sensor, but a format the code running on that CPU understands the way
> > gestures are formatted.
> > But it can be byte code for some manufacturers, so idea is just pass to
> > the firmware and let it process it an opaque format.
> It would be really good to figure out common format for different
> sensors. Otherwise kernel is not providing proper hardware
> abstraction.
> Pavel

A common format, if it is byte code, would require in kernel compilers
for the various sensors. Not going to happen.

Common format for everything other than the 'load magic firmware' part
might be doable. As in we can describe what the magic firmware is


 \ /
  Last update: 2018-01-28 10:39    [W:0.032 / U:48.592 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site