18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_cimenuconfig W1 38c2ecf20Sopenharmony_ci tristate "Dallas's 1-wire support" 48c2ecf20Sopenharmony_ci depends on HAS_IOMEM 58c2ecf20Sopenharmony_ci help 68c2ecf20Sopenharmony_ci Dallas' 1-wire bus is useful to connect slow 1-pin devices 78c2ecf20Sopenharmony_ci such as iButtons and thermal sensors. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci If you want W1 support, you should say Y here. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci This W1 support can also be built as a module. If so, the module 128c2ecf20Sopenharmony_ci will be called wire. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciif W1 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciconfig W1_CON 178c2ecf20Sopenharmony_ci depends on CONNECTOR 188c2ecf20Sopenharmony_ci bool "Userspace communication over connector" 198c2ecf20Sopenharmony_ci default y 208c2ecf20Sopenharmony_ci help 218c2ecf20Sopenharmony_ci This allows to communicate with userspace using connector. For more 228c2ecf20Sopenharmony_ci information see <file:Documentation/driver-api/connector.rst>. 238c2ecf20Sopenharmony_ci There are three types of messages between w1 core and userspace: 248c2ecf20Sopenharmony_ci 1. Events. They are generated each time new master or slave device found 258c2ecf20Sopenharmony_ci either due to automatic or requested search. 268c2ecf20Sopenharmony_ci 2. Userspace commands. Includes read/write and search/alarm search commands. 278c2ecf20Sopenharmony_ci 3. Replies to userspace commands. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_cisource "drivers/w1/masters/Kconfig" 308c2ecf20Sopenharmony_cisource "drivers/w1/slaves/Kconfig" 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciendif # W1 33