Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757017AbZIVSEC (ORCPT ); Tue, 22 Sep 2009 14:04:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756713AbZIVSEA (ORCPT ); Tue, 22 Sep 2009 14:04:00 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:61968 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755993AbZIVSD4 (ORCPT ); Tue, 22 Sep 2009 14:03:56 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 72.249.23.125 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19QK3vzWubAwKeCEzmx3IFo Date: Tue, 22 Sep 2009 11:03:56 -0700 From: Tony Lindgren To: "Govindraj.R" Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 1/3] OMAP UART: Adding support for omap-serial driver. Message-ID: <20090922180356.GJ14890@atomide.com> References: <51076.192.168.10.88.1253639068.squirrel@dbdmail.itg.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51076.192.168.10.88.1253639068.squirrel@dbdmail.itg.ti.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3992 Lines: 142 * Govindraj.R [090922 10:06]: > From: Govindraj R > > This patch adds support for OMAP3430-HIGH SPEED UART Controller. Why do you have the same subject anad description is the same for all of them? > --- a/drivers/serial/Kconfig > +++ b/drivers/serial/Kconfig > @@ -1359,6 +1359,98 @@ config SERIAL_OF_PLATFORM > Currently, only 8250 compatible ports are supported, but > others can easily be added. > > +config SERIAL_OMAP > + bool "OMAP serial port support" > + depends on ARM && ARCH_OMAP > + select SERIAL_CORE > + help > + If you have a machine based on an Texas Instruments OMAP CPU you > + can enable its onboard serial ports by enabling this option. > + > +config SERIAL_OMAP_CONSOLE > + bool "Console on OMAP serial port" > + depends on SERIAL_OMAP > + select SERIAL_CORE_CONSOLE > + help > + If you have enabled the serial port on the Texas Instruments OMAP > + CPU you can make it the console by answering Y to this option. > + > + Even if you say Y here, the currently visible virtual console > + (/dev/tty0) will still be used as the system console by default, but > + you can alter that using a kernel command line option such as > + "console=ttyS0". (Try "man bootparam" or see the documentation of > + your boot loader (lilo or loadlin) about how to pass options to the > + kernel at boot time.) > + > +config SERIAL_OMAP_DMA_UART1 > + bool "UART1 DMA support" > + depends on SERIAL_OMAP > + help > + If you have enabled the serial port on the Texas Instruments OMAP > + CPU you can enable the DMA transfer on UART 1 by answering > + to this option. > + Didn't I already comment these options should be passed in platform_data from board-*.c files? > +config SERIAL_OMAP_UART1_RXDMA_TIMEOUT > + int "Timeout value for RX DMA in microseconds" > + depends on SERIAL_OMAP_DMA_UART1 > + default "1" > + help > + Set the timeout value in which you want the data pulled by RX dma to > + be passed to the tty framework. > + This too. > +config SERIAL_OMAP_UART1_RXDMA_BUFSIZE > + int "DMA buffer size for RX in bytes" > + depends on SERIAL_OMAP_DMA_UART1 > + default "4096" > + help > + Set the dma buffer size for UART Rx > + And this. > +config SERIAL_OMAP_DMA_UART2 > + bool "UART2 DMA support" > + depends on SERIAL_OMAP > + help > + If you have enabled the serial port on the Texas Instruments OMAP > + CPU you can enable the DMA transfer on UART 2 by answering > + to this option. > + And this. > +config SERIAL_OMAP_UART2_RXDMA_TIMEOUT > + int "Timeout value for RX DMA in microseconds" > + depends on SERIAL_OMAP_DMA_UART2 > + default "1" > + help > + Set the timeout value in which you want the data pulled by RX dma to > + be passed to the tty framework. > + Yup this too. > +config SERIAL_OMAP_UART2_RXDMA_BUFSIZE > + int "DMA buffer size for RX in bytes" > + depends on SERIAL_OMAP_DMA_UART2 > + default "4096" > + help > + Set the dma buffer size for UART Rx > + And this. > +config SERIAL_OMAP_DMA_UART3 > + bool "UART3 DMA support" > + depends on SERIAL_OMAP > + help > + If you have enabled the serial port on the Texas Instruments OMAP > + CPU you can enable the DMA transfer on UART 3 by answering > + to this option. > + And this. > +config SERIAL_OMAP_UART3_RXDMA_TIMEOUT > + int "Timeout value for RX DMA in microseconds" > + depends on SERIAL_OMAP_DMA_UART3 > + default "1" > + help > + Set the timeout value in which you want the data pulled by RX dma to > + be passed to the tty framework. > + Ditto. > +config SERIAL_OMAP_UART3_RXDMA_BUFSIZE > + int "DMA buffer size for RX in bytes" > + depends on SERIAL_OMAP_DMA_UART3 > + default "4096" > + help > + Set the dma buffer size for UART Rx > + Ditto. -- 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/