commit | 57e7775413cfd4ada728c4e60df64895dfa37e4e | [log] [tgz] |
---|---|---|
author | Stefan Mavrodiev <stefan@olimex.com> | Fri Apr 12 08:56:27 2019 +0300 |
committer | Anatolij Gustschin <agust@denx.de> | Sun Apr 14 14:17:36 2019 +0200 |
tree | 758c983d5b8c46ae9738c401f86010b50525f7fa | |
parent | cf5eebeb18f7790d5030eb94f51fca0ebcd6e406 [diff] |
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>