drm: exynos: Add powerup/down routines for eDP panel
Add powerup and powerdown routines for eDP panel,
and integrate the same with the exynos DP driver.
The panel powerup/down routines can be used to set all related GPIO
and regulator settings for the eDP panel, like:
--regulator fet for LCD
--regulator fet for LED
--LCD_EN signal
--BL_EN signal
--Delay needed for complete powerup
--Delay needed for complete powerdown
The above settings required for panel powerup/down can be added
via DP DT bindings.
BUG=chrome-os-partner:24914, chrome-os-partner:24672,
chrome-os-partner:25567
TEST=Boot an peach-pi and pit.
Check for smooth display transitions during bootup, DPMS and S2R calls.
Also, on peach-pi, observe that the FET for LCD and LED are down
during DPMS_OFF using the following commands:
i2cget -f -y 20 0x48 0x0f => 0x0e
i2cget -f -y 20 0x48 0x14 => 0x0e
Change-Id: Ie9223a0543fa053690b6d56f0e162b3d5087fb0c
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/182454
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Jaehoon Kim <jh228.kim@samsung.com>
Tested-by: Doug Anderson <dianders@chromium.org>
Commit-Queue: Wonjoon Lee <woojoo.lee@samsung.com>