2007-07-16 10:39:39 +04:00
|
|
|
menuconfig W1
|
2005-04-17 02:20:36 +04:00
|
|
|
tristate "Dallas's 1-wire support"
|
2007-07-16 10:39:39 +04:00
|
|
|
depends on HAS_IOMEM
|
2005-04-17 02:20:36 +04:00
|
|
|
---help---
|
2006-04-03 12:01:12 +04:00
|
|
|
Dallas' 1-wire bus is useful to connect slow 1-pin devices
|
2005-04-17 02:20:36 +04:00
|
|
|
such as iButtons and thermal sensors.
|
2005-05-20 22:33:25 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
If you want W1 support, you should say Y here.
|
|
|
|
|
|
|
|
This W1 support can also be built as a module. If so, the module
|
2009-06-05 02:44:53 +04:00
|
|
|
will be called wire.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2007-07-16 10:39:39 +04:00
|
|
|
if W1
|
|
|
|
|
2006-04-03 12:01:12 +04:00
|
|
|
config W1_CON
|
2007-07-16 10:39:39 +04:00
|
|
|
depends on CONNECTOR
|
2006-04-03 12:01:12 +04:00
|
|
|
bool "Userspace communication over connector"
|
|
|
|
default y
|
2012-05-07 13:14:59 +04:00
|
|
|
---help---
|
2007-10-30 23:37:19 +03:00
|
|
|
This allows to communicate with userspace using connector. For more
|
|
|
|
information see <file:Documentation/connector/connector.txt>.
|
2006-04-03 12:01:12 +04:00
|
|
|
There are three types of messages between w1 core and userspace:
|
|
|
|
1. Events. They are generated each time new master or slave device found
|
|
|
|
either due to automatic or requested search.
|
2006-10-04 00:31:37 +04:00
|
|
|
2. Userspace commands. Includes read/write and search/alarm search commands.
|
2006-04-03 12:01:12 +04:00
|
|
|
3. Replies to userspace commands.
|
|
|
|
|
2018-12-11 14:01:04 +03:00
|
|
|
source "drivers/w1/masters/Kconfig"
|
|
|
|
source "drivers/w1/slaves/Kconfig"
|
2005-08-17 15:24:37 +04:00
|
|
|
|
2007-07-16 10:39:39 +04:00
|
|
|
endif # W1
|