summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-tipwmss.c
diff options
context:
space:
mode:
authorPhilip, Avinash <avinashphilip@ti.com>2012-11-21 07:40:44 (GMT)
committerThierry Reding <thierry.reding@avionic-design.de>2012-11-22 21:47:12 (GMT)
commit83af24027b3df1af5c5a9aa9adcdcfeb3429d3be (patch)
tree3e104ed41554bb7e97378cc7cc3866c842306dff /drivers/pwm/pwm-tipwmss.c
parent422470a8265fbb1d182c00ab2421f4b416ab2dba (diff)
downloadlinux-fsl-qoriq-83af24027b3df1af5c5a9aa9adcdcfeb3429d3be.tar.xz
pwm: Device tree support for PWM polarity
Add support for encoding PWM properties in bit encoded form with of_pwm_xlate_with_flags() function support. Platforms require platform specific PWM properties has to populate in 3rd cell of the pwm-specifier and PWM driver should also set .of_xlate support with this function. Currently PWM property polarity encoded in bit position 0 of the third cell in pwm-specifier. Signed-off-by: Philip, Avinash <avinashphilip@ti.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/pwm-tipwmss.c')
0 files changed, 0 insertions, 0 deletions