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