diff options
author | Jean-Francois Dagenais <jeff.dagenais@gmail.com> | 2013-07-04 00:09:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:08:06 +0200 |
commit | d5528773e68e35512f69dd574e25d8c81e7d3105 (patch) | |
tree | 303e9e88c3f97edd17f625b0f88562967e70491b /drivers/w1/w1_int.c | |
parent | drivers/memstick/host/r592.c: convert to module_pci_driver (diff) | |
download | linux-d5528773e68e35512f69dd574e25d8c81e7d3105.tar.xz linux-d5528773e68e35512f69dd574e25d8c81e7d3105.zip |
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>
Diffstat (limited to 'drivers/w1/w1_int.c')
0 files changed, 0 insertions, 0 deletions