drm/rockchip: analogix_dp: add supports for regulators in edp IP
authorRandy Li <ayaka@soulik.info>
Sat, 22 Oct 2016 19:18:53 +0000 (03:18 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 27 Apr 2017 11:28:37 +0000 (19:28 +0800)
commite34d729185599f2f37f61d7fae8d6d1d102b93a6
tree317ebf6d6231fda54f45e3bc1356d50991b7dee0
parentef2cd29548975f82b5f06d50c2a4843d8535ac8b
drm/rockchip: analogix_dp: add supports for regulators in edp IP

I found if eDP_AVDD_1V0 and eDP_AVDD_1V8 are not been power at
RK3288, once trying to enable the pclk clock, the kernel would dead.
This patch would try to enable them first.

The eDP_AVDD_1V8 is used for eDP phy, and the eDP_AVDD_1V0 are used
both for eDP phy and controller.

Change-Id: I4e8a34609d5b292d7da77385ff15bebbf258090c
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c