OpenCloudOS-Kernel/drivers/w1/slaves
Jean-Francois Dagenais d5528773e6 drivers/w1/slaves/w1_ds2408.c: add magic sequence to disable P0 test mode
Power-up timing

The DS2408 is sensitive to the power-on slew rate and can inadvertently
power up with a test mode feature enabled.  When this occurs, the P0 port
does not respond to the Channel Access Write command.  For most reliable
operation, it is recommended to disable the test mode after every power-on
reset using the Disable Test Mode sequence shown below.  The 64-bit ROM
code must be transmitted in the same bit sequence as with the Match ROM
command, i.e., least significant bit first.  This precaution is
recommended in parasite power mode (VCC pin connected to GND) as well as
with VCC power.

Disable Test Mode:
RST,PD,96h,<64-bit DS2408 ROM Code>,3Ch,RST,PD

[akpm@linux-foundation.org: don't use kerenldoc token to introduce a non-kerneldoc comment, tweak whitespace]
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:08:06 -07:00
..
Kconfig w1: ds2408: make value read-back check a Kconfig option 2013-03-15 12:15:02 -07:00
Makefile w1: add support for DS2413 Dual Channel Addressable Switch 2013-02-27 19:10:23 -08:00
w1_bq27000.c drivers/w1/slaves/w1_bq27000.c: fix the error handling in w1_bq27000_add_slave() 2013-04-30 17:04:08 -07:00
w1_ds28e04.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2408.c drivers/w1/slaves/w1_ds2408.c: add magic sequence to disable P0 test mode 2013-07-03 16:08:06 -07:00
w1_ds2413.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2423.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2431.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2433.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2760.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2760.h w1: ds2760_battery: add support for sleep mode feature 2009-06-08 23:25:17 +04:00
w1_ds2780.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2780.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2781.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_ds2781.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_smem.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00
w1_therm.c w1: add family based automatic module loading 2013-06-03 14:09:14 -07:00