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