Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1563605

Re: [PATCH v2 0/9] Serial slave device bus

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/9] Serial slave device bus
Date 2017-01-20 15:00 +0100
Message-ID <t1HTs-7WH-25@gated-at.bofh.it> (permalink)
References <t0opP-760-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 16, 2017 at 11:54 PM, Rob Herring <robh@kernel.org> wrote:

> There's still some discussion about what to do with devices that pass thru
> data to userspace unmodified like GPS and could still use tty device for
> the data path. IMO, we should treat this as a separate problem following
> this series. Drivers we want to convert to serdev and already in the
> kernel don't need this functionality.

In my simple opinion GPSes shound live in drivers/iio/gps simply by
usecase association: streaming out a series of accelerometer readings
periodically through IIOs chardevs and other data about the physical
world is not any different from the GPS usecase that give you a stream
of coordinates on where on this planet you are.

The fact that vendors like to defer GPS processing to userspace because
it is considered "secret sauce" is not the concern of the kernel community,
though problems like that in general is the great tragedy of our time.

It would be fun to see a pure, reverse-engineered GPS driver in IIO.

Just my €0.01

(And by the way: awesome work on this series.)

Yours,
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] Serial slave device bus Rob Herring <robh@kernel.org> - 2017-01-17 00:00 +0100
  [PATCH v2 8/9] serdev: add a tty port controller driver Rob Herring <robh@kernel.org> - 2017-01-17 00:00 +0100
    Re: [PATCH v2 8/9] serdev: add a tty port controller driver Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-18 13:50 +0100
      Re: [PATCH v2 8/9] serdev: add a tty port controller driver Rob Herring <robh@kernel.org> - 2017-01-18 16:10 +0100
  Re: [PATCH v2 0/9] Serial slave device bus Pavel Machek <pavel@ucw.cz> - 2017-01-17 12:10 +0100
  Re: [PATCH v2 0/9] Serial slave device bus msuchanek <msuchanek@suse.de> - 2017-01-20 02:40 +0100
    Re: [PATCH v2 0/9] Serial slave device bus Sebastian Reichel <sre@kernel.org> - 2017-01-20 11:00 +0100
  Re: [PATCH v2 0/9] Serial slave device bus Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-20 15:00 +0100
  Re: [PATCH v2 0/9] Serial slave device bus Linus Walleij <linus.walleij@linaro.org> - 2017-01-20 15:00 +0100
    Re: [PATCH v2 0/9] Serial slave device bus Marcel Holtmann <marcel@holtmann.org> - 2017-01-20 15:20 +0100
      Re: [PATCH v2 0/9] Serial slave device bus "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-01-20 15:30 +0100
    GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) Pavel Machek <pavel@ucw.cz> - 2017-01-20 15:30 +0100
      Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) Linus Walleij <linus.walleij@linaro.org> - 2017-01-20 16:40 +0100
        Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-20 17:30 +0100
          Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) Pavel Machek <pavel@ucw.cz> - 2017-01-27 21:30 +0100
        Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus) Pavel Machek <pavel@ucw.cz> - 2017-01-20 23:20 +0100

csiph-web