1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig W1 3 tristate "Dallas's 1-wire support" 4 depends on HAS_IOMEM 5 ---help--- 6 Dallas' 1-wire bus is useful to connect slow 1-pin devices 7 such as iButtons and thermal sensors. 8 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 12 will be called wire. 13 14if W1 15 16config W1_CON 17 depends on CONNECTOR 18 bool "Userspace communication over connector" 19 default y 20 ---help--- 21 This allows to communicate with userspace using connector. For more 22 information see <file:Documentation/connector/connector.rst>. 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. 26 2. Userspace commands. Includes read/write and search/alarm search commands. 27 3. Replies to userspace commands. 28 29source "drivers/w1/masters/Kconfig" 30source "drivers/w1/slaves/Kconfig" 31 32endif # W1 33