diff options
author | Lothar Wassmann <LW@KARO-electronics.de> | 2017-01-29 22:54:13 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-30 09:13:34 +0100 |
commit | 42883cbc086b3f7aca9f1754f2d570af922825fc (patch) | |
tree | d018cdca3c54ecb93f5e58786432edcb5040a2f3 /drivers/powercap | |
parent | pwm: Print error messages with pr_err() instead of pr_debug() (diff) | |
download | linux-42883cbc086b3f7aca9f1754f2d570af922825fc.tar.xz linux-42883cbc086b3f7aca9f1754f2d570af922825fc.zip |
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 polarity flag as part of the specifier.
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 Wassmann <LW@KARO-electronics.de>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Suggested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions