From patchwork Mon Aug 26 08:57:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2849461 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 1E3109F271 for ; Mon, 26 Aug 2013 08:57:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B3DB3202F7 for ; Mon, 26 Aug 2013 08:57:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1704C202E6 for ; Mon, 26 Aug 2013 08:57:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756305Ab3HZI5G (ORCPT ); Mon, 26 Aug 2013 04:57:06 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:26321 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582Ab3HZI5D (ORCPT ); Mon, 26 Aug 2013 04:57:03 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MS4005K1RGJBTW0@mailout4.samsung.com>; Mon, 26 Aug 2013 17:57:02 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 31.99.30629.E581B125; Mon, 26 Aug 2013 17:57:02 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-16-521b185ea919 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5F.06.09055.D581B125; Mon, 26 Aug 2013 17:57:02 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MS4003Z8RJ1VJF0@mmp1.samsung.com>; Mon, 26 Aug 2013 17:57:01 +0900 (KST) From: Jingoo Han To: 'Kishon Vijay Abraham I' Cc: 'Greg Kroah-Hartman' , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org, 'devicetree' , 'Kukjin Kim' , 'Sylwester Nawrocki' , 'Felipe Balbi' , 'Tomasz Figa' , 'Jean-Christophe PLAGNIOL-VILLARD' , 'Tomi Valkeinen' , 'Jingoo Han' References: <003e01cea23a$03aac850$0b0058f0$%han@samsung.com> In-reply-to: <003e01cea23a$03aac850$0b0058f0$%han@samsung.com> Subject: [PATCH 2/3] video: exynos_dp: remove non-DT support for Exynos Display Port Date: Mon, 26 Aug 2013 17:57:01 +0900 Message-id: <004101cea23a$3ad2a7d0$b077f770$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6iOgN7MgvkoL3hRgS3gzfXOa2c2AAACd0w Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42I5/e+ZsW6chHSQwbXVfBYH79dbvDykaTH/ yDlWi+bF69ksLi+8xGrRu+Aqm8WFpz1sFif6PrBaXN41h81ixvl9TBbrHr5gsjj8pp3VYv2M 1ywW6+ffYnPg83h14Q6Lx/65a9g9+rasYvQ4fmM7k8fnTXIBrFFcNimpOZllqUX6dglcGS/m 7GcqWJ9Q8WLXBLYGxpd+XYycHBICJhI3d9xlgbDFJC7cW8/WxcjFISSwjFHi65QbrDBF3/dc YIZILGKU2DMTpuoXo8Sm3ysZQarYBNQkvnw5zA5iiwjoSCw8vR6sg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YghI/ Jt8Ds5kFtCQ2b2tihbDlJTaveQs0nwPoVHWJR391IW4wkrjd+58ZokREYt+Ld4wTGIVmIZk0 C8mkWUgmzULSsoCRZRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcIJ5JrWDcWWDxSFGAQ5G JR7ewAKpICHWxLLiytxDjBIczEoivOai0kFCvCmJlVWpRfnxRaU5qcWHGJOBHp3ILCWanA9M fnkl8YbGJmZGlkZmFkYm5uakCSuJ8x5otQ4UEkhPLEnNTk0tSC2C2cLEwSnVwJi5UuHcZyPv M+VxN7JCfpSempAV4y+rdkz0ws5t9+9evmKfns0ifsakKmT3xD+ik/eKPdWaxeT11rejLsBq mV22f7wo/8OvVg/EDL78DpepOO7a/CvBuZhP7oGSRqL8x97Xjjs05nLEmjorbOg9NEPZdqqs gVHIzze8ueIy5X+sHlstmPvujBJLcUaioRZzUXEiAOohlHx0AwAA 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=-9.3 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