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