All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ira W. Snyder" <iws@ovro.caltech.edu>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 0/2]: hwmon: allow setting update rate from
Date: Wed, 07 Apr 2010 20:21:58 +0000	[thread overview]
Message-ID: <1270671720-1575-1-git-send-email-iws@ovro.caltech.edu> (raw)

This is an experimental patch to set the update rate from userspace. An
example implementation is provided for the adm1031 driver.

I think the modifications to the adm1031 driver turned out pretty ugly. I'd
be happy to drop the first patch and the userspace support from the second
patch.  I would keep just the parts that read the update rate from the chip
and use that during chip updates.

I can make my bootloader responsible for setting the update rate
appropriately in this case. The adm1031 driver will then use the programmed
update rate. The side effect to this is that a user cannot use i2cset to
change the update rate after the kernel has booted, if the driver is
built-in.

Thanks,
Ira

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

             reply	other threads:[~2010-04-07 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 20:21 Ira W. Snyder [this message]
2010-04-13 22:54 ` [lm-sensors] [PATCH 0/2]: hwmon: allow setting update rate from Ira W. Snyder
2010-04-14  6:51 ` Jean Delvare

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=1270671720-1575-1-git-send-email-iws@ovro.caltech.edu \
    --to=iws@ovro.caltech.edu \
    --cc=lm-sensors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.