From patchwork Fri Feb 21 16:44: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: 3698661 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 D17879F1EE for ; Fri, 21 Feb 2014 16:44:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 057C72018A for ; Fri, 21 Feb 2014 16:44:52 +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 138DF2018B for ; Fri, 21 Feb 2014 16:44:51 +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 1WGtDR-0002oK-N3; Fri, 21 Feb 2014 16:44:45 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WGtDP-0001KC-C2; Fri, 21 Feb 2014 16:44:43 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WGtDK-0001I5-R5 for linux-arm-kernel@lists.infradead.org; Fri, 21 Feb 2014 16:44:41 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1C00D9IUHRYS30@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 22 Feb 2014 01:44:15 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-26-5307825f3352 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 52.F5.29263.F5287035; Sat, 22 Feb 2014 01:44:15 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1C0091OUHJJP00@mmp2.samsung.com>; Sat, 22 Feb 2014 01:44:15 +0900 (KST) From: Sylwester Nawrocki To: kishon@ti.com Subject: [PATCH v3 1/2] phy: Select PHY_EXYNOS_MIPI_VIDEO by default for ARCH_EXYNOS Date: Fri, 21 Feb 2014 17:44:01 +0100 Message-id: <1393001042-5951-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLJMWRmVeSWpSXmKPExsVy+t9jQd34JvZgg6UvhSwuL7zEanHhaQ+b xabH11gtLu+aw2Yx4/w+JovDb9pZHdg8Ni+p9+jbsorR4/iN7UwenzfJBbBEcdmkpOZklqUW 6dslcGWc3NLMXrCBq+Lps0NsDYy7OboYOTkkBEwk/jV0M0LYYhIX7q1nA7GFBKYzSmxZEdfF yAVkdzBJzFj3ngUkwSZgKNF7tA+ogYNDREBQ4tMnsF5mgfWMEvf+mIGEhQXCJG6tyQQJswio Shz4tp4ZxOYVcJX4PPcTM0iJhICCxJxJNhMYuRcwMqxiFE0tSC4oTkrPNdQrTswtLs1L10vO z93ECA6EZ1I7GFc2WBxiFOBgVOLhdUhlDxZiTSwrrsw9xCjBwawkwtscDRTiTUmsrEotyo8v Ks1JLT7EKM3BoiTOe6DVOlBIID2xJDU7NbUgtQgmy8TBKdXAuPFbs+h+KaY9a6XiHgqnvJ2o atHMWCHjujp4962tQadTmtdkrejd8CfqgCLv3twnTban30c9Wv3n7n2RhQsZFZfc7j3BMEvp +Kdk5nff5sbqHw5sS762fd6NJN4LDT0tr9fnBu3tjXVSyV60+PJEob2XLwp7xi5zPhT04bCm bfqxHYUe7WwO7kosxRmJhlrMRcWJAA3v7PAAAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140221_114439_077922_1257F4B7 X-CRM114-Status: UNSURE ( 8.28 ) 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 v2: - s/default y/default y if ARCH_S5PV210 || ARCH_EXYNOS 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..d71be95 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 if ARCH_S5PV210 || ARCH_EXYNOS help Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P and EXYNOS SoCs.