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