Skip to content
Commit 57e77754 authored by Stefan Mavrodiev's avatar Stefan Mavrodiev Committed by Anatolij Gustschin
Browse files

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: default avatarStefan Mavrodiev <stefan@olimex.com>
Reviewed-by: default avatarAnatolij Gustschin <agust@denx.de>
parent cf5eebeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment