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: 3698241 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 9D5769F1EE for ; Fri, 21 Feb 2014 15:50:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFAFE2018B for ; Fri, 21 Feb 2014 15:50:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2964D20179 for ; Fri, 21 Feb 2014 15:50:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932320AbaBUPuV (ORCPT ); Fri, 21 Feb 2014 10:50:21 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:49111 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932188AbaBUPuU (ORCPT ); Fri, 21 Feb 2014 10:50:20 -0500 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>; 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 Cc: linux-kernel@vger.kernel.org, jg1.han@samsung.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki 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 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=-7.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 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.