]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
012bfdf0 | 2 | menuconfig W1 |
1da177e4 | 3 | tristate "Dallas's 1-wire support" |
012bfdf0 | 4 | depends on HAS_IOMEM |
1da177e4 | 5 | ---help--- |
46e07f6e | 6 | Dallas' 1-wire bus is useful to connect slow 1-pin devices |
1da177e4 | 7 | such as iButtons and thermal sensors. |
7785925d | 8 | |
1da177e4 LT |
9 | If you want W1 support, you should say Y here. |
10 | ||
11 | This W1 support can also be built as a module. If so, the module | |
4737f097 | 12 | will be called wire. |
1da177e4 | 13 | |
012bfdf0 JE |
14 | if W1 |
15 | ||
46e07f6e | 16 | config W1_CON |
012bfdf0 | 17 | depends on CONNECTOR |
46e07f6e EP |
18 | bool "Userspace communication over connector" |
19 | default y | |
d132d7f6 | 20 | ---help--- |
e403149c DH |
21 | This allows to communicate with userspace using connector. For more |
22 | information see <file:Documentation/connector/connector.txt>. | |
46e07f6e EP |
23 | There are three types of messages between w1 core and userspace: |
24 | 1. Events. They are generated each time new master or slave device found | |
25 | either due to automatic or requested search. | |
09509603 | 26 | 2. Userspace commands. Includes read/write and search/alarm search commands. |
46e07f6e EP |
27 | 3. Replies to userspace commands. |
28 | ||
8636a1f9 MY |
29 | source "drivers/w1/masters/Kconfig" |
30 | source "drivers/w1/slaves/Kconfig" | |
0a25e4d5 | 31 | |
012bfdf0 | 32 | endif # W1 |