blob: fd2c7bd9dfbeea439c142ec1477b7e2ff2811f2b [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
Pavel Machek4737f092009-06-05 00:44:53 +020011 will be called wire.
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
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 ---
Dirk Hohndele4031492007-10-30 13:37:19 -070020 This allows to communicate with userspace using connector. For more
21 information see <file:Documentation/connector/connector.txt>.
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +040022 There are three types of messages between w1 core and userspace:
23 1. Events. They are generated each time new master or slave device found
24 either due to automatic or requested search.
Matt LaPlante09509602006-10-03 22:31:37 +020025 2. Userspace commands. Includes read/write and search/alarm search commands.
Evgeniy Polyakov46e07f62006-04-03 12:01:12 +040026 3. Replies to userspace commands.
27
Evgeniy Polyakovbd529cf2005-12-06 13:38:28 +030028source drivers/w1/masters/Kconfig
29source drivers/w1/slaves/Kconfig
Evgeniy Polyakov0a25e4d2005-08-17 15:24:37 +040030
Jan Engelhardt012bfdf2007-07-15 23:39:39 -070031endif # W1