Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. # RMI4 configuration
  3. #
  4. config RMI4_CORE
  5. tristate "Synaptics RMI4 bus support"
  6. help
  7. Say Y here if you want to support the Synaptics RMI4 bus. This is
  8. required for all RMI4 device support.
  9. If unsure, say Y.
  10. config RMI4_I2C
  11. tristate "RMI4 I2C Support"
  12. depends on RMI4_CORE && I2C
  13. help
  14. Say Y here if you want to support RMI4 devices connected to an I2C
  15. bus.
  16. If unsure, say Y.
  17. config RMI4_SPI
  18. tristate "RMI4 SPI Support"
  19. depends on RMI4_CORE && SPI
  20. help
  21. Say Y here if you want to support RMI4 devices connected to a SPI
  22. bus.
  23. If unsure, say N.
  24. config RMI4_2D_SENSOR
  25. bool
  26. depends on RMI4_CORE
  27. config RMI4_F11
  28. bool "RMI4 Function 11 (2D pointing)"
  29. select RMI4_2D_SENSOR
  30. depends on RMI4_CORE
  31. help
  32. Say Y here if you want to add support for RMI4 function 11.
  33. Function 11 provides 2D multifinger pointing for touchscreens and
  34. touchpads. For sensors that support relative pointing, F11 also
  35. provides mouse input.
  36. config RMI4_F12
  37. bool "RMI4 Function 12 (2D pointing)"
  38. select RMI4_2D_SENSOR
  39. depends on RMI4_CORE
  40. help
  41. Say Y here if you want to add support for RMI4 function 12.
  42. Function 12 provides 2D multifinger pointing for touchscreens and
  43. touchpads. For sensors that support relative pointing, F12 also
  44. provides mouse input.
  45. config RMI4_F30
  46. bool "RMI4 Function 30 (GPIO LED)"
  47. depends on RMI4_CORE
  48. help
  49. Say Y here if you want to add support for RMI4 function 30.
  50. Function 30 provides GPIO and LED support for RMI4 devices. This
  51. includes support for buttons on TouchPads and ClickPads.
  52. config RMI4_F54
  53. bool "RMI4 Function 54 (Analog diagnostics)"
  54. depends on RMI4_CORE
  55. depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
  56. select VIDEOBUF2_VMALLOC
  57. help
  58. Say Y here if you want to add support for RMI4 function 54
  59. Function 54 provides access to various diagnostic features in certain
  60. RMI4 touch sensors.