xref: /openbmc/linux/drivers/w1/Kconfig (revision df687341)
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.
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. For more
21	  information see <file:Documentation/connector/connector.txt>.
22	  There are three types of messages between w1 core and userspace:
23	  1. Events. They are generated each time new master or slave device found
24		either due to automatic or requested search.
25	  2. Userspace commands. Includes read/write and search/alarm search commands.
26	  3. Replies to userspace commands.
27
28source "drivers/w1/masters/Kconfig"
29source "drivers/w1/slaves/Kconfig"
30
31endif # W1
32