[Letux-kernel] [PATCH 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

Andreas Kemnade andreas at kemnade.info
Sat Jan 19 20:15:05 CET 2019


I stumbled across this during the panel debugging in 4.20.
We had it working in 3.7. But afaik not even in 3.12 anymore,

Same thing might be interesting for other panels where we use
Probably the panel-boe-w677l.c could use something like this also.
But why is there 

static const struct backlight_ops w677l_backlight_ops
= { .get_brightness = w677l_get_brightness,
	.update_status = w677l_set_brightness,

and it is never used.

If this gets accepted, I will try to upstream dtb updates as well.


On Sat, 19 Jan 2019 19:21:29 +0100
Andreas Kemnade <andreas at kemnade.info> wrote:

> This panel has a backlight, so add a property describing that and
> add the code to use that.
> This makes things like xset dpms force off
> also turn off the backlight, so we do not need to rely on additional
> userspace programs to do that.
> Andreas Kemnade (2):
>   drm/omap: panel-tpo-td028ttec1: add backlight support
>   dt-bindings: panel: td028ttec1: add backlight property
>  .../bindings/display/panel/tpo,td028ttec1.txt          |  2 ++
>  .../gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c    | 18 +++++++++++++++---
>  2 files changed, 17 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20190119/24593365/attachment.asc>

More information about the Letux-kernel mailing list