mbox series

[0/2] hwmon: (adt7475): inverted PWM output

Message ID 20181107040010.27436-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series hwmon: (adt7475): inverted PWM output | expand

Message

Chris Packham Nov. 7, 2018, 4 a.m. UTC
Hi,

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     | 22 +++++++++++++++++++
 .../devicetree/bindings/trivial-devices.txt   |  4 ----
 drivers/hwmon/adt7475.c                       | 17 ++++++++++++++
 3 files changed, 39 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adt7475.txt