linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: linux-serial@vger.kernel.org, Alan Cox <alan@linux.intel.com>
Subject: Re: [PATCH 1/2] serial: New serial driver SCCNXP
Date: Wed, 5 Sep 2012 13:24:33 -0700	[thread overview]
Message-ID: <20120905202433.GA23267@kroah.com> (raw)
In-Reply-To: <1345908260-6948-1-git-send-email-shc_work@mail.ru>

On Sat, Aug 25, 2012 at 07:24:19PM +0400, Alexander Shiyan wrote:
> This driver is a replacement for a SC26XX driver with a lot of
> improvements and new features.
> The main differences from the SC26XX driver:
> - Removed dependency on MIPS. Driver can be used on any platform.
> - Added support for SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
>   SC28L202, SCC68681 and SCC68692 ICs.
> - Using devm_-related functions.
> - Improved error handling of serial port, improved FIFO handling.
> - Ability to load multiple instances of drivers.
> 
> To avoid the possibility of regression, driver SC26XX left in the
> system to confirm the stability of the driver on platforms where
> it is being used.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> Acked-by: Alan Cox <alan@linux.intel.com>
> ---
>  drivers/tty/serial/Kconfig           |   18 +
>  drivers/tty/serial/Makefile          |    1 +
>  drivers/tty/serial/sccnxp.c          |  985 ++++++++++++++++++++++++++++++++++
>  include/linux/platform_data/sccnxp.h |   93 ++++
>  4 files changed, 1097 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/tty/serial/sccnxp.c
>  create mode 100644 include/linux/platform_data/sccnxp.h
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 4720b4b..750671d 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -1104,6 +1104,24 @@ config SERIAL_SC26XX_CONSOLE
>  	help
>  	  Support for Console on SC2681/SC2692 serial ports.
>  
> +config SERIAL_SCCNXP
> +	bool "SCCNXP serial port support"
> +	depends on !SERIAL_SC26XX
> +	select SERIAL_CORE
> +	default n
> +	help
> +	  This selects support for an advanced UART from NXP (Philips).
> +	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
> +	  SC28L202, SCC68681 and SCC68692.
> +	  Positioned as a replacement for the driver SC26XX.

This driver can be built as a module, right?  If so, please change this
to a tristate variable, not a "bool".  I don't feel like always building
it into my kernels :)

Care to send a follow-on patch fixing this up?

thanks,

greg k-h

  parent reply	other threads:[~2012-09-05 20:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25 15:24 [PATCH 1/2] serial: New serial driver SCCNXP Alexander Shiyan
2012-08-25 15:24 ` [PATCH 2/2] serial: Add note about migration to " Alexander Shiyan
2012-08-29 13:46 ` [PATCH 1/2] serial: New serial " Alan Cox
2012-08-29 18:26   ` Alexander Shiyan
2012-08-29 20:15     ` Alan Cox
2012-09-05 20:24 ` Greg Kroah-Hartman [this message]
2012-09-24 16:50   ` Alexander Shiyan
2012-09-24 17:26     ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120905202433.GA23267@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=alan@linux.intel.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).