Linux Audio

Check our new training course

Loading...
v5.9
 1# SPDX-License-Identifier: GPL-2.0-only
 2menuconfig W1
 3	tristate "Dallas's 1-wire support"
 4	depends on HAS_IOMEM
 5	help
 6	  Dallas' 1-wire bus is useful to connect slow 1-pin devices
 7	  such as iButtons and thermal sensors.
 8
 9	  If you want W1 support, you should say Y here.
10
11	  This W1 support can also be built as a module.  If so, the module
12	  will be called wire.
13
14if W1
15
16config W1_CON
17	depends on CONNECTOR
18	bool "Userspace communication over connector"
19	default y
20	help
21	  This allows to communicate with userspace using connector. For more
22	  information see <file:Documentation/driver-api/connector.rst>.
23	  There are three types of messages between w1 core and userspace:
24	  1. Events. They are generated each time new master or slave device found
25		either due to automatic or requested search.
26	  2. Userspace commands. Includes read/write and search/alarm search commands.
27	  3. Replies to userspace commands.
28
29source "drivers/w1/masters/Kconfig"
30source "drivers/w1/slaves/Kconfig"
31
32endif # W1
v4.6
 
 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