Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756585Ab0A2Cwp (ORCPT ); Thu, 28 Jan 2010 21:52:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753203Ab0A2Cwo (ORCPT ); Thu, 28 Jan 2010 21:52:44 -0500 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:42818 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752777Ab0A2Cwo (ORCPT ); Thu, 28 Jan 2010 21:52:44 -0500 Date: Fri, 29 Jan 2010 11:52:42 +0900 From: Paul Mundt To: Magnus Damm Cc: linux@arm.linux.org.uk, eric.y.miao@gmail.com, tony@atomide.com, linux-kernel@vger.kernel.org, khilman@deeprootsystems.com, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 06/06] sh-sci: Preliminary SuperH Mobile ARM support Message-ID: <20100129025242.GC7396@linux-sh.org> References: <20100128124028.8982.16123.sendpatchset@rxone.opensource.se> <20100128124131.8982.21545.sendpatchset@rxone.opensource.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100128124131.8982.21545.sendpatchset@rxone.opensource.se> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1868 Lines: 49 On Thu, Jan 28, 2010 at 09:41:31PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add preliminary SuperH Mobile ARM support to the sh-sci > driver. Enough to get serial console working. Needs more > work. Is really disconnected from the ARM support code > but is included here for completeness. > > Signed-off-by: Magnus Damm > --- > > drivers/serial/Kconfig | 2 +- > drivers/serial/sh-sci.h | 23 ++++++++++++++++++----- > 2 files changed, 19 insertions(+), 6 deletions(-) > > --- 0001/drivers/serial/Kconfig > +++ work/drivers/serial/Kconfig 2010-01-21 19:55:26.000000000 +0900 > @@ -996,7 +996,7 @@ config SERIAL_IP22_ZILOG_CONSOLE > > config SERIAL_SH_SCI > tristate "SuperH SCI(F) serial port support" > - depends on HAVE_CLK && (SUPERH || H8300) > + depends on HAVE_CLK && (SUPERH || H8300 || ARCH_SHMOBILE) > select SERIAL_CORE > > config SERIAL_SH_SCI_NR_UARTS > --- 0001/drivers/serial/sh-sci.h > +++ work/drivers/serial/sh-sci.h 2010-01-21 19:57:10.000000000 +0900 > @@ -174,6 +174,10 @@ > # define SCSPTR3 0xffc60020 /* 16 bit SCIF */ > # define SCIF_ORER 0x0001 /* Overrun error bit */ > # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ > +#elif defined(CONFIG_ARCH_SHMOBILE) > +# define SCSCR_INIT(port) 0x0030 > +# define SCIF_ONLY > +# define SCIF_ORER 0x0200 > #else > # error CPU subtype not defined > #endif > defined(CONFIG_CPU_SUBTYPE_SH7724) SCIF_ONLY should be killed off, nothing is checking for it these days. I thought they were all gone already, but it looks like SH7757 snuck one back in, too.. -- 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/