From patchwork Fri Oct 12 20:47:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 1586421 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 58C5EDFF71 for ; Fri, 12 Oct 2012 11:18:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373Ab2JLLSd (ORCPT ); Fri, 12 Oct 2012 07:18:33 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:32867 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787Ab2JLLSc (ORCPT ); Fri, 12 Oct 2012 07:18:32 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBS00H1U22D0470@mailout2.samsung.com>; Fri, 12 Oct 2012 20:18:30 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id ED.E2.18144.68CF7705; Fri, 12 Oct 2012 20:18:30 +0900 (KST) X-AuditID: cbfee61b-b7fd46d0000046e0-7b-5077fc8664de Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6D.E2.18144.68CF7705; Fri, 12 Oct 2012 20:18:30 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBS00A6T210HM80@mmp1.samsung.com>; Fri, 12 Oct 2012 20:18:30 +0900 (KST) From: Ajay Kumar To: linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org, jg1.han@samsung.com, devicetree-discuss@lists.ozlabs.org Cc: FlorianSchandinat@gmx.de, sylvester.nawrocki@gmail.com, tomasz.figa@gmail.com, thomas.ab@samsung.com Subject: [PATCH V5 1/2] video: exynos_dp: Add device tree support to DP driver Date: Sat, 13 Oct 2012 02:17:38 +0530 Message-id: <1350074859-23226-1-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.0.4 DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsWyRsSkTrftT3mAwbsWTYsTfR9YLWac38fk wOTxeZNcAGMUl01Kak5mWWqRvl0CV8bcbfOZCt5bVpxb0c7SwPhXv4uRk0NCwETi+InfzBC2 mMSFe+vZuhi5OIQEljJKTG46xAhT9OTyH3aIxCJGieVHpzNDOO1MEtt//GACqWIT0JbYNv0m C4gtIlAnsX/7CVYQm1kgS2La7TawFcICfhKH7n8Aq2ERUJW4eHIfO4jNK+AhcbDrMhvENgWJ 1mWH2CFqBCS+TT4EVM8BFJeV2HQAbK+EwAE2iedzF0DVS0ocXHGDZQKj4AJGhlWMoqkFyQXF Sem5RnrFibnFpXnpesn5uZsYgeF1+t8z6R2MqxosDjEKcDAq8fAWsJQHCLEmlhVX5h5ilOBg VhLhZfgFFOJNSaysSi3Kjy8qzUktPsToA3TJRGYp0eR8YOjnlcQbGpuYmxqbWhoZmZma4hBW Eudt9kgJEBJITyxJzU5NLUgtghnHxMEp1cAYzPva32o+z/Qa/R8FapwsfH9Vylpir9h0SGt5 h5+U6kuW9L1g5bVs2pSnKwUzz7yIFHe8tT3e7ecZ1aS/pkcLfO2lL93gPJYt7vno6sSa3LMC msuXnYs7H3tJNze7UL00fbfbu1dVF64/s2Lruxc807pQ8bjdu8aKqgW8tdp9r3SeHlgsuEeJ pTgj0VCLuag4EQB0tJi9XAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsVy+t9jAd22P+UBBl+/ilic6PvAajHj/D4m ByaPz5vkAhijGhhtMlITU1KLFFLzkvNTMvPSbZW8g+Od403NDAx1DS0tzJUU8hJzU22VXHwC dN0yc4BGKymUJeaUAoUCEouLlfTtME0IDXHTtYBpjND1DQmC6zEyQAMJaxgz5m6bz1Tw3rLi 3Ip2lgbGv/pdjJwcEgImEk8u/2GHsMUkLtxbz9bFyMUhJLCIUWL50enMEE47k8T2Hz+YQKrY BLQltk2/yQJiiwjUSezffoIVxGYWyJKYdruNGcQWFvCTOHT/A1gNi4CqxMWT+8A28Ap4SBzs uswGsU1BonXZIfYJjNwLGBlWMYqmFiQXFCel5xrpFSfmFpfmpesl5+duYgQH7zPpHYyrGiwO MQpwMCrx8BawlAcIsSaWFVfmHmKU4GBWEuFl+AUU4k1JrKxKLcqPLyrNSS0+xOgDtH0is5Ro cj4wsvJK4g2NTcxNjU0tTSxMzCxxCCuJ8zZ7pAQICaQnlqRmp6YWpBbBjGPi4JRqYGSXkts2 L9nhZ9LMoLRrPxzsHt0WtfiqXCIi2cAgx9sx5eYm3wajBifxmvPrpOes/NnuWT95EsMZrvr9 VmYHendyxPLseTHzK9f1ImMHpZANU6bKtv1eqS0qcmH7b96m0kP7fnEss9o6I3uzYMOv3fZb f4bPvl4wl00qbcqz+X38BucEzgnUdSuxFGckGmoxFxUnAgDmOWWziwIAAA== X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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 Acked-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.c | 161 ++++++++++++++++++++++++++++++--- drivers/video/exynos/exynos_dp_core.h | 2 + 2 files changed, 149 insertions(+), 14 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index d55470e..62932ba 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