From patchwork Tue Jul 9 08:05:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2825190 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 5E223C0AB2 for ; Tue, 9 Jul 2013 08:09:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48F142018A for ; Tue, 9 Jul 2013 08:09:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5808E20154 for ; Tue, 9 Jul 2013 08:09: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 1UwSwd-00006O-HY; Tue, 09 Jul 2013 08:06:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwSvd-0001J3-VH; Tue, 09 Jul 2013 08:05:41 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwSva-0001Hg-QW for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 08:05:40 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MPN004C4T4PATQ0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 17:05:13 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 98.E5.11618.934CBD15; Tue, 09 Jul 2013 17:05:13 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-44-51dbc439e6be Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id CD.26.21068.834CBD15; Tue, 09 Jul 2013 17:05:12 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MPN00CK8T4OFF50@mmp2.samsung.com>; Tue, 09 Jul 2013 17:05:12 +0900 (KST) From: Jingoo Han To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH V6 3/4] video: exynos_dp: remove non-DT support for Exynos Display Port Date: Tue, 09 Jul 2013 17:05:12 +0900 Message-id: <004001ce7c7b$09b87bf0$1d2973d0$@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac58ewPwSssf89LyQsaK7DrLYsBxrA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnleLIzCtJLcpLzFFi42I5/e+Zoa7lkduBBmsusVocvF9v8fKQpsWB 2Q9ZLa6ft7OYdH8Ci8WMpY9YLS4vBMr3LrjKZnHhaQ+bxdmmN+wWmx5fY7U40feB1aJnw1ZW ixnn9zFZrHv4gsni8Jt2Vov1M16zWKyff4vNQchj56y77B6vLtxh8di8pN7j/IyFjB59W1Yx ehy/sZ3J4/MmuQD2KC6blNSczLLUIn27BK6MF3P2MxWsT6h4sWsCWwPjS78uRk4OCQETiYUv bjBD2GISF+6tZ+ti5OIQEljGKPG+4TgzTNG/XffYIRLTGSWaf55lgXB+MUqs6J7PCFLFJqAm 8eXLYaAqDg4RAW+J5dcUQWqYBa6xSPS8eg9WIywQKfFq6V9WEJtFQFXi4LxTb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LlKQ2HH2NSPELj2J+1NLIUpE JPa9eMc4gVFgFpJJs5BMmoVk0iwkLQsYWVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn525iBKeZ Z9I7GFc1WBxiFOBgVOLh/XD5VqAQa2JZcWXuIUYJDmYlEd5FO28HCvGmJFZWpRblxxeV5qQW H2JMBnp0IrOUaHI+MAXmlcQbGpuYGVkamVkYmZibkyasJM57sNU6UEggPbEkNTs1tSC1CGYL EwenVANjTPSkJ1rqb3cozbs5TyTWq7Pyzqbd/bvSWP3n7MrJKuc6acTV9Pv17o9pbUK7s2Tn zHQVkI4+PL/AZC5vUHhjRERwdNI32Xevw0LFL3Nw7I6dz3qe2Vtot/rhvMRZP66eKL19I3PF 3Ds7jLP2nVz0gEd1p/D2DQY+OmaHWf3vaG28NW3BscBgJZbijERDLeai4kQAaYLP7HcDAAA= 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-20130709_040539_317556_65478A04 X-CRM114-Status: GOOD ( 23.59 ) X-Spam-Score: -6.7 (------) Cc: linux-fbdev@vger.kernel.org, 'Kukjin Kim' , 'Hui Wang' , 'Tomasz Figa' , Jingoo Han , 'Donghwa Lee' , 'Felipe Balbi' , 'Kishon Vijay Abraham I' , 'Inki Dae' , 'Kyungmin Park' , 'Tomi Valkeinen' , 'Sylwester Nawrocki' , 'Jean-Christophe PLAGNIOL-VILLARD' , devicetree-discuss@lists.ozlabs.org, linux-media@vger.kernel.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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 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 Exynos Display Port can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is not supported from v3.11; thus, there is no need to support non-DT for Exynos Display Port. The 'include/video/exynos_dp.h' file has been used for non-DT support and the content of file include/video/exynos_dp.h is moved to drivers/video/exynos/exynos_dp_core.h. Thus, the 'exynos_dp.h' file is removed. Also, 'struct exynos_dp_platdata' is removed, because it is not used any more. Signed-off-by: Jingoo Han Reviewed-by: Tomasz Figa --- drivers/video/exynos/Kconfig | 2 +- drivers/video/exynos/exynos_dp_core.c | 116 +++++++---------------------- drivers/video/exynos/exynos_dp_core.h | 109 +++++++++++++++++++++++++++ drivers/video/exynos/exynos_dp_reg.c | 2 - include/video/exynos_dp.h | 131 --------------------------------- 5 files changed, 135 insertions(+), 225 deletions(-) delete mode 100644 include/video/exynos_dp.h diff --git a/drivers/video/exynos/Kconfig b/drivers/video/exynos/Kconfig index 1b035b2..fab9019 100644 --- a/drivers/video/exynos/Kconfig +++ b/drivers/video/exynos/Kconfig @@ -29,7 +29,7 @@ config EXYNOS_LCD_S6E8AX0 config EXYNOS_DP bool "EXYNOS DP driver support" - depends on ARCH_EXYNOS + depends on OF && ARCH_EXYNOS default n help This enables support for DP device. diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index 12bbede..05fed7d 100644 --- a/drivers/video/exynos/exynos_dp_core.c +++ b/drivers/video/exynos/exynos_dp_core.c @@ -20,8 +20,6 @@ #include #include -#include