From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay Kumar Date: Tue, 09 Oct 2012 14:04:57 +0000 Subject: [PATCH V4 1/2] video: exynos_dp: Add device tree support to DP driver Message-Id: <1349824101-32574-2-git-send-email-ajaykumar.rs@samsung.com> List-Id: References: <1349824101-32574-1-git-send-email-ajaykumar.rs@samsung.com> In-Reply-To: <1349824101-32574-1-git-send-email-ajaykumar.rs@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 "samsung,dp_phy" associated with it. Signed-off-by: Ajay Kumar --- drivers/video/exynos/exynos_dp_core.c | 168 ++++++++++++++++++++++++++++++--- drivers/video/exynos/exynos_dp_core.h | 2 + 2 files changed, 156 insertions(+), 14 deletions(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index cdc1398..74f18f2 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