All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [patch 2.6.23-rc6] lm75: new-style i2c binding,
Date: Mon, 24 Sep 2007 17:07:00 +0000	[thread overview]
Message-ID: <20070924190700.18e232b4@hyperion.delvare> (raw)
In-Reply-To: <20070916234519.861D3C24EE@adsl-69-226-248-13.dsl.pltn13.pacbell.net>

Hi David,

On Sun, 16 Sep 2007 16:45:19 -0700, David Brownell wrote:
> Updates and cleanups for lm75:
> 
>  - Update the LM75 driver to handle new-style I2C driver binding
>    (following the driver model).
> 
>  - Use 12 bit resolution (1/16 degree C) on chips that support it,
>    instead of 9 bit (1/2 degree C);  needs new conversion routines.
> 
>  - Grow the list of compatible chips; update Kconfig accordingly.
> 
>  - On driver disconnect, restore the original device config (which
>    usually means shutdown).
> 
>  - Some code cleanups:  a handful of whitespace fixes, and clearly
>    marking the various driver components (sysfs/hwmon attributes,
>    driver core support, legacy stuff, register access, module glue).

This is crying for at least two separate patches, and ideally more like
3 or 4.

Additionally, I can't apply your patch to my tree. Presumably you are
missing recent patches that went into Mark's hwmon-testing tree and
which affect the lm75 driver:

hwmon: Allow writing of negative trigger temperatures
http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=commit;h¡efde3fd7b3d94c942b1a675da992c8a2f1f04b

hwmon: Convert from class_device to device
http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=commit;hø9523a27def89ddc74d094a0910970f6a1c6f43

If you split your patch and make sure that the result applies on top of
the above patches, I'll be happy to review and test your work.

> The way to kick in higher sample resolution on a given board is to
> use the new style binding to pass in the chip type.
> 
> One temporary omission:  IRQ support, or for the TI chips SMBALERT#
> notifications.

-- 
Jean Delvare

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

  reply	other threads:[~2007-09-24 17:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16 23:45 [lm-sensors] [patch 2.6.23-rc6] lm75: new-style i2c binding, cleanup David Brownell
2007-09-24 17:07 ` Jean Delvare [this message]
2007-09-24 20:18 ` [lm-sensors] [patch 2.6.23-rc6] lm75: new-style i2c binding, David Brownell
2007-09-25  5:12 ` David Brownell
2007-09-25  9:24 ` Jean Delvare
2007-10-07 18:57 ` Mark M. Hoffman
2007-10-07 20:45 ` 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=20070924190700.18e232b4@hyperion.delvare \
    --to=khali@linux-fr.org \
    --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.