From: Guenter Roeck <linux@roeck-us.net>
To: Chris Packham <Chris.Packham@alliedtelesis.co.nz>
Cc: "linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>
Subject: Re: Enabling enhanced acoustics on adt7475
Date: Mon, 1 May 2017 12:16:05 -0700 [thread overview]
Message-ID: <20170501191605.GA17410@roeck-us.net> (raw)
In-Reply-To: <5b96df9d2ea649daa5f5b8a3896280c4@svr-chch-ex1.atlnz.lc>
On Mon, May 01, 2017 at 08:45:14AM +0000, Chris Packham wrote:
> Hi,
>
> I'm looking at adding code to configure the enhanced acoustics on the
> ADT7475 and compatible devices.
>
> I'm wondering if I should be adding these as device-tree properties or
> as sysfs attributes. And in either case how these properties/attributes
> should behave. The main impact of this would be to provide a mechanism
> for configuring how fast the pwm output will change.
>
> The fact that I wrote "configuring" above makes me lean towards sysfs
> attributes. Nothing in Documentation/hwmon/sysfs-interface really covers
Definitely. This does not describe hardware.
> this. dme1737.c has a pwmN_ramp_rate which would seem close to what I
> want. Is there any other precedent I should follow?
>
There is pwmX_step but that does not describe a ramp rate in time.
dme1737.c indeed seems to be the closest match. Nothing else I can think of.
Guenter
next prev parent reply other threads:[~2017-05-01 19:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 8:45 Enabling enhanced acoustics on adt7475 Chris Packham
2017-05-01 19:16 ` Guenter Roeck [this message]
2017-05-02 3:45 ` Chris Packham
2017-05-02 4:57 ` Guenter Roeck
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=20170501191605.GA17410@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Chris.Packham@alliedtelesis.co.nz \
--cc=linux-hwmon@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox