drm/rockchip: analogix_dp: add rk3399 eDP support
authorYakir Yang <ykk@rock-chips.com>
Fri, 18 Mar 2016 07:26:46 +0000 (15:26 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 29 Mar 2016 12:16:05 +0000 (20:16 +0800)
RK3399 and RK3288 shared the same eDP IP controller, so this time we
just need to append the RK3399 compatible name to analogix_dp documentation
and driver code.

Change-Id: I3fee6893c56698ee2948b9df2f3ffb7729fe75ef
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Documentation/devicetree/bindings/display/bridge/analogix_dp.txt
Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c

index 4f2ba8c13d9259c528322070790f92da84b3bb58..4a0f4f7682ad4a742f32e66125a424e5dc6837f7 100644 (file)
@@ -5,6 +5,7 @@ Required properties for dp-controller:
                platform specific such as:
                 * "samsung,exynos5-dp"
                 * "rockchip,rk3288-dp"
+                * "rockchip,rk3399-edp"
        -reg:
                physical base address of the controller and length
                of memory mapped region.
index e832ff98fd61c1e527ac40a92cf80f1df0e20594..781f34bd9c68c2fb964ce98ab3dffd9116be0393 100644 (file)
@@ -2,7 +2,7 @@ Rockchip RK3288 specific extensions to the Analogix Display Port
 ================================
 
 Required properties:
-- compatible: "rockchip,rk3288-edp";
+- compatible: "rockchip,rk3288-dp" or "rockchip,rk3399-edp"
 
 - reg: physical base address of the controller and length
 
index b7af1b7cfaa2866fce4bf3cb144c9fa06a419b66..2b44a1feec170ebf3abfaea6c359eab430cd9eb3 100644 (file)
@@ -361,6 +361,7 @@ static const struct dev_pm_ops rockchip_dp_pm_ops = {
 
 static const struct of_device_id rockchip_dp_dt_ids[] = {
        {.compatible = "rockchip,rk3288-dp",},
+       {.compatible = "rockchip,rk3399-edp",},
        {}
 };
 MODULE_DEVICE_TABLE(of, rockchip_dp_dt_ids);