All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421 driver
@ 2009-06-15  7:43 Andre Prendel
  2009-06-16 11:48 ` [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421 Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Prendel @ 2009-06-15  7:43 UTC (permalink / raw)
  To: lm-sensors

This patch adds documentation for driver tmp421.

Signed-off-by: Andre Prendel <andre.prendel@gmx.de>
---
 tmp421 |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Index: linux-2.6/Documentation/hwmon/tmp421
=================================--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6/Documentation/hwmon/tmp421	2009-06-11 21:50:46.000000000 +0200
@@ -0,0 +1,36 @@
+Kernel driver tmp421
+==========
+
+Supported chips:
+  * Texas Instruments TMP421
+    Prefix: 'tmp421'
+    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
+    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
+  * Texas Instruments TMP422
+    Prefix: 'tmp422'
+    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
+    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
+  * Texas Instruments TMP423
+    Prefix: 'tmp423'
+    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
+    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
+
+Authors:
+	Andre Prendel <andre.prendel@gmx.de>
+
+Description
+-----------
+
+This driver implements support for Texas Instruments TMP421, TMP422
+and TMP423 temperature sensor chips. These chips implements one local
+and up to one (TMP421), up to two (TMP422) or up to three (TMP423)
+remote sensors. Temperature is measured in degrees Celsius. The chips
+are wired over I2C/SMBus and specified over a temperature range of
+-40°C to +125°C. Resolution for both the local and remote channels is
+0.0625°C.
+
+The chips supports only temperature measurement and exports these
+values via following sysfs-interface:
+
+temp[1-4]_input
+temp[2-4]_fault

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421
  2009-06-15  7:43 [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421 driver Andre Prendel
@ 2009-06-16 11:48 ` Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2009-06-16 11:48 UTC (permalink / raw)
  To: lm-sensors

On Mon, 15 Jun 2009 09:43:39 +0200, Andre Prendel wrote:
> This patch adds documentation for driver tmp421.
> 
> Signed-off-by: Andre Prendel <andre.prendel@gmx.de>
> ---
>  tmp421 |   36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> Index: linux-2.6/Documentation/hwmon/tmp421
> =================================> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
> +++ linux-2.6/Documentation/hwmon/tmp421	2009-06-11 21:50:46.000000000 +0200
> @@ -0,0 +1,36 @@
> +Kernel driver tmp421
> +==========
> +
> +Supported chips:
> +  * Texas Instruments TMP421
> +    Prefix: 'tmp421'
> +    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
> +    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
> +  * Texas Instruments TMP422
> +    Prefix: 'tmp422'
> +    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
> +    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
> +  * Texas Instruments TMP423
> +    Prefix: 'tmp423'
> +    Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
> +    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
> +
> +Authors:
> +	Andre Prendel <andre.prendel@gmx.de>
> +
> +Description
> +-----------
> +
> +This driver implements support for Texas Instruments TMP421, TMP422
> +and TMP423 temperature sensor chips. These chips implements one local

Spelling: implement.

> +and up to one (TMP421), up to two (TMP422) or up to three (TMP423)
> +remote sensors. Temperature is measured in degrees Celsius. The chips
> +are wired over I2C/SMBus and specified over a temperature range of
> +-40°C to +125°C. Resolution for both the local and remote channels is
> +0.0625°C.

The degree symbol is not ASCII, I'd suggest spelling it "degree C" to
avoid charset headaches.

> +
> +The chips supports only temperature measurement and exports these

Spelling: support. Also, the drivers exports the values to sysfs, not
the chips.

> +values via following sysfs-interface:
> +
> +temp[1-4]_input
> +temp[2-4]_fault

Maybe you could add a section explaining that not all possible
addresses are probed by default, why and how to work around it if
needed.

-- 
Jean Delvare

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-16 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15  7:43 [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421 driver Andre Prendel
2009-06-16 11:48 ` [lm-sensors] [PATCH 2/2] hwmon: Add documentation for tmp421 Jean Delvare

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.