Andrew Duggan | 2b6a321 | 2016-03-10 15:35:49 -0800 | [diff] [blame] | 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 | |
| 10 | If unsure, say Y. |
Andrew Duggan | fdf5160 | 2016-03-10 15:44:27 -0800 | [diff] [blame] | 11 | |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 12 | if RMI4_CORE |
| 13 | |
Andrew Duggan | fdf5160 | 2016-03-10 15:44:27 -0800 | [diff] [blame] | 14 | config RMI4_I2C |
| 15 | tristate "RMI4 I2C Support" |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 16 | depends on I2C |
Andrew Duggan | fdf5160 | 2016-03-10 15:44:27 -0800 | [diff] [blame] | 17 | help |
| 18 | Say Y here if you want to support RMI4 devices connected to an I2C |
| 19 | bus. |
| 20 | |
| 21 | If unsure, say Y. |
Andrew Duggan | ff8f837 | 2016-03-10 15:47:28 -0800 | [diff] [blame] | 22 | |
Andrew Duggan | 8d99758 | 2016-03-10 15:58:12 -0800 | [diff] [blame] | 23 | config RMI4_SPI |
| 24 | tristate "RMI4 SPI Support" |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 25 | depends on SPI |
Andrew Duggan | 8d99758 | 2016-03-10 15:58:12 -0800 | [diff] [blame] | 26 | help |
| 27 | Say Y here if you want to support RMI4 devices connected to a SPI |
| 28 | bus. |
| 29 | |
| 30 | If unsure, say N. |
| 31 | |
Benjamin Tissoires | 82264d0 | 2016-11-08 17:05:58 -0800 | [diff] [blame] | 32 | config RMI4_SMB |
| 33 | tristate "RMI4 SMB Support" |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 34 | depends on I2C |
Benjamin Tissoires | 82264d0 | 2016-11-08 17:05:58 -0800 | [diff] [blame] | 35 | help |
| 36 | Say Y here if you want to support RMI4 devices connected to an SMB |
| 37 | bus. |
| 38 | |
| 39 | If unsure, say N. |
| 40 | |
| 41 | To compile this driver as a module, choose M here: the module will be |
| 42 | called rmi_smbus. |
| 43 | |
Lyude Paul | c5e8848 | 2016-12-02 16:59:07 -0800 | [diff] [blame] | 44 | config RMI4_F03 |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 45 | bool "RMI4 Function 03 (PS2 Guest)" |
Dmitry Torokhov | d7ddad0 | 2016-12-27 11:32:55 -0800 | [diff] [blame] | 46 | depends on RMI4_CORE |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 47 | help |
| 48 | Say Y here if you want to add support for RMI4 function 03. |
Lyude Paul | c5e8848 | 2016-12-02 16:59:07 -0800 | [diff] [blame] | 49 | |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 50 | Function 03 provides PS2 guest support for RMI4 devices. This |
| 51 | includes support for TrackPoints on TouchPads. |
Lyude Paul | c5e8848 | 2016-12-02 16:59:07 -0800 | [diff] [blame] | 52 | |
Arnd Bergmann | 413d373 | 2017-02-07 09:59:21 -0800 | [diff] [blame] | 53 | config RMI4_F03_SERIO |
| 54 | tristate |
| 55 | depends on RMI4_CORE |
| 56 | depends on RMI4_F03 |
| 57 | default RMI4_CORE |
| 58 | select SERIO |
| 59 | |
Andrew Duggan | ff8f837 | 2016-03-10 15:47:28 -0800 | [diff] [blame] | 60 | config RMI4_2D_SENSOR |
| 61 | bool |
Andrew Duggan | ff8f837 | 2016-03-10 15:47:28 -0800 | [diff] [blame] | 62 | |
| 63 | config RMI4_F11 |
| 64 | bool "RMI4 Function 11 (2D pointing)" |
| 65 | select RMI4_2D_SENSOR |
Andrew Duggan | ff8f837 | 2016-03-10 15:47:28 -0800 | [diff] [blame] | 66 | help |
| 67 | Say Y here if you want to add support for RMI4 function 11. |
| 68 | |
| 69 | Function 11 provides 2D multifinger pointing for touchscreens and |
| 70 | touchpads. For sensors that support relative pointing, F11 also |
| 71 | provides mouse input. |
Andrew Duggan | b43d2c1 | 2016-03-10 15:55:29 -0800 | [diff] [blame] | 72 | |
| 73 | config RMI4_F12 |
| 74 | bool "RMI4 Function 12 (2D pointing)" |
| 75 | select RMI4_2D_SENSOR |
Andrew Duggan | b43d2c1 | 2016-03-10 15:55:29 -0800 | [diff] [blame] | 76 | help |
| 77 | Say Y here if you want to add support for RMI4 function 12. |
| 78 | |
| 79 | Function 12 provides 2D multifinger pointing for touchscreens and |
| 80 | touchpads. For sensors that support relative pointing, F12 also |
| 81 | provides mouse input. |
Andrew Duggan | 562b42d | 2016-03-10 15:56:58 -0800 | [diff] [blame] | 82 | |
| 83 | config RMI4_F30 |
| 84 | bool "RMI4 Function 30 (GPIO LED)" |
Andrew Duggan | 562b42d | 2016-03-10 15:56:58 -0800 | [diff] [blame] | 85 | help |
| 86 | Say Y here if you want to add support for RMI4 function 30. |
| 87 | |
| 88 | Function 30 provides GPIO and LED support for RMI4 devices. This |
| 89 | includes support for buttons on TouchPads and ClickPads. |
Nick Dyer | 3a762db | 2016-07-18 18:10:37 -0300 | [diff] [blame] | 90 | |
Nick Dyer | 29fd0ec2 | 2016-11-22 17:44:12 -0800 | [diff] [blame] | 91 | config RMI4_F34 |
| 92 | bool "RMI4 Function 34 (Device reflash)" |
Nick Dyer | 29fd0ec2 | 2016-11-22 17:44:12 -0800 | [diff] [blame] | 93 | select FW_LOADER |
| 94 | help |
| 95 | Say Y here if you want to add support for RMI4 function 34. |
| 96 | |
| 97 | Function 34 provides support for upgrading the firmware on the RMI4 |
| 98 | device via the firmware loader interface. This is triggered using a |
| 99 | sysfs attribute. |
| 100 | |
Nick Dyer | 3a762db | 2016-07-18 18:10:37 -0300 | [diff] [blame] | 101 | config RMI4_F54 |
| 102 | bool "RMI4 Function 54 (Analog diagnostics)" |
Arnd Bergmann | 47d8e00 | 2016-09-12 12:30:33 -0300 | [diff] [blame] | 103 | depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m) |
Nick Dyer | 3a762db | 2016-07-18 18:10:37 -0300 | [diff] [blame] | 104 | select VIDEOBUF2_VMALLOC |
Guenter Roeck | c762cc6 | 2016-11-22 17:57:02 -0800 | [diff] [blame] | 105 | select RMI4_F55 |
Nick Dyer | 3a762db | 2016-07-18 18:10:37 -0300 | [diff] [blame] | 106 | help |
| 107 | Say Y here if you want to add support for RMI4 function 54 |
| 108 | |
| 109 | Function 54 provides access to various diagnostic features in certain |
| 110 | RMI4 touch sensors. |
Guenter Roeck | 6adba43 | 2016-11-22 17:53:26 -0800 | [diff] [blame] | 111 | |
| 112 | config RMI4_F55 |
| 113 | bool "RMI4 Function 55 (Sensor tuning)" |
Guenter Roeck | 6adba43 | 2016-11-22 17:53:26 -0800 | [diff] [blame] | 114 | help |
| 115 | Say Y here if you want to add support for RMI4 function 55 |
| 116 | |
| 117 | Function 55 provides access to the RMI4 touch sensor tuning |
| 118 | mechanism. |
Dmitry Torokhov | b29c139 | 2016-12-27 11:42:28 -0800 | [diff] [blame] | 119 | |
| 120 | endif # RMI_CORE |