From patchwork Wed Aug 27 09:46:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 4787121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 266099F2A9 for ; Wed, 27 Aug 2014 09:56:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 472B12018B for ; Wed, 27 Aug 2014 09:56:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7580A2017D for ; Wed, 27 Aug 2014 09:56:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMZsx-0000KI-QQ; Wed, 27 Aug 2014 09:51:23 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMZsv-0000AZ-3g for linux-arm-kernel@lists.infradead.org; Wed, 27 Aug 2014 09:51:21 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAY00EQEM0Z2360@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Aug 2014 18:50:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id F9.25.02948.30AADF35; Wed, 27 Aug 2014 18:50:59 +0900 (KST) X-AuditID: cbfee68d-f79c46d000000b84-45-53fdaa03deae Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 19.50.04943.30AADF35; Wed, 27 Aug 2014 18:50:59 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAY000B8M0R2F30@mmp1.samsung.com>; Wed, 27 Aug 2014 18:50:59 +0900 (KST) From: Naveen Krishna Chatradhi To: linux-serial@vger.kernel.org Subject: [PATCH 14/14] tty/serial: samsung: add support for exynos7 Date: Wed, 27 Aug 2014 15:16:35 +0530 Message-id: <1409132795-1991-1-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsWyRsSkVpd51d9gg1m7TS0ezNvGZvHykKZF 8+L1bBabHl9jtZhxfh+TxZnFvewWi7b9Z3Zg99g56y67x/65a9g9Ni+p9+jbsorR4/MmuQDW KC6blNSczLLUIn27BK6M95P6mAom8FcsvPqCtYHxPE8XIyeHhICJxLeXG1khbDGJC/fWs3Ux cnEICSxllJjYOpsFpujgwe1QiUWMElPubmMCSQgJ9DNJNBwrArHZBMwkDi5azQ5iiwgoSLxp eckM0sAscJ1R4kfreqAVHBzCAs4SJ354gtSwCKhKrJv8H2wzr4CLxIb7b1lASiSAeudMsgFp lRBoZpc4/XYjC0S9gMS3yYegamQlNh1ghrhNUuLgihssExgFFzAyrGIUTS1ILihOSi8y1CtO zC0uzUvXS87P3cQIDNjT/5717mC8fcD6EKMAB6MSD++HBX+ChVgTy4orcw8xmgJtmMgsJZqc D4yLvJJ4Q2MzIwtTE1NjI3NLMyVxXkWpn8FCAumJJanZqakFqUXxRaU5qcWHGJk4OKUaGFWa k5x6NBX3L0sMePNqTs7JYuOLKcvdPaOeZ19uF1JhfVnRdevsipfWr+/dyv5uu/Thy+Q6rsvV T771nMt4tWyvKNf+8B1G/IuyP8naJT1+8Hu/UeBes0gXtY3CgXwBfA8XmM/stgpbvTzgkXlZ 2H3nsJxJTCe/cZjuDD50n3l3fDnrhleaK5VYijMSDbWYi4oTAcRpAPpTAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xgC7zqr/BBt97dSwezNvGZvHykKZF 8+L1bBabHl9jtZhxfh+TxZnFvewWi7b9Z3Zg99g56y67x/65a9g9Ni+p9+jbsorR4/MmuQDW qAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zBygK5QU yhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGe8n9TEVTOCvWHj1BWsD43me LkZODgkBE4mDB7ezQdhiEhfurQeyuTiEBBYxSky5u40JJCEk0M8k0XCsCMRmEzCTOLhoNTuI LSKgIPGm5SUzSAOzwHVGiR+t61m7GDk4hAWcJU788ASpYRFQlVg3+T8riM0r4CKx4f5bFpAS CaDeOZNsJjByL2BkWMUomlqQXFCclJ5rqFecmFtcmpeul5yfu4kRHA/PpHYwrmywOMQowMGo xMP7ccGfYCHWxLLiytxDjBIczEoivOyz/gYL8aYkVlalFuXHF5XmpBYfYjQFWj6RWUo0OR8Y q3kl8YbGJuamxqaWJhYmZpZK4rwHWq0DhQTSE0tSs1NTC1KLYPqYODilGhjXJxk8NV+tKbJ4 FmuW4ZvQTYpmu81/X1HZIS31v09LcMPc2b9uySmySi5a6PS4vSGTRfGnx1SLr2+eeYp3eBxM N5h0cE+lzAILif188orC9dpL+hIr17T5r2WWe5keMJN9yuyfm1vqnUOt7eeG97VMLpuZziGn sjrngbigXMLs9ylLV4rN+q/EUpyRaKjFXFScCADHvgS7nQIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140827_025121_287477_D837EE0C X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: -5.0 (-----) Cc: linux-samsung-soc@vger.kernel.org, cpgs@samsung.com, Greg Kroah-Hartman , Alim Akhtar , naveenkrishna.ch@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Alim Akhtar This patch enables upcoming exynos7 SoCs serial driver. This also modifies various dependencies for Kconfig Signed-off-by: Alim Akhtar Cc: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig | 6 +++--- drivers/tty/serial/samsung.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 26cec64..f858d57 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -220,7 +220,7 @@ config SERIAL_CLPS711X_CONSOLE config SERIAL_SAMSUNG tristate "Samsung SoC serial support" - depends on PLAT_SAMSUNG + depends on PLAT_SAMSUNG || ARCH_EXYNOS7 select SERIAL_CORE help Support for the on-chip UARTs on the Samsung S3C24XX series CPUs, @@ -230,14 +230,14 @@ config SERIAL_SAMSUNG config SERIAL_SAMSUNG_UARTS_4 bool - depends on PLAT_SAMSUNG + depends on SERIAL_SAMSUNG default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442) help Internal node for the common case of 4 Samsung compatible UARTs config SERIAL_SAMSUNG_UARTS int - depends on PLAT_SAMSUNG + depends on SERIAL_SAMSUNG default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416 default 3 help diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index c78f43a..31be983 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1770,7 +1770,7 @@ static struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = { #define S5PV210_SERIAL_DRV_DATA (kernel_ulong_t)NULL #endif -#if defined(CONFIG_ARCH_EXYNOS) +#if defined(CONFIG_ARCH_EXYNOS) || defined(CONFIG_ARCH_EXYNOS7) static struct s3c24xx_serial_drv_data exynos4210_serial_drv_data = { .info = &(struct s3c24xx_uart_info) { .name = "Samsung Exynos4 UART",