OpenCloudOS-Kernel/drivers/gpu/drm/mxsfb
Fabio Estevam 3f81e13407 drm: mxsfb: Implement drm_panel handling
Currently when the 'power-supply' regulator is passed via device tree
it does not actually work since drm_panel_prepare()/drm_panel_enable()
are never called.

Quoting Thierry Reding: "It should really call drm_panel_prepare() and
drm_panel_enable() while switching on the display pipeline and
drm_panel_disable(), followed by drm_panel_unprepare() while switching
off the display pipeline."

So do as suggested, so that the 'power-supply' regulator can be functional.

Reported-by: Breno Lima <breno.lima@nxp.com>
Suggested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-03-10 11:11:14 +10:00
..
Kconfig drm: mxsfb: Select DRM_PANEL 2016-12-08 10:25:37 +10:00
Makefile
mxsfb_crtc.c drm: mxsfb_crtc: Fix the framebuffer misplacement 2017-03-10 11:11:06 +10:00
mxsfb_drv.c drm: mxsfb: Implement drm_panel handling 2017-03-10 11:11:14 +10:00
mxsfb_drv.h
mxsfb_out.c drm: mxsfb: Fix crash when provided invalid DT bindings 2017-03-10 11:10:59 +10:00
mxsfb_regs.h drm: mxsfb: use bus_format to determine LCD bus width 2017-03-10 11:10:42 +10:00