1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2012bfdf0SJan Engelhardtmenuconfig W1 31da177e4SLinus Torvalds tristate "Dallas's 1-wire support" 4012bfdf0SJan Engelhardt depends on HAS_IOMEM 51da177e4SLinus Torvalds ---help--- 646e07f6eSEvgeniy Polyakov Dallas' 1-wire bus is useful to connect slow 1-pin devices 71da177e4SLinus Torvalds such as iButtons and thermal sensors. 81da177e4SLinus Torvalds 91da177e4SLinus Torvalds If you want W1 support, you should say Y here. 101da177e4SLinus Torvalds 111da177e4SLinus Torvalds This W1 support can also be built as a module. If so, the module 124737f097SPavel Machek will be called wire. 131da177e4SLinus Torvalds 14012bfdf0SJan Engelhardtif W1 15012bfdf0SJan Engelhardt 1646e07f6eSEvgeniy Polyakovconfig W1_CON 17012bfdf0SJan Engelhardt depends on CONNECTOR 1846e07f6eSEvgeniy Polyakov bool "Userspace communication over connector" 1946e07f6eSEvgeniy Polyakov default y 2046e07f6eSEvgeniy Polyakov ---help--- 21e403149cSDirk Hohndel This allows to communicate with userspace using connector. For more 22e403149cSDirk Hohndel information see <file:Documentation/connector/connector.txt>. 2346e07f6eSEvgeniy Polyakov There are three types of messages between w1 core and userspace: 2446e07f6eSEvgeniy Polyakov 1. Events. They are generated each time new master or slave device found 2546e07f6eSEvgeniy Polyakov either due to automatic or requested search. 2609509603SMatt LaPlante 2. Userspace commands. Includes read/write and search/alarm search commands. 2746e07f6eSEvgeniy Polyakov 3. Replies to userspace commands. 2846e07f6eSEvgeniy Polyakov 298636a1f9SMasahiro Yamadasource "drivers/w1/masters/Kconfig" 308636a1f9SMasahiro Yamadasource "drivers/w1/slaves/Kconfig" 310a25e4d5SEvgeniy Polyakov 32012bfdf0SJan Engelhardtendif # W1 33