]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pwm: make the PWM_POLARITY flag in DTB optional
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 12 Jun 2014 11:37:52 +0000 (13:37 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 4 Jul 2014 10:36:04 +0000 (12:36 +0200)
commitbc0b9176bda32facbe12fda47b2bb49645907096
tree77856cb7a537448bc0c158e2939c9f5b11c0b20f
parent76232ab56d0cf751be0cad282910d19f91cf64b8
pwm: make the PWM_POLARITY flag in DTB optional

Change the pwm chip driver registration, so that a chip driver that
supports polarity inversion can still be used with DTBs that don't
provide the 'PWM_POLARITY' flag.

This is done to provide polarity inversion support for the pwm-imx
driver without having to modify all existing DTS files.
drivers/pwm/core.c
drivers/pwm/pwm-atmel-tcb.c
drivers/pwm/pwm-atmel.c
drivers/pwm/pwm-pxa.c
drivers/pwm/pwm-renesas-tpu.c
drivers/pwm/pwm-samsung.c
drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiehrpwm.c
drivers/pwm/pwm-vt8500.c
include/linux/pwm.h