diff options
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r-- | drivers/w1/Kconfig | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig index 5e61ed59a41e..8b3d0f0c7bd5 100644 --- a/drivers/w1/Kconfig +++ b/drivers/w1/Kconfig | |||
@@ -2,8 +2,9 @@ menu "Dallas's 1-wire bus" | |||
2 | 2 | ||
3 | config W1 | 3 | config W1 |
4 | tristate "Dallas's 1-wire support" | 4 | tristate "Dallas's 1-wire support" |
5 | depends on CONNECTOR | ||
5 | ---help--- | 6 | ---help--- |
6 | Dallas's 1-wire bus is useful to connect slow 1-pin devices | 7 | Dallas' 1-wire bus is useful to connect slow 1-pin devices |
7 | such as iButtons and thermal sensors. | 8 | such as iButtons and thermal sensors. |
8 | 9 | ||
9 | If you want W1 support, you should say Y here. | 10 | If you want W1 support, you should say Y here. |
@@ -11,6 +12,18 @@ config W1 | |||
11 | This W1 support can also be built as a module. If so, the module | 12 | This W1 support can also be built as a module. If so, the module |
12 | will be called wire.ko. | 13 | will be called wire.ko. |
13 | 14 | ||
15 | config W1_CON | ||
16 | depends on CONNECTOR && W1 | ||
17 | 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. | ||
24 | 2. Userspace commands. Includes read/write and search/alarm search comamnds. | ||
25 | 3. Replies to userspace commands. | ||
26 | |||
14 | source drivers/w1/masters/Kconfig | 27 | source drivers/w1/masters/Kconfig |
15 | source drivers/w1/slaves/Kconfig | 28 | source drivers/w1/slaves/Kconfig |
16 | 29 | ||