Kconfig 1019 B

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: GPL-2.0
  2. menuconfig I3C
  3. tristate "I3C support"
  4. select I2C
  5. help
  6. I3C is a serial protocol standardized by the MIPI alliance.
  7. It's supposed to be backward compatible with I2C while providing
  8. support for high speed transfers and native interrupt support
  9. without the need for extra pins.
  10. The I3C protocol also standardizes the slave device types and is
  11. mainly designed to communicate with sensors.
  12. If you want I3C support, you should say Y here and also to the
  13. specific driver for your bus adapter(s) below.
  14. This I3C support can also be built as a module. If so, the module
  15. will be called i3c.
  16. if I3C
  17. source "drivers/i3c/master/Kconfig"
  18. endif # I3C
  19. config I3C_OR_I2C
  20. tristate
  21. default m if I3C=m
  22. default I2C
  23. help
  24. Device drivers using module_i3c_i2c_driver() can use either
  25. i2c or i3c hosts, but cannot be built-in for the kernel when
  26. CONFIG_I3C=m.
  27. Add 'depends on I2C_OR_I3C' in Kconfig for those drivers to
  28. get the correct dependencies.