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: 3698621 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 5D462BF13A for ; Fri, 21 Feb 2014 16:44:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D64C2018A for ; Fri, 21 Feb 2014 16:44:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A305200C6 for ; Fri, 21 Feb 2014 16:44:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932508AbaBUQoR (ORCPT ); Fri, 21 Feb 2014 11:44:17 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:45903 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932361AbaBUQoQ (ORCPT ); Fri, 21 Feb 2014 11:44:16 -0500 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>; 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 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 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 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 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.