summaryrefslogtreecommitdiff
path: root/drivers/w1/slaves/Kconfig
diff options
context:
space:
mode:
authorJean-Francois Dagenais <jeff.dagenais@gmail.com>2013-03-15 14:20:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 12:15:02 -0700
commitaceca2854498de7384ee7b44d8eb7820fd4c7f16 (patch)
treee48272e0dbb1e32ba947fbf9e6df6adea8860a26 /drivers/w1/slaves/Kconfig
parent96dd86fa588169b745a71aedf2070e80f4943623 (diff)
w1: ds2408: make value read-back check a Kconfig option
De-activating this reading back will effectively half the time required for a write to the output register. Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/slaves/Kconfig')
-rw-r--r--drivers/w1/slaves/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig
index 762561fbabbf..5e6a3c9e510b 100644
--- a/drivers/w1/slaves/Kconfig
+++ b/drivers/w1/slaves/Kconfig
@@ -22,6 +22,16 @@ config W1_SLAVE_DS2408
Say Y here if you want to use a 1-wire
DS2408 8-Channel Addressable Switch device support
+config W1_SLAVE_DS2408_READBACK
+ bool "Read-back values written to DS2408's output register"
+ depends on W1_SLAVE_DS2408
+ default y
+ help
+ Enabling this will cause the driver to read back the values written
+ to the chip's output register in order to detect errors.
+
+ This is slower but useful when debugging chips and/or busses.
+
config W1_SLAVE_DS2413
tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
help