Commit d91aae1e52e5289a94f4ddff968decfc8d37271e

Authored by Guenter Roeck
1 parent ff71c182f4

hwmon: (max16065) Add chip access warning to documentation

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>
Acked-by: Jean Delvare <khali@linux-fr.org>

Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff

Documentation/hwmon/max16065
... ... @@ -62,6 +62,13 @@
62 62 the devices explicitly. Please see Documentation/i2c/instantiating-devices for
63 63 details.
64 64  
  65 +WARNING: Do not access chip registers using the i2cdump command, and do not use
  66 +any of the i2ctools commands on a command register (0xa5 to 0xac). The chips
  67 +supported by this driver interpret any access to a command register (including
  68 +read commands) as request to execute the command in question. This may result in
  69 +power loss, board resets, and/or Flash corruption. Worst case, your board may
  70 +turn into a brick.
  71 +
65 72  
66 73 Sysfs entries
67 74 -------------