All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH RFC] hwmon: (max16065) Add chip access warning
@ 2011-08-30  5:57 Guenter Roeck
  2011-08-30  7:14 ` [lm-sensors] [PATCH RFC] hwmon: (max16065) Add chip access Jean Delvare
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Guenter Roeck @ 2011-08-30  5:57 UTC (permalink / raw)
  To: lm-sensors

The chips supported by the max16065 driver should not be accessed using direct
i2ctools commands. Add warning to driver documentation to alert users.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
---
RFC: Do we want this kind of warning in driver documentation ?

 Documentation/hwmon/max16065 |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Documentation/hwmon/max16065 b/Documentation/hwmon/max16065
index 44b4f61..c11f64a 100644
--- a/Documentation/hwmon/max16065
+++ b/Documentation/hwmon/max16065
@@ -62,6 +62,13 @@ can be safely used to identify the chip. You will have to instantiate
 the devices explicitly. Please see Documentation/i2c/instantiating-devices for
 details.
 
+WARNING: Do not access chip registers using the i2cdump command, and do not use
+any of the i2ctools commands on a command register (0xa5 to 0xac). The chips
+supported by this driver interpret any access to a command register (including
+read commands) as request to execute the command in question. This may result in
+power loss, board resets, and/or Flash corruption. Worst case, your board may
+turn into a brick.
+
 
 Sysfs entries
 -------------
-- 
1.7.3.1


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

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

end of thread, other threads:[~2011-08-31  7:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30  5:57 [lm-sensors] [PATCH RFC] hwmon: (max16065) Add chip access warning Guenter Roeck
2011-08-30  7:14 ` [lm-sensors] [PATCH RFC] hwmon: (max16065) Add chip access Jean Delvare
2011-08-30 14:26 ` Guenter Roeck
2011-08-30 15:26 ` Jean Delvare
2011-08-30 16:13 ` Guenter Roeck
2011-08-31  7:45 ` 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.