]> 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>
Wed, 13 Aug 2014 05:38:57 +0000 (07:38 +0200)
commite4c9282c2f209f8ad15bbd53dc1ab522d7cda0ea
treef084fa5fbceba34d49b00ce81ba5b8f5e04a2d61
parent8f8835a109c0bbf15f19e9387d8732491384e033
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.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
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