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: 4786941 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 50C3EC0338 for ; Wed, 27 Aug 2014 09:51:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 61ECB200F4 for ; Wed, 27 Aug 2014 09:51:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDA2720123 for ; Wed, 27 Aug 2014 09:51:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932863AbaH0JvC (ORCPT ); Wed, 27 Aug 2014 05:51:02 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:50131 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932642AbaH0JvB (ORCPT ); Wed, 27 Aug 2014 05:51:01 -0400 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>; Wed, 27 Aug 2014 18:51:00 +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 Cc: naveenkrishna.ch@gmail.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, cpgs@samsung.com, Alim Akhtar , Greg Kroah-Hartman 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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",