Kconfig 2.9 KB

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