xref: /openbmc/linux/drivers/w1/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1 *ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2 012bfdf0SJan Engelhardtmenuconfig W1
3 1da177e4SLinus Torvalds	tristate "Dallas's 1-wire support"
4 012bfdf0SJan Engelhardt	depends on HAS_IOMEM
5 1da177e4SLinus Torvalds	---help---
6 46e07f6eSEvgeniy Polyakov	  Dallas' 1-wire bus is useful to connect slow 1-pin devices
7 1da177e4SLinus Torvalds	  such as iButtons and thermal sensors.
8 1da177e4SLinus Torvalds
9 1da177e4SLinus Torvalds	  If you want W1 support, you should say Y here.
10 1da177e4SLinus Torvalds
11 1da177e4SLinus Torvalds	  This W1 support can also be built as a module.  If so, the module
12 4737f097SPavel Machek	  will be called wire.
13 1da177e4SLinus Torvalds
14 012bfdf0SJan Engelhardtif W1
15 012bfdf0SJan Engelhardt
16 46e07f6eSEvgeniy Polyakovconfig W1_CON
17 012bfdf0SJan Engelhardt	depends on CONNECTOR
18 46e07f6eSEvgeniy Polyakov	bool "Userspace communication over connector"
19 46e07f6eSEvgeniy Polyakov	default y
20 46e07f6eSEvgeniy Polyakov	---help---
21 e403149cSDirk Hohndel	  This allows to communicate with userspace using connector. For more
22 e403149cSDirk Hohndel	  information see <file:Documentation/connector/connector.txt>.
23 46e07f6eSEvgeniy Polyakov	  There are three types of messages between w1 core and userspace:
24 46e07f6eSEvgeniy Polyakov	  1. Events. They are generated each time new master or slave device found
25 46e07f6eSEvgeniy Polyakov		either due to automatic or requested search.
26 09509603SMatt LaPlante	  2. Userspace commands. Includes read/write and search/alarm search commands.
27 46e07f6eSEvgeniy Polyakov	  3. Replies to userspace commands.
28 46e07f6eSEvgeniy Polyakov
29 8636a1f9SMasahiro Yamadasource "drivers/w1/masters/Kconfig"
30 8636a1f9SMasahiro Yamadasource "drivers/w1/slaves/Kconfig"
31 0a25e4d5SEvgeniy Polyakov
32 012bfdf0SJan Engelhardtendif # W1
33