All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH V2] hwmon:lm75 add support for the Analog
Date: Thu, 13 Oct 2011 08:46:47 +0000	[thread overview]
Message-ID: <4E96A577.8070801@cam.ac.uk> (raw)
In-Reply-To: <1318495411-20399-1-git-send-email-michael.hennerich@analog.com>

On 10/13/11 09:43, michael.hennerich@analog.com wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
> 
> Changes since V1:
> 
> Remove depreciated ADT75 device detection support.
> The ADT75, like some other LM75 derivatives needs to be instantiated
> using methods 1,2 or 4.
> For more information see Documentation/i2c/instantiating-devices.
> 
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
(For what it is worth on a now obvious trivial patch!)
> ---
>  Documentation/hwmon/lm75 |    5 +++++
>  drivers/hwmon/Kconfig    |    1 +
>  drivers/hwmon/lm75.c     |    2 ++
>  3 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/hwmon/lm75 b/Documentation/hwmon/lm75
> index a179040..8d40d0f 100644
> --- a/Documentation/hwmon/lm75
> +++ b/Documentation/hwmon/lm75
> @@ -32,6 +32,11 @@ Supported chips:
>      Addresses scanned: I2C 0x48 - 0x4f
>      Datasheet: Publicly available at the Microchip website
>                 http://www.microchip.com/
> +  * Analog Devices ADT75
> +    Prefix: 'adt75'
> +    Addresses scanned: I2C 0x48 - 0x4f
> +    Datasheet: Publicly available at the Analog Devices website
> +               http://www.analog.com/adt75
> 
>  Author: Frodo Looijaard <frodol@dds.nl>
> 
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index 0b62c3c..497fd14 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -531,6 +531,7 @@ config SENSORS_LM75
>  	  If you say yes here you get support for one common type of
>  	  temperature sensor chip, with models including:
> 
> +		- Analog Devices ADT75
>  		- Dallas Semiconductor DS75 and DS1775
>  		- Maxim MAX6625 and MAX6626
>  		- Microchip MCP980x
> diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
> index ef902d5..669481b 100644
> --- a/drivers/hwmon/lm75.c
> +++ b/drivers/hwmon/lm75.c
> @@ -35,6 +35,7 @@
>   */
> 
>  enum lm75_type {		/* keep sorted in alphabetical order */
> +	adt75,
>  	ds1775,
>  	ds75,
>  	lm75,
> @@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
>  }
> 
>  static const struct i2c_device_id lm75_ids[] = {
> +	{ "adt75", adt75, },
>  	{ "ds1775", ds1775, },
>  	{ "ds75", ds75, },
>  	{ "lm75", lm75, },
> --
> 1.7.0.4
> 
> 


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

  reply	other threads:[~2011-10-13  8:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13  8:43 [lm-sensors] [PATCH V2] hwmon:lm75 add support for the Analog michael.hennerich
2011-10-13  8:46 ` Jonathan Cameron [this message]
2011-10-13  8:47 ` Jean Delvare
2011-10-13 15:12 ` 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=4E96A577.8070801@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --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.