162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig W1
362306a36Sopenharmony_ci	tristate "Dallas's 1-wire support"
462306a36Sopenharmony_ci	depends on HAS_IOMEM
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  Dallas' 1-wire bus is useful to connect slow 1-pin devices
762306a36Sopenharmony_ci	  such as iButtons and thermal sensors.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	  If you want W1 support, you should say Y here.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci	  This W1 support can also be built as a module.  If so, the module
1262306a36Sopenharmony_ci	  will be called wire.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciif W1
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig W1_CON
1762306a36Sopenharmony_ci	depends on CONNECTOR
1862306a36Sopenharmony_ci	bool "Userspace communication over connector"
1962306a36Sopenharmony_ci	default y
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  This allows to communicate with userspace using connector. For more
2262306a36Sopenharmony_ci	  information see <file:Documentation/driver-api/connector.rst>.
2362306a36Sopenharmony_ci	  There are three types of messages between w1 core and userspace:
2462306a36Sopenharmony_ci	  1. Events. They are generated each time new master or slave device found
2562306a36Sopenharmony_ci		either due to automatic or requested search.
2662306a36Sopenharmony_ci	  2. Userspace commands. Includes read/write and search/alarm search commands.
2762306a36Sopenharmony_ci	  3. Replies to userspace commands.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_cisource "drivers/w1/masters/Kconfig"
3062306a36Sopenharmony_cisource "drivers/w1/slaves/Kconfig"
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciendif # W1
33