xref: /openbmc/linux/drivers/w1/Kconfig (revision 012bfdf0)
1menuconfig W1
2	tristate "Dallas's 1-wire support"
3	depends on HAS_IOMEM
4	---help---
5	  Dallas' 1-wire bus is useful to connect slow 1-pin devices
6	  such as iButtons and thermal sensors.
7
8	  If you want W1 support, you should say Y here.
9
10	  This W1 support can also be built as a module.  If so, the module
11	  will be called wire.ko.
12
13if W1
14
15config W1_CON
16	depends on CONNECTOR
17	bool "Userspace communication over connector"
18	default y
19	--- help ---
20	  This allows to communicate with userspace using connector [Documentation/connector].
21	  There are three types of messages between w1 core and userspace:
22	  1. Events. They are generated each time new master or slave device found
23		either due to automatic or requested search.
24	  2. Userspace commands. Includes read/write and search/alarm search commands.
25	  3. Replies to userspace commands.
26
27source drivers/w1/masters/Kconfig
28source drivers/w1/slaves/Kconfig
29
30endif # W1
31