From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934963AbcATTit (ORCPT ); Wed, 20 Jan 2016 14:38:49 -0500 Received: from mail-ob0-f176.google.com ([209.85.214.176]:32793 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753805AbcATTip (ORCPT ); Wed, 20 Jan 2016 14:38:45 -0500 MIME-Version: 1.0 In-Reply-To: <744620565.20160116103445@cogentembedded.com> References: <20150511013540.5709.93626.stgit@notabene.brown> <481E05A9-A192-438D-B092-D7700B30BBC4@goldelico.com> <20160113191542.GA12086@leverpostej> <1CD6CA14-AE4F-444F-A9A2-CF9B9485F2DC@goldelico.com> <20160115110106.GA3262@leverpostej> <69F8E1E5-EF49-4C8E-88E9-973F82F7102E@goldelico.com> <569913A1.80606@cogentembedded.com> <56992959.2020204@hurleysoftware.com> <744620565.20160116103445@cogentembedded.com> Date: Wed, 20 Jan 2016 11:38:44 -0800 Message-ID: Subject: Re: [Gta04-owner] [PATCH 0/4] UART slave device support - version 4 From: Dmitry Torokhov To: Vostrikov Andrey Cc: Rob Herring , Peter Hurley , "H. Nikolaus Schaller" , Mark Rutland , List for communicating with real GTA04 owners , Tomeu Vizoso , NeilBrown , One Thousand Gnomes , Arnd Bergmann , "devicetree@vger.kernel.org" , Greg Kroah-Hartman , Sebastian Reichel , "linux-kernel@vger.kernel.org" , Pavel Machek , "linux-serial@vger.kernel.org" , Grant Likely , Jiri Slaby , Marek Belisko Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 15, 2016 at 11:34 PM, Vostrikov Andrey wrote: > > Yes, such implementation will help. There is a need for interface like UART BUS that will probe devices without user space. > Serial I/O for input subsystem defines new type of bus and uses dedicated line discipline, but it still unable to start driver by itself and requires call from 'inputattach' to open port, assign line discipline and go to forever wait on 'read'. That was done mainly because almost none of the serial protocols could be auto-probed, so device initialization/setup was moved out of kernel and thus we have the separate line discipline and inputattach utility. Thanks. -- Dmitry From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [Gta04-owner] [PATCH 0/4] UART slave device support - version 4 Date: Wed, 20 Jan 2016 11:38:44 -0800 Message-ID: References: <20150511013540.5709.93626.stgit@notabene.brown> <481E05A9-A192-438D-B092-D7700B30BBC4@goldelico.com> <20160113191542.GA12086@leverpostej> <1CD6CA14-AE4F-444F-A9A2-CF9B9485F2DC@goldelico.com> <20160115110106.GA3262@leverpostej> <69F8E1E5-EF49-4C8E-88E9-973F82F7102E@goldelico.com> <569913A1.80606@cogentembedded.com> <56992959.2020204@hurleysoftware.com> <744620565.20160116103445@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <744620565.20160116103445-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Vostrikov Andrey Cc: Rob Herring , Peter Hurley , "H. Nikolaus Schaller" , Mark Rutland , List for communicating with real GTA04 owners , Tomeu Vizoso , NeilBrown , One Thousand Gnomes , Arnd Bergmann , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Greg Kroah-Hartman , Sebastian Reichel , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Pavel Machek , "linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Grant Likely , Jiri Slaby , Marek Belisko List-Id: devicetree@vger.kernel.org On Fri, Jan 15, 2016 at 11:34 PM, Vostrikov Andrey wrote: > > Yes, such implementation will help. There is a need for interface like UART BUS that will probe devices without user space. > Serial I/O for input subsystem defines new type of bus and uses dedicated line discipline, but it still unable to start driver by itself and requires call from 'inputattach' to open port, assign line discipline and go to forever wait on 'read'. That was done mainly because almost none of the serial protocols could be auto-probed, so device initialization/setup was moved out of kernel and thus we have the separate line discipline and inputattach utility. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html