w1: ds2760_battery: add support for sleep mode feature
authorDaniel Mack <daniel@caiaq.de>
Tue, 28 Apr 2009 08:55:02 +0000 (10:55 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Mon, 8 Jun 2009 19:25:17 +0000 (23:25 +0400)
This adds support for ds2760's sleep mode feature. With this feature
enabled, the chip enters a deep sleep mode and disconnects from the
battery when the w1 line is held down for more than 2 seconds.

This new behaviour can be switched on and off using a new module
parameter.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Szabolcs Gyurko <szabolcs.gyurko@tlt.hu>
Acked-by: Matt Reimer <mreimer@vpop.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

No differences found