Kconfig 1003 B

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