Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Input cs40l26 drivers configuration
  4. #
  5. config INPUT_CS40L26_I2C
  6. tristate "Cirrus Logic CS40L26 Haptic Driver (I2C)"
  7. depends on I2C
  8. select REGMAP_I2C
  9. help
  10. Say Y here to enable support for CS40L26 boosted
  11. haptic amplifier with I2C control port.
  12. To complie the driver as a module choose M here: the
  13. module will be called input_cs40l26_i2c.
  14. config INPUT_CS40L26_SPI
  15. tristate "Cirrus Logic CS40L26 Haptic Driver (SPI)"
  16. depends on SPI_MASTER
  17. select REGMAP_SPI
  18. help
  19. Say Y here to enable support for CS40L26 boosted
  20. haptic amplifier with SPI control port.
  21. To compile the driver as a module choose M here: the
  22. module will be called input_cs40l26_spi.
  23. config CS40L26_SAMSUNG_FEATURE
  24. bool "Cirrus CS40L26 Haptic Driver for Samsung feature"
  25. depends on INPUT_CS40L26_I2C
  26. default n
  27. help
  28. Say Y to enable CS40L26_SAMSUNG_FEATURE
  29. codes featured with this comment
  30. aren't the original code from cirrus.
  31. To use samsung concept, please enable this.
  32. config CS40L26_SAMSUNG_USE_DVL
  33. bool "Cirrus CS40L26 Haptic Driver uses dvl bin"
  34. default n
  35. help
  36. Say Y to enable CS40L26_SAMSUNG_USE_DVL.
  37. is used for enabling dvl firmware load
  38. config CS40L26_SAMSUNG_USE_MAX_DATA_TX_SIZE
  39. bool "Cirrus CS40L26 driver uses max data transfer size"
  40. depends on CS40L26_SAMSUNG_FEATURE
  41. default n
  42. help
  43. Say Y to enable CS40L26_SAMSUNG_USE_MAX_DATA_TX_SIZE.
  44. Samsung feature uses only 32 byte transfer due to SLSI AP's
  45. I3C Regmap limitation. To use maximum data transfer size
  46. please enable it.
  47. config CS40L26_KUNIT_TEST
  48. tristate "KUnit test for cs40l26_test"
  49. depends on SEC_KUNIT
  50. depends on UML
  51. select REGMAP_IRQ
  52. select MFD_CORE
  53. help
  54. TODO: Describe config fully.
  55. This CONFIG is recommended to set to y.