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