^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig W1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate "Dallas's 1-wire support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Dallas' 1-wire bus is useful to connect slow 1-pin devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) such as iButtons and thermal sensors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) If you want W1 support, you should say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) This W1 support can also be built as a module. If so, the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) will be called wire.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) if W1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config W1_CON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on CONNECTOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) bool "Userspace communication over connector"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) This allows to communicate with userspace using connector. For more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) information see <file:Documentation/driver-api/connector.rst>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) There are three types of messages between w1 core and userspace:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 1. Events. They are generated each time new master or slave device found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) either due to automatic or requested search.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 2. Userspace commands. Includes read/write and search/alarm search commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 3. Replies to userspace commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) source "drivers/w1/masters/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) source "drivers/w1/slaves/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) endif # W1