[PATCH V2 9/9] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

Ajay Kumar ajaykumar.rs at samsung.com
Mon Apr 21 15:39:18 PDT 2014


This patch adds ps8622 lvds bridge discovery code to the dp driver.

Signed-off-by: Rahul Sharma <Rahul.Sharma at samsung.com>
Signed-off-by: Ajay Kumar <ajaykumar.rs at samsung.com>
---
Changes since V1:
	Pushing V1 for this as V2 because this patch holds good in this series.

 drivers/gpu/drm/exynos/exynos_dp_core.c |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c b/drivers/gpu/drm/exynos/exynos_dp_core.c
index 4853f31..0006412 100644
--- a/drivers/gpu/drm/exynos/exynos_dp_core.c
+++ b/drivers/gpu/drm/exynos/exynos_dp_core.c
@@ -30,6 +30,7 @@
 #include <drm/drm_crtc_helper.h>
 #include <drm/drm_panel.h>
 #include <drm/bridge/ptn3460.h>
+#include <drm/bridge/ps8622.h>
 
 #include "exynos_drm_drv.h"
 #include "exynos_dp_core.h"
@@ -999,7 +1000,15 @@ static int exynos_drm_attach_lcd_bridge(struct drm_device *dev,
 				panel);
 		if (!ret)
 			return 1;
+	} else if (find_bridge("parade,ps8625", &bridge)) {
+
+		ret = ps8622_init(dev, encoder, bridge.client, bridge.node,
+				panel);
+
+		if (!ret)
+			return 1;
 	}
+
 	return 0;
 }
 
-- 
1.7.9.5



More information about the dri-devel mailing list