drm/omap: panel-tpo-td028ttec1: add backlight support
authorAndreas Kemnade <andreas@kemnade.info>
Tue, 5 Feb 2019 06:38:12 +0000 (07:38 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Mar 2019 09:42:14 +0000 (11:42 +0200)
commitb477a009b4266a3bdb851477e3f77bf27c2efcc3
treebc310635bd8ea4edc18e0fcdd3c0154887fb4dad
parentfe4ed1b457943113ee1138c939fbdeede4af6cf3
drm/omap: panel-tpo-td028ttec1: add backlight support

This panel has a backlight, so fetch it from devicetree using the
corresponding property as documented in panel-common.txt. It is
implemented the same way as in panel-dpi.c
This ensures the backlight is also disabled when the display is
turned off like when doing xset dpms force off.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c