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: 2825177 Return-Path: X-Original-To: patchwork-linux-fbdev@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 A96129F7D6 for ; Tue, 9 Jul 2013 08:05:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B2F8201B7 for ; Tue, 9 Jul 2013 08:05:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 664C8201B4 for ; Tue, 9 Jul 2013 08:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753512Ab3GIIFc (ORCPT ); Tue, 9 Jul 2013 04:05:32 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:44737 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753519Ab3GIIFP (ORCPT ); Tue, 9 Jul 2013 04:05:15 -0400 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>; 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 Cc: 'Kishon Vijay Abraham I' , linux-media@vger.kernel.org, 'Kukjin Kim' , 'Sylwester Nawrocki' , 'Felipe Balbi' , 'Tomasz Figa' , devicetree-discuss@lists.ozlabs.org, 'Inki Dae' , 'Donghwa Lee' , 'Kyungmin Park' , 'Jean-Christophe PLAGNIOL-VILLARD' , 'Tomi Valkeinen' , linux-fbdev@vger.kernel.org, 'Hui Wang' , Jingoo Han 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 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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 8eXLYaAq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lTg47xQb iM0rYClx6HcLC4QtKPFj8j0wm1lAS2L9zuNMELa8xOY1b5khLlKQ2HH2NSPELj2J+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 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.2 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 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