android_kernel_xiaomi_sm8350/drivers/w1/slaves
Daniel Mack cef437e3a9 w1: ds2760_battery: add support for sleep mode feature
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>
2009-06-08 23:25:17 +04:00
..
Kconfig w1: add missing Kconfig/Makefile entries for DS2431 slave driver 2009-02-27 16:26:21 -08:00
Makefile w1: add missing Kconfig/Makefile entries for DS2431 slave driver 2009-02-27 16:26:21 -08:00
w1_bq27000.c hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
w1_ds2431.c w1: new driver. DS2431 chip 2008-10-16 11:21:51 -07:00
w1_ds2433.c w1_ds2433: clear the validcrc flag after a write 2009-02-27 16:26:20 -08:00
w1_ds2760.c w1: ds2760: add support for EEPROM read and write 2009-06-08 23:25:17 +04:00
w1_ds2760.h w1: ds2760_battery: add support for sleep mode feature 2009-06-08 23:25:17 +04:00
w1_smem.c
w1_therm.c w1: w1 temp calculation overflow fix 2009-02-11 14:25:37 -08:00