From patchwork Fri Feb 21 15:50:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 3698261 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 00FD19F1EE for ; Fri, 21 Feb 2014 15:50:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 293102018B for ; Fri, 21 Feb 2014 15:50:56 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 C4E1820179 for ; Fri, 21 Feb 2014 15:50:54 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WGsNG-0006Lq-3l; Fri, 21 Feb 2014 15:50:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WGsND-0007v9-Ju; Fri, 21 Feb 2014 15:50:47 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WGsN9-0007tu-2P for linux-arm-kernel@lists.infradead.org; Fri, 21 Feb 2014 15:50:44 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1C007CERZUM900@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 22 Feb 2014 00:50:18 +0900 (KST) X-AuditID: cbfee61b-b7f456d000006dfd-1a-530775ba843c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 24.CB.28157.AB577035; Sat, 22 Feb 2014 00:50:18 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1C0075URZKPG90@mmp1.samsung.com>; Sat, 22 Feb 2014 00:50:18 +0900 (KST) From: Sylwester Nawrocki To: kishon@ti.com Subject: [PATCH v2 1/2] phy: Select PHY_EXYNOS_MIPI_VIDEO by default for ARCH_EXYNOS Date: Fri, 21 Feb 2014 16:50:01 +0100 Message-id: <1392997802-29050-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t9jAd1dpezBBjv3mlpcXniJ1eLC0x42 i02Pr7FaXN41h81ixvl9TBaH37SzOrB5bF5S79G3ZRWjx/Eb25k8Pm+SC2CJ4rJJSc3JLEst 0rdL4MqY/jau4DBnRe+xFYwNjI/Yuxg5OSQETCR2nWxhhbDFJC7cW8/WxcjFISSwiFFi+88V jBBOB5PE9E+rGEGq2AQMJXqP9gHZHBwiAoISnz6BhZkF1jNK3PtjBmILC4RJfJv9jQXEZhFQ lfj+7BVYDa+Am8SFac2sIK0SAgoScybZTGDkXsDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/ dxMjOBSeSe9gXNVgcYhRgINRiYfXIZU9WIg1say4MvcQowQHs5IIb3M0UIg3JbGyKrUoP76o NCe1+BCjNAeLkjjvwVbrQCGB9MSS1OzU1ILUIpgsEwenVAPj/INqXAfCT3E0mk448KGr6+an 0raVv6U3nUz9377yk7qC+G5Ns9u77Y7fMN9vNym4LNVvVdlbx6QpRR5LVq1TaDDZ/mB79h5f A5OOEMOn3XtjDTuf8YYFG/g/WOD13JMhXW7Vp+b/p+dKXOd56Op64PEzjbkS97Zem79o9eZ6 uQXvGVetddXoVGIpzkg01GIuKk4EAHoc9e0BAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140221_105043_320189_5DE8F85A X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.9 (-------) Cc: linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , jg1.han@samsung.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Instead of requiring user to figure out when PHY_EXYNOS_MIPI_VIDEO needs to be selected select it by default for Exynos SoCs. Also enable it when COMPILE_TEST is selected. If required the MIPI CSIS/DPHY driver can be then disabled or compiled in as module. Signed-off-by: Sylwester Nawrocki Acked-by: Kyungmin Park --- Changes since first version: - use ARCH_EXYNOS instead of "ARCH_EXYNOS4 || ARCH_EXYNOS5" - add dependency on COMPILE_TEST, and ARCH_S5PV210 for PHY_EXYNOS_MIPI_VIDEO --- drivers/phy/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index afa2354..ebd455c 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -16,8 +16,11 @@ config GENERIC_PHY framework should select this config. config PHY_EXYNOS_MIPI_VIDEO - depends on HAS_IOMEM tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver" + depends on HAS_IOMEM + depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST + select GENERIC_PHY + default y help Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P and EXYNOS SoCs.