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


Groups > linux.kernel > #1555734

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

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/9] Serial slave device bus
Date 2017-01-10 18:30 +0100
Message-ID <sY8pc-4aE-9@gated-at.bofh.it> (permalink)
References <sWFyV-4sv-3@gated-at.bofh.it> <sWX2N-7VT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Jan 7, 2017 at 5:00 AM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> On Fri, 2017-01-06 at 10:26 -0600, Rob Herring wrote:
>> Here goes another attempt at a serial device bus (aka uart slaves, tty
>> slaves, etc.).
>>
>> After some discussions with Dmitry at LPC, I decided to move away from
>> extending serio and moved back to making a new bus type instead. He
>> didn't
>> think using serio was a good fit, and serio has a number of
>> peculiarities
>> in regards to sysfs and it's driver model. I don't think we want to
>> inherit
>> those for serial slave devices.
>>
>> This version sits on top of tty_port rather than uart_port as Alan
>> requested. Once I created a struct tty rather than moving everything
>> needed to tty_port, it became a lot easier and less invasive to the
>> tty
>> core code.
>>
>> I have hacked up versions of the BT ldisc and TI ST drivers moved over
>> to
>> use the serdev bus. I have BT working on the HiKey board which has TI
>> BT.
>> With the serdev bus support, it eliminates the need for the TI
>> userspace
>> UIM daemon.
>>
>> This series and the mentioned drivers can be found here[1].
>
> For patches 1-4:
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Thanks.

> Regarding to naming. Why can't we just name bus "serial"? If you are
> worrying about folder name under drivers/tty, I can propose at lease
> couple of options serialdev, serialbus.

Naming is hard, right?

I have don't have too much opinion on what the name should be. I just
came up with something unique and inspired by serio. It is a bit
easier to grep for serdev rather than just serial.

Rob

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


Thread

[PATCH 0/9] Serial slave device bus Rob Herring <robh@kernel.org> - 2017-01-06 17:30 +0100
  [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding Rob Herring <robh@kernel.org> - 2017-01-06 17:30 +0100
    Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding Arnd Bergmann <arnd@arndb.de> - 2017-01-06 20:30 +0100
      Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding Rob Herring <robh@kernel.org> - 2017-01-06 21:50 +0100
    Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device  binding One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2017-01-10 21:00 +0100
    Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device  binding Pavel Machek <pavel@ucw.cz> - 2017-01-10 22:50 +0100
  [PATCH 3/9] tty_port: make tty_port_register_device wrap tty_port_register_device_attr Rob Herring <robh@kernel.org> - 2017-01-06 17:30 +0100
  [PATCH 5/9] tty_port: Add port client functions Rob Herring <robh@kernel.org> - 2017-01-06 17:30 +0100
  Re: [PATCH 0/9] Serial slave device bus Arnd Bergmann <arnd@arndb.de> - 2017-01-06 20:30 +0100
  Re: [PATCH 0/9] Serial slave device bus Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-07 12:10 +0100
    Re: [PATCH 0/9] Serial slave device bus Rob Herring <robh@kernel.org> - 2017-01-10 18:30 +0100
      Re: [PATCH 0/9] Serial slave device bus Marcel Holtmann <marcel@holtmann.org> - 2017-01-10 19:40 +0100
  Re: [PATCH 0/9] Serial slave device bus Sebastian Reichel <sre@kernel.org> - 2017-01-08 23:50 +0100
  Re: [PATCH 0/9] Serial slave device bus "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-01-10 12:50 +0100
    Re: [PATCH 0/9] Serial slave device bus Marcel Holtmann <marcel@holtmann.org> - 2017-01-10 13:10 +0100
      Re: [PATCH 0/9] Serial slave device bus "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-01-10 13:20 +0100
        Re: [PATCH 0/9] Serial slave device bus Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-10 13:30 +0100
          Re: [PATCH 0/9] Serial slave device bus "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-01-10 13:50 +0100
    Re: [PATCH 0/9] Serial slave device bus Rob Herring <robh@kernel.org> - 2017-01-13 15:50 +0100
      Re: [PATCH 0/9] Serial slave device bus "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-01-16 07:50 +0100
  Re: [PATCH 0/9] Serial slave device bus Marcel Holtmann <marcel@holtmann.org> - 2017-01-10 13:10 +0100
  Re: [PATCH 0/9] Serial slave device bus Pavel Machek <pavel@ucw.cz> - 2017-01-10 23:10 +0100

csiph-web