Kconfig 3.2 KB

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