2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2007-07-16 14:39:39 +08:00
|
|
|
menuconfig W1
|
2005-04-17 06:20:36 +08:00
|
|
|
tristate "Dallas's 1-wire support"
|
2007-07-16 14:39:39 +08:00
|
|
|
depends on HAS_IOMEM
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
2006-04-03 16:01:12 +08:00
|
|
|
Dallas' 1-wire bus is useful to connect slow 1-pin devices
|
2005-04-17 06:20:36 +08:00
|
|
|
such as iButtons and thermal sensors.
|
2005-05-21 02:33:25 +08:00
|
|
|
|
2005-04-17 06:20:36 +08: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 06:44:53 +08:00
|
|
|
will be called wire.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-07-16 14:39:39 +08:00
|
|
|
if W1
|
|
|
|
|
2006-04-03 16:01:12 +08:00
|
|
|
config W1_CON
|
2007-07-16 14:39:39 +08:00
|
|
|
depends on CONNECTOR
|
2006-04-03 16:01:12 +08:00
|
|
|
bool "Userspace communication over connector"
|
|
|
|
default y
|
2012-05-07 17:14:59 +08:00
|
|
|
---help---
|
2007-10-31 04:37:19 +08:00
|
|
|
This allows to communicate with userspace using connector. For more
|
|
|
|
information see <file:Documentation/connector/connector.txt>.
|
2006-04-03 16:01:12 +08: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-04 04:31:37 +08:00
|
|
|
2. Userspace commands. Includes read/write and search/alarm search commands.
|
2006-04-03 16:01:12 +08:00
|
|
|
3. Replies to userspace commands.
|
|
|
|
|
2018-12-11 19:01:04 +08:00
|
|
|
source "drivers/w1/masters/Kconfig"
|
|
|
|
source "drivers/w1/slaves/Kconfig"
|
2005-08-17 19:24:37 +08:00
|
|
|
|
2007-07-16 14:39:39 +08:00
|
|
|
endif # W1
|