0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig W1
0003 tristate "Dallas's 1-wire support"
0004 depends on HAS_IOMEM
0005 help
0006 Dallas' 1-wire bus is useful to connect slow 1-pin devices
0007 such as iButtons and thermal sensors.
0008
0009 If you want W1 support, you should say Y here.
0010
0011 This W1 support can also be built as a module. If so, the module
0012 will be called wire.
0013
0014 if W1
0015
0016 config W1_CON
0017 depends on CONNECTOR
0018 bool "Userspace communication over connector"
0019 default y
0020 help
0021 This allows to communicate with userspace using connector. For more
0022 information see <file:Documentation/driver-api/connector.rst>.
0023 There are three types of messages between w1 core and userspace:
0024 1. Events. They are generated each time new master or slave device found
0025 either due to automatic or requested search.
0026 2. Userspace commands. Includes read/write and search/alarm search commands.
0027 3. Replies to userspace commands.
0028
0029 source "drivers/w1/masters/Kconfig"
0030 source "drivers/w1/slaves/Kconfig"
0031
0032 endif # W1