From patchwork Fri Dec 31 12:18:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhasish Ghosh X-Patchwork-Id: 442231 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBVC7eLu003967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 31 Dec 2010 12:08:02 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id oBVC68HU028016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Dec 2010 06:06:08 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id oBVC68si021117; Fri, 31 Dec 2010 06:06:08 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 41F7580634; Fri, 31 Dec 2010 06:06:07 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 950798062E for ; Fri, 31 Dec 2010 06:06:03 -0600 (CST) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id oBVC63Rq016113 for ; Fri, 31 Dec 2010 06:06:03 -0600 (CST) Received: from psmtp.com (na3sys009amx228.postini.com [74.125.149.112]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id oBVC627E004970 for ; Fri, 31 Dec 2010 06:06:02 -0600 Received: from source ([209.85.160.45]) by na3sys009amx228.postini.com ([74.125.148.10]) with SMTP; Fri, 31 Dec 2010 07:06:03 EST Received: by pwj6 with SMTP id 6so1979835pwj.4 for ; Fri, 31 Dec 2010 04:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=d04lDhc0tA1uKw0+nmTd5/IvawW3cXwm0JUT6NcVqG4=; b=J7AKL6s8Xf0wSpOPwu34OiEGWkZGHrH8f3l3d+w5XgQ5E++AJLsBBBs7HzfmeGolHw t9Y4A2YdwgMZf4Fm4ih7zKT/Dc5Fgvau9PMAEt2rBe7DUM2ZJVPvBBgnXz71nZlgryD7 CHThdukip8umG/aFXYsS3K3q8SFyGFOt3WuVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=L5yi6yxr2KLN3Gc0IDJiOwXg8MOmjc5tcmSz2Ns+AOrnXGHIsl+scvWmxUYcsdfLq7 m3UWM3WzXBzQvwfbWTIFeCHCiFH2186uN1drALu3l67zJ3/mdh9WtpjHtizKHhI7SM/v ITwvyko2+SX8hHupUnwq8vMJCYTd0pMg0VdjI= Received: by 10.142.166.20 with SMTP id o20mr13993522wfe.382.1293797162482; Fri, 31 Dec 2010 04:06:02 -0800 (PST) Received: from localhost ([59.97.0.30]) by mx.google.com with ESMTPS id q13sm23974619wfc.17.2010.12.31.04.05.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Dec 2010 04:06:01 -0800 (PST) From: Subhasish Ghosh To: davinci-linux-open-source@linux.davincidsp.com Subject: [RFC: PATCH 4/5] da850: serial framework modifications for TI's PRU SoftUART Emulation Date: Fri, 31 Dec 2010 17:48:13 +0530 Message-Id: <1293797894-15964-4-git-send-email-subhasish@mistralsolutions.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1293797894-15964-1-git-send-email-subhasish@mistralsolutions.com> References: <1293797894-15964-1-git-send-email-subhasish@mistralsolutions.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:59.13723/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: m-watkins@ti.com, sshtylyov@mvista.com, Subhasish Ghosh X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 31 Dec 2010 12:08:02 +0000 (UTC) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index aff9dcd..775e33a 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -1632,4 +1632,6 @@ config SERIAL_ALTERA_UART_CONSOLE help Enable a Altera UART port to be the system console. +source "drivers/serial/omapl_pru/Kconfig" + endmenu diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index c570576..0c82d60 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile @@ -69,6 +69,7 @@ obj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o obj-$(CONFIG_SERIAL_SC26XX) += sc26xx.o obj-$(CONFIG_SERIAL_JSM) += jsm/ +obj-$(CONFIG_SERIAL_SUART_OMAPL_PRU) += omapl_pru/ obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 212eb4c..407624e 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -199,6 +199,9 @@ /* TI OMAP-UART */ #define PORT_OMAP 96 +/* omapl pru uart emulation */ +#define PORT_OMAPL_PRU_SUART 97 + #ifdef __KERNEL__ #include