[v2,0/2] hwmon: (adt7475): inverted PWM output
mbox series

Message ID 20181108225607.7521-1-chris.packham@alliedtelesis.co.nz
Headers show
  • hwmon: (adt7475): inverted PWM output
Related show


Chris Packham Nov. 8, 2018, 10:56 p.m. UTC

I have a hardware design that requires logic low PWM output. The adt7475
supports this but the current driver does not have any way of configuring this.
I've gone with a device-tree property as this is an artifact of the hardware
design and not something that might be configured via sysfs.

Chris Packham (2):
  dt-bindings: hwmon: add binding documentation for adt7475
  hwmon: (adt7475): add support for inverting the pwm output

 .../devicetree/bindings/hwmon/adt7475.txt     | 24 ++++++++++++++++
 .../devicetree/bindings/trivial-devices.txt   |  4 ---
 drivers/hwmon/adt7475.c                       | 28 +++++++++++++++++++
 3 files changed, 52 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adt7475.txt