Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. if RMI4_CORE
  11. config RMI4_I2C
  12. tristate "RMI4 I2C Support"
  13. depends on I2C
  14. help
  15. Say Y here if you want to support RMI4 devices connected to an I2C
  16. bus.
  17. If unsure, say Y.
  18. config RMI4_SPI
  19. tristate "RMI4 SPI Support"
  20. depends on SPI
  21. help
  22. Say Y here if you want to support RMI4 devices connected to a SPI
  23. bus.
  24. If unsure, say N.
  25. config RMI4_SMB
  26. tristate "RMI4 SMB Support"
  27. depends on I2C
  28. help
  29. Say Y here if you want to support RMI4 devices connected to an SMB
  30. bus.
  31. If unsure, say N.
  32. To compile this driver as a module, choose M here: the module will be
  33. called rmi_smbus.
  34. config RMI4_F03
  35. bool "RMI4 Function 03 (PS2 Guest)"
  36. depends on RMI4_CORE
  37. help
  38. Say Y here if you want to add support for RMI4 function 03.
  39. Function 03 provides PS2 guest support for RMI4 devices. This
  40. includes support for TrackPoints on TouchPads.
  41. config RMI4_F03_SERIO
  42. tristate
  43. depends on RMI4_CORE
  44. depends on RMI4_F03
  45. default RMI4_CORE
  46. select SERIO
  47. config RMI4_2D_SENSOR
  48. bool
  49. config RMI4_F11
  50. bool "RMI4 Function 11 (2D pointing)"
  51. select RMI4_2D_SENSOR
  52. help
  53. Say Y here if you want to add support for RMI4 function 11.
  54. Function 11 provides 2D multifinger pointing for touchscreens and
  55. touchpads. For sensors that support relative pointing, F11 also
  56. provides mouse input.
  57. config RMI4_F12
  58. bool "RMI4 Function 12 (2D pointing)"
  59. select RMI4_2D_SENSOR
  60. help
  61. Say Y here if you want to add support for RMI4 function 12.
  62. Function 12 provides 2D multifinger pointing for touchscreens and
  63. touchpads. For sensors that support relative pointing, F12 also
  64. provides mouse input.
  65. config RMI4_F30
  66. bool "RMI4 Function 30 (GPIO LED)"
  67. help
  68. Say Y here if you want to add support for RMI4 function 30.
  69. Function 30 provides GPIO and LED support for RMI4 devices. This
  70. includes support for buttons on TouchPads and ClickPads.
  71. config RMI4_F34
  72. bool "RMI4 Function 34 (Device reflash)"
  73. select FW_LOADER
  74. help
  75. Say Y here if you want to add support for RMI4 function 34.
  76. Function 34 provides support for upgrading the firmware on the RMI4
  77. device via the firmware loader interface. This is triggered using a
  78. sysfs attribute.
  79. config RMI4_F54
  80. bool "RMI4 Function 54 (Analog diagnostics)"
  81. depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
  82. select VIDEOBUF2_VMALLOC
  83. select RMI4_F55
  84. help
  85. Say Y here if you want to add support for RMI4 function 54
  86. Function 54 provides access to various diagnostic features in certain
  87. RMI4 touch sensors.
  88. config RMI4_F55
  89. bool "RMI4 Function 55 (Sensor tuning)"
  90. help
  91. Say Y here if you want to add support for RMI4 function 55
  92. Function 55 provides access to the RMI4 touch sensor tuning
  93. mechanism.
  94. endif # RMI_CORE