From patchwork Wed Nov 19 07:56:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 5334901 Return-Path: X-Original-To: patchwork-linux-arm@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 3BD9CC11AC for ; Wed, 19 Nov 2014 07:59:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78C3320179 for ; Wed, 19 Nov 2014 07:59:44 +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 874FC2018E for ; Wed, 19 Nov 2014 07:59:43 +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 1Xr09L-00037g-RI; Wed, 19 Nov 2014 07:58:03 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xr09J-00031q-Fg for linux-arm-kernel@lists.infradead.org; Wed, 19 Nov 2014 07:58:02 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFA0036G0S1N060@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 19 Nov 2014 16:57:37 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 53.CD.17016.17D4C645; Wed, 19 Nov 2014 16:57:37 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-c1-546c4d71d6ce Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2C.8A.20081.07D4C645; Wed, 19 Nov 2014 16:57:36 +0900 (KST) Received: from abhilash-ubuntu.sisodomain.com ([107.108.73.92]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NFA00GQL0QKEF50@mmp2.samsung.com>; Wed, 19 Nov 2014 16:57:36 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, kgene@kernel.org, kgene.kim@gmail.com Subject: [PATCH v2] serial: samsung: Fix serial config dependencies for exynos7 Date: Wed, 19 Nov 2014 13:26:52 +0530 Message-id: <1416383812-714-1-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1416199491-4841-1-git-send-email-a.kesavan@samsung.com> References: <1416199491-4841-1-git-send-email-a.kesavan@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsWyRsSkTrfQNyfEYP9JLou/k46xWzQvXs9m 8fn3LlaLNX+VLA5uamS26F1wlc2i//FrZotNj6+xWlzeNYfNYsb5fUwWi7Z+YXfg9vj9axKj x85Zd9k9Nq3qZPPYP3cNu8fmJfUefVtWMXqcWXCE3ePzJrkAjigum5TUnMyy1CJ9uwSujJ0r /jEV3OeteL1wPXMD42buLkZODgkBE4kz1x4wQdhiEhfurWfrYuTiEBJYyiix8+hRRpiiGT8X s0IkpjNKHL87C6qqj0li6akJYO1sAnoSC/59ZQaxRQQyJNY1bmcCKWIWOM4o0flsDgtIQljA X+LqhB4wm0VAVeLd5U9gNq+As8Sy3bOBbA6gdQoScybZgIQ5BVwl5sx7AzZTSMBFYtKvb2Az JQTOsUs8b2ljh5gjIPFt8iGoXlmJTQeYIa6WlDi44gbL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NLUgtgulj4uCUamDkcWpiTprGrt8t k9Z3rrVoTqPlqt6rEsvW7Cl6O/fLOWXHme8Z9rTXBW4JZ/5aqTJlyzL2A2xNRnKCk5g5ZV6v vnoq0F/vr+7xfTk395vOPr6y4XVpSNeWjpUC+7xTL5m+7zXZLbGj9YHfF2dznxc2AU0vDn6I 5efg81F1bCoSP1i2e+W9TzJKLMUZiYZazEXFiQDu3dmS2gIAAA== 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-20141118_235801_668530_4525248E X-CRM114-Status: GOOD ( 12.38 ) X-Spam-Score: -5.0 (-----) Cc: kesavan.abhilash@gmail.com, linux-samsung-soc@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Pankaj Dubey , jslaby@suse.cz 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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_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: Pankaj Dubey Exynos7 has a similar serial controller to that present in older Samsung SoCs. To re-use the existing serial driver on Exynos7 we need to have SERIAL_SAMSUNG_UARTS_4 and SERIAL_SAMSUNG_UARTS selected. This is not possible because these symbols are dependent on PLAT_SAMSUNG which is not present for the ARMv8 based exynos7. Change the dependency of these symbols from PLAT_SAMSUNG to the serial driver thus making it available on exynos7. As the existing platform specific code making use of these symbols is related to uart driver this change in dependency should not cause any issues. Signed-off-by: Pankaj Dubey Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Abhilash Kesavan Cc: Greg Kroah-Hartman Acked-by: Greg Kroah-Hartman --- Changes in v2: - Added Greg's ack and Kukjin Kim as a recepient drivers/tty/serial/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index e71a28b..d0ce88c 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -249,14 +249,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