From: Ajay Kumar Subject: [PATCH] video: exynos_dp: Add device tree support to DP driver Date: Fri, 14 Sep 2012 00:09:52 +0530 Message-ID: <1347561592-29400-1-git-send-email-ajaykumar.rs@samsung.com> Return-path: Received: from mailout2.samsung.com ([203.254.224.25]:55633 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752593Ab2IMNYZ (ORCPT ); Thu, 13 Sep 2012 09:24:25 -0400 Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org, jg1.han@samsung.com, thomas.ab@samsung.com Cc: FlorianSchandinat@gmx.de 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. DP-PHY should be regarded as a seperate device node while being passed from device tree list, and device node for DP should contain DP-PHY as child node with property name "dp-phy" associated with it. Signed-off-by: Ajay Kumar --- drivers/video/exynos/exynos_dp_core.c | 156 +++++++++++++++++++++++++++++++-- drivers/video/exynos/exynos_dp_core.h | 2 + 2 files changed, 151 insertions(+), 7 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index f57c915..15887bd 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