From patchwork Mon Oct 15 09:56:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1593121 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 49115DFB34 for ; Mon, 15 Oct 2012 09:56:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751727Ab2JOJ4m (ORCPT ); Mon, 15 Oct 2012 05:56:42 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49818 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605Ab2JOJ4m (ORCPT ); Mon, 15 Oct 2012 05:56:42 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBX00IKXIAGNF20@mailout3.samsung.com>; Mon, 15 Oct 2012 18:56:40 +0900 (KST) X-AuditID: cbfee61a-b7f976d000001eb9-fa-507bddd81363 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EE.FF.07865.8DDDB705; Mon, 15 Oct 2012 18:56:40 +0900 (KST) Received: from DOJG1HAN02 ([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 <0MBX006EDIAFR000@mmp2.samsung.com>; Mon, 15 Oct 2012 18:56:40 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, 'Ajay Kumar' , 'Sylwester Nawrocki' , 'Tomasz Figa' , 'Thomas Abraham' , 'Jingoo Han' Subject: [PATCH V7 1/2] video: exynos_dp: Add device tree support to DP driver Date: Mon, 15 Oct 2012 18:56:39 +0900 Message-id: <00a201cdaabb$5f6eb6f0$1e4c24d0$%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: Ac2qu19SWShixnWvR5SzOcQUqsd5WQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsVy+t9jQd0bd6sDDFY+kLE40feB1WLG+X1M DkwenzfJBTBGcdmkpOZklqUW6dslcGXsn/aOsWCHc8WU1XUNjFfMuxg5OSQETCQmrJ/EDmGL SVy4t56ti5GLQ0hgOqPE5WnPoJxfjBLf1m8Dq2ITUJP48uUwkM3BISJgJbFpqyZIDbPAUSaJ OT8OMIPUCAv4SbRO6GcDsVkEVCXeLOhlBqnnFbCV2PTPCSTMKyAo8WPyPRYQm1lAS2L9zuNM ELa8xOY1b8HKJQTUJR791QUJiwjoSSx6vZkVokREYt+Ld4wTGAVmIZk0C8mkWUgmzULSsoCR ZRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcHg+k9rBuLLB4hCjAAejEg/vT6/qACHWxLLi ytxDjBIczEoivLtPAIV4UxIrq1KL8uOLSnNSiw8xSnOwKInzNnukBAgJpCeWpGanphakFsFk mTg4pRoY3Rd4JbA+Odj5i23jm6vskTyukiz3r08LWJ5vvdd79+ubAWEHJwW4/z19zurTq/4/ C/r+bzr0dO+FB0b1hWe1zy9LjVm6nWOt8GX33f/yLhw73WE25Yn0oiO/yhhP36u7dlEl73SE /OxN2xb99O365WFerFU7dV3z9LV+0uff7p/886p1bmqI6H0lluKMREMt5qLiRABgDjatSwIA AA== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org From: Ajay Kumar This patch enables device tree based discovery support for DP driver. The driver is modified to handle platform data in both the cases: with DT and non-DT. Signed-off-by: Ajay Kumar Signed-off-by: Jingoo Han --- This patch is tested with Exynos5250. Changes since v6: - Fix return check for exynos_dp_dt_parse_phydata() in exynos_dp_probe() drivers/video/exynos/exynos_dp_core.c | 206 ++++++++++++++++++++++++++++++--- drivers/video/exynos/exynos_dp_core.h | 2 + 2 files changed, 194 insertions(+), 14 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index d55470e..0d9c0ee 100644 --- a/drivers/video/exynos/exynos_dp_core.c +++ b/drivers/video/exynos/exynos_dp_core.c @@ -18,6 +18,7 @@ #include #include #include +#include #include