From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jingoo Han Date: Tue, 16 Oct 2012 02:16:38 +0000 Subject: [PATCH V8 1/2] video: exynos_dp: Add device tree support to DP driver Message-Id: <005b01cdab44$45f4a840$d1ddf8c0$%han@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Florian Tobias Schandinat' Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Jingoo Han' , 'Ajay Kumar' , 'Sylwester Nawrocki' , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.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