Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbbL2LJD (ORCPT ); Tue, 29 Dec 2015 06:09:03 -0500 Received: from mga02.intel.com ([134.134.136.20]:17219 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbbL2LI5 (ORCPT ); Tue, 29 Dec 2015 06:08:57 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,495,1444719600"; d="scan'208";a="625180593" Date: Tue, 29 Dec 2015 13:06:43 +0200 From: Heikki Krogerus To: Sergei Ianovich Cc: linux-kernel@vger.kernel.org, James Cameron , Greg Kroah-Hartman , Robert Jarzmik , Russell King , Jiri Slaby , Andy Shevchenko , Arnd Bergmann , Joachim Eastwood , Sebastian Andrzej Siewior , Scott Wood , Paul Gortmaker , Paul Burton , Mans Rullgard , Ralf Baechle , Masahiro Yamada , Peter Hurley , "open list:SERIAL DRIVERS" Subject: Re: [PATCH v6] serial: rewrite pxa2xx-uart to use 8250_core Message-ID: <20151229110643.GB19870@kuha.fi.intel.com> References: <1450897204-6839-1-git-send-email-ynvich@gmail.com> <1450970122-12869-1-git-send-email-ynvich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450970122-12869-1-git-send-email-ynvich@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 35 On Thu, Dec 24, 2015 at 06:15:14PM +0300, Sergei Ianovich wrote: > pxa2xx-uart was a separate uart platform driver. It was declaring > the same device names and numbers as 8250 driver. As a result, > it was impossible to use 8250 driver on PXA SoCs. > > Upon closer examination pxa2xx-uart turned out to be a clone of > 8250_core driver. > > Workaround for Erratum #19 according to Marvel(R) PXA270M Processor > Specification Update (April 19, 2010) is dropped. 8250_core reads > from FIFO immediately after checking DR bit in LSR. > > The patch leaves the original SERIAL_PXA driver around. The original > driver is just marked DEPRECATED in Kconfig and C source. When > the original driver is considered safe to remove, no changes > to SERIAL_8250 will be necessary. > > Compiling SERIAL_8250_CONSOLE and SERIAL_PXA_CONSOLE even without > SERIAL_8250_PXA breaks console for SERIAL_PXA. For this reasons, the new > and the original drivers are made mutually exclusive. > > Signed-off-by: Sergei Ianovich > CC: Heikki Krogerus Reviewed-by: Heikki Krogerus Thanks, -- heikki -- 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/