2019-05-19 13:07:45 +01:00
# SPDX-License-Identifier: GPL-2.0-only
2007-07-15 23:39:39 -07:00
menuconfig W1
2005-04-16 15:20:36 -07:00
tristate "Dallas's 1-wire support"
2007-07-15 23:39:39 -07:00
depends on HAS_IOMEM
2005-04-16 15:20:36 -07:00
---help---
2006-04-03 12:01:12 +04:00
Dallas' 1-wire bus is useful to connect slow 1-pin devices
2005-04-16 15:20:36 -07:00
such as iButtons and thermal sensors.
2005-05-20 22:33:25 +04:00
2005-04-16 15:20:36 -07:00
If you want W1 support, you should say Y here.
This W1 support can also be built as a module. If so, the module
2009-06-05 00:44:53 +02:00
will be called wire.
2005-04-16 15:20:36 -07:00
2007-07-15 23:39:39 -07:00
if W1
2006-04-03 12:01:12 +04:00
config W1_CON
2007-07-15 23:39:39 -07:00
depends on CONNECTOR
2006-04-03 12:01:12 +04:00
bool "Userspace communication over connector"
default y
2012-05-07 11:14:59 +02:00
---help---
2007-10-30 13:37:19 -07:00
This allows to communicate with userspace using connector. For more
information see <file:Documentation/connector/connector.txt>.
2006-04-03 12:01:12 +04:00
There are three types of messages between w1 core and userspace:
1. Events. They are generated each time new master or slave device found
either due to automatic or requested search.
2006-10-03 22:31:37 +02:00
2. Userspace commands. Includes read/write and search/alarm search commands.
2006-04-03 12:01:12 +04:00
3. Replies to userspace commands.
2018-12-11 20:01:04 +09:00
source "drivers/w1/masters/Kconfig"
source "drivers/w1/slaves/Kconfig"
2005-08-17 15:24:37 +04:00
2007-07-15 23:39:39 -07:00
endif # W1