blob: 6854fd6b9714a2a03752f70becce39d4780f6147 [file] [log] [blame]
Jan Engelhardt012bfdf2007-07-15 23:39:39 -07001menuconfig W1
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 tristate "Dallas's 1-wire support"
Jan Engelhardt012bfdf2007-07-15 23:39:39 -07003 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 ---help---
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +04005 Dallas' 1-wire bus is useful to connect slow 1-pin devices
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 such as iButtons and thermal sensors.
Evgeniy Polyakov77859252005-05-20 22:33:25 +04007
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 If you want W1 support, you should say Y here.
9
10 This W1 support can also be built as a module. If so, the module
11 will be called wire.ko.
12
Jan Engelhardt012bfdf2007-07-15 23:39:39 -070013if W1
14
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +040015config W1_CON
Jan Engelhardt012bfdf2007-07-15 23:39:39 -070016 depends on CONNECTOR
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +040017 bool "Userspace communication over connector"
18 default y
19 --- help ---
20 This allows to communicate with userspace using connector [Documentation/connector].
21 There are three types of messages between w1 core and userspace:
22 1. Events. They are generated each time new master or slave device found
23 either due to automatic or requested search.
Matt LaPlante09509602006-10-03 22:31:37 +020024 2. Userspace commands. Includes read/write and search/alarm search commands.
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +040025 3. Replies to userspace commands.
26
Evgeniy Polyakovbd529cf2005-12-06 13:38:28 +030027source drivers/w1/masters/Kconfig
28source drivers/w1/slaves/Kconfig
Evgeniy Polyakov0a25e4d2005-08-17 15:24:37 +040029
Jan Engelhardt012bfdf2007-07-15 23:39:39 -070030endif # W1