linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Packham <chris.packham@alliedtelesis.co.nz>
To: linux@roeck-us.net, robh+dt@kernel.org, jdelvare@suse.com
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Chris Packham <chris.packham@alliedtelesis.co.nz>
Subject: [PATCH 0/2] hwmon: (adt7475): inverted PWM output
Date: Wed,  7 Nov 2018 17:00:08 +1300	[thread overview]
Message-ID: <20181107040010.27436-1-chris.packham@alliedtelesis.co.nz> (raw)

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

-- 
2.19.1

             reply	other threads:[~2018-11-07 13:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07  4:00 Chris Packham [this message]
2018-11-07  4:00 ` [PATCH 1/2] dt-bindings: hwmon: add binding documentation for adt7475 Chris Packham
2018-11-07  4:24   ` Guenter Roeck
2018-11-07  4:27     ` Chris Packham
2018-11-07  5:07       ` Guenter Roeck
2018-11-08 19:55         ` Chris Packham
2018-11-07  4:00 ` [PATCH 2/2] hwmon: (adt7475): add support for inverting the pwm output Chris Packham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181107040010.27436-1-chris.packham@alliedtelesis.co.nz \
    --to=chris.packham@alliedtelesis.co.nz \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH 0/2] hwmon: (adt7475): inverted PWM output' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).