]> git.baikalelectronics.ru Git - uboot.git/commit
video: backlight: Parse PWM polarity cell
authorStefan Mavrodiev <stefan@olimex.com>
Fri, 12 Apr 2019 05:56:27 +0000 (08:56 +0300)
committerAnatolij Gustschin <agust@denx.de>
Sun, 14 Apr 2019 12:17:36 +0000 (14:17 +0200)
commit637dfb97c3319963da6856ecd11a1be50649af99
tree758c983d5b8c46ae9738c401f86010b50525f7fa
parent6c2482ed8bda5463e3853e2435b013ca25866061
video: backlight: Parse PWM polarity cell

This patch enables the reading of the polarity cell from a PWM
phandle and calls pwm_set_invert().

Not all platforms have polarity cell, so skip if it's not pressent.

Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/pwm_backlight.c