From patchwork Tue Oct 16 02:16:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1598431 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 A3E0CE00AF for ; Tue, 16 Oct 2012 02:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752604Ab2JPCRB (ORCPT ); Mon, 15 Oct 2012 22:17:01 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:22204 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314Ab2JPCQ6 (ORCPT ); Mon, 15 Oct 2012 22:16:58 -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 <0MBY0014QRNQSF70@mailout3.samsung.com>; Tue, 16 Oct 2012 11:16:38 +0900 (KST) X-AuditID: cbfee61a-b7f976d000001eb9-8d-507cc386d05e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 70.4D.07865.683CC705; Tue, 16 Oct 2012 11:16:38 +0900 (KST) Received: from DOJG1HAN02 ([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 <0MBY008KHRNQUT00@mmp1.samsung.com>; Tue, 16 Oct 2012 11:16:38 +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 V8 1/2] video: exynos_dp: Add device tree support to DP driver Date: Tue, 16 Oct 2012 11:16:38 +0900 Message-id: <005b01cdab44$45f4a840$d1ddf8c0$%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: Ac2rREXYPI6y9hofRtWykySuwcaUeA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsVy+t9jAd22wzUBBle7tS1O9H1gtZhxfh+T A5PH501yAYxRXDYpqTmZZalF+nYJXBm//31iLtjgXtHx0LmBsdu6i5GTQ0LAROLz0q2MELaY xIV769m6GLk4hAQWMUqc+DKNGSQhJPCLUWL1fCsQm01ATeLLl8PsXYwcHCICVhKbtmqC1DML HGWSmPPjAFi9sICfxMt7n5hAbBYBVYkvTVPZQWxeAVuJ7hu72CBsQYkfk++xgNjMAloS63ce Z4Kw5SU2r3nLDDJfQkBd4tFfXZCwiICexPJfV5khSkQk9r14xziBUWAWkkmzkEyahWTSLCQt CxhZVjGKphYkFxQnpeca6hUn5haX5qXrJefnbmIEh+czqR2MKxssDjEKcDAq8fBmONcECLEm lhVX5h5ilOBgVhLh9ZgIFOJNSaysSi3Kjy8qzUktPsQozcGiJM7b7JESICSQnliSmp2aWpBa BJNl4uCUamAsS7YW2Ttnw/MPaRxFZvMuvnu+/r3YMadQ5sardR+m/5ZR2Hx281fx3jOsRisn zGDZ+v2hpanBQtY9fc0chpt/8xo/qnEpTp9msn79Ld/7PqdY893Ot9Q7XzidHGK15enJIzKv I2bwn39Sevq21PafMo+OlC65vFCOqevdQanmAw1X+0J7Krf+U2Ipzkg01GIuKk4EAGbwnv5L AgAA 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 v7: - Replace platform_get_drvdata() with dev_get_drvdata() in suspend/resume drivers/video/exynos/exynos_dp_core.c | 216 ++++++++++++++++++++++++++++++--- drivers/video/exynos/exynos_dp_core.h | 2 + 2 files changed, 198 insertions(+), 20 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index d55470e..9a9ecc1 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