hwmon: (adt7475) Add support for inverting pwm output
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 27 Feb 2020 08:46:42 +0000 (21:46 +1300)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 9 Mar 2020 03:35:48 +0000 (20:35 -0700)
commit86da28eed4fbc64dfdc386337f6cbac36c9c1ed2
treed456e32a696fda4bc1862664779e677072bb10ad
parent2ecff39791bd3b33c8dcf0d241fa740dba7b79e6
hwmon: (adt7475) Add support for inverting pwm output

Add a "adi,pwm-active-state" device-tree property to allow hardware
designs to use inverted logic on the PWM output.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
[groeck: dev_err -> dev_warn]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c