From patchwork Mon Sep 30 08:00:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2962811 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 BE2C59F288 for ; Mon, 30 Sep 2013 08:00:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5BB220200 for ; Mon, 30 Sep 2013 08:00:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0525B201FE for ; Mon, 30 Sep 2013 08:00:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752946Ab3I3IAG (ORCPT ); Mon, 30 Sep 2013 04:00:06 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:15971 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752945Ab3I3IAD (ORCPT ); Mon, 30 Sep 2013 04:00: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 <0MTX000PFI82TJF0@mailout4.samsung.com>; Mon, 30 Sep 2013 17:00:02 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 22.B5.30629.28F29425; Mon, 30 Sep 2013 17:00:02 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-19-52492f8274cc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 53.DC.05832.28F29425; Mon, 30 Sep 2013 17:00:02 +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 <0MTX0061EI82IZ00@mmp2.samsung.com>; Mon, 30 Sep 2013 17:00:02 +0900 (KST) From: Jingoo Han To: 'Kishon Vijay Abraham I' Cc: 'Greg Kroah-Hartman' , linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, 'Kukjin Kim' , 'Tomi Valkeinen' , 'Jean-Christophe Plagniol-Villard' , 'Sylwester Nawrocki' , 'Jingoo Han' References: <000f01cebdb2$d1a20e10$74e62a30$%han@samsung.com> In-reply-to: <000f01cebdb2$d1a20e10$74e62a30$%han@samsung.com> Subject: [PATCH V8 2/3] video: exynos_dp: remove non-DT support for Exynos Display Port Date: Mon, 30 Sep 2013 17:00:02 +0900 Message-id: <001a01cebdb3$10edf930$32c9eb90$%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: Ac69stGDJcNGlmTjTaOadWBk38OXaAAAC+Dg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDIsWRmVeSWpSXmKPExsVy+t8zY90mfc8ggw3tYhbNi9ezWVxeeInV onfBVTaLC0972CxO9H1gtZhxfh+TxbqHL5gsDr9pZ7VYP/8WmwOnx6sLd1g89s9dw+7Rt2UV o8fxG9uZPD5vkgtgjeKySUnNySxLLdK3S+DKePXzK3PB+oSKX1+2szYwvvTrYuTkkBAwkdg6 YRULhC0mceHeerYuRi4OIYFljBLzNnxlhClauXYKO0RiOqPE+XfroKp+MUrs+febCaSKTUBN 4suXw+wgtoiAjsTC0+uZQYqYBR4wSZw6txgsISRgKzHj72mwsZwCdhJ/551lBbGFBSIlpl5a AjSIg4NFQFWifbkoSJgXqPza4n3sELagxI/J98BOZRbQkti8rYkVw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ITxjPpHYyrGiwOMQpwMCrx8Fos9QgSYk0sK67MPcQowcGsJML7 lc8zSIg3JbGyKrUoP76oNCe1+BBjMtCfE5mlRJPzgcksryTe0NjEzMjSyMzCyMTcnDRhJXHe g63WgUIC6YklqdmpqQWpRTBbmDg4pRoYM9buq44S+dgb4rjb0O38PoFNmst3WU2ZeNZ+yZlz P6ct4bi0aua1hxFlsx04tsdKRzRnGZ+5fb+u215nRXF+9pWU8JDO5MBlrt6Fu7PC2pbadd0N XTn10H8mx2SJhFlzs9kmeqWaf10VZWg98d6z+6HMGdtdDx/deO7Eqs0aHgGTJjrE33+dqMRS nJFoqMVcVJwIAILusFNcAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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.5 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 976594d..1129d0e 100644 --- a/drivers/video/exynos/Kconfig +++ b/drivers/video/exynos/Kconfig @@ -30,7 +30,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