Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbaGGH0d (ORCPT ); Mon, 7 Jul 2014 03:26:33 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:30932 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401AbaGGH0a (ORCPT ); Mon, 7 Jul 2014 03:26:30 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 99.127.230.128 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18r+KtD8fwhQZiMs4/F8OPo Date: Mon, 7 Jul 2014 00:26:21 -0700 From: Tony Lindgren To: Robert Nelson Cc: Sebastian Andrzej Siewior , Aaro Koskinen , Felipe Balbi , linux kernel , linux-serial@vger.kernel.org, Linux OMAP Mailing List , Linux ARM Kernel Mailing List Subject: Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver Message-ID: <20140707072621.GE28884@atomide.com> References: <1404316809-20637-1-git-send-email-bigeasy@linutronix.de> <20140702160932.GF5541@saruman.home> <20140702190944.GA567@drone.musicnaut.iki.fi> <20140703073411.GX28884@atomide.com> <53B6DB74.2050401@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Robert Nelson [140704 09:59]: > On Fri, Jul 4, 2014 at 11:51 AM, Sebastian Andrzej Siewior > wrote: > > On 07/03/2014 09:34 AM, Tony Lindgren wrote: > >> Heh. Just to summarize the reason ttyO needs to be a separate name > >> and device entry from ttyS is because we also have external 8250 > >> devices on GPMC and hotplug busses. > > > > So the GPMC devices will first get a higher minor/device number. The > > internal serial ports should show up first. I don't see the problem > > (yet). > > > > If you need a separate major number (and name) like we do have it now > > (between ttySx and ttyOx) then one of requirements would be to tell > > Kconfig that one driver can be active at a time. > > > > For me the ttyS vs ttyO thing is purely cosmetic. I personally don't > > like that it is different on different platforms like ttymxc, ttySC, > > ttyTHS, … The dev entry had to be different with serial-omap as it was not using 8250 code. With the code moving back to using 8250 code there are no dev conflicts so ttyS is just fine as the 8250 code handles allocating the devices. > Maybe it's time to migrate them all to one name? (ttyS) Does the end > user really care if they have a soc with an omap/imx serial port > driver? Or do they just want to access /dev/ttySx and connect to their > device? Yes the 8250 code should always use ttyS. Then maybe we could have also ttyO dev entries created by the driver for compability. Earlier serial-omap could not provide the ttyS compability easily because they were separate drivers. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/