blob: 7172b88cd0649c8de16ac7373ec2a16c42c338d2 [file] [log] [blame]
Andrew Duggan2b6a3212016-03-10 15:35:49 -08001#
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.
Andrew Dugganfdf51602016-03-10 15:44:27 -080011
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080012if RMI4_CORE
13
Andrew Dugganfdf51602016-03-10 15:44:27 -080014config RMI4_I2C
15 tristate "RMI4 I2C Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080016 depends on I2C
Andrew Dugganfdf51602016-03-10 15:44:27 -080017 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 Dugganff8f8372016-03-10 15:47:28 -080022
Andrew Duggan8d997582016-03-10 15:58:12 -080023config RMI4_SPI
24 tristate "RMI4 SPI Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080025 depends on SPI
Andrew Duggan8d997582016-03-10 15:58:12 -080026 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 Tissoires82264d02016-11-08 17:05:58 -080032config RMI4_SMB
33 tristate "RMI4 SMB Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080034 depends on I2C
Benjamin Tissoires82264d02016-11-08 17:05:58 -080035 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 Paulc5e88482016-12-02 16:59:07 -080044config RMI4_F03
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080045 bool "RMI4 Function 03 (PS2 Guest)"
Dmitry Torokhovd7ddad02016-12-27 11:32:55 -080046 depends on RMI4_CORE
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080047 help
48 Say Y here if you want to add support for RMI4 function 03.
Lyude Paulc5e88482016-12-02 16:59:07 -080049
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080050 Function 03 provides PS2 guest support for RMI4 devices. This
51 includes support for TrackPoints on TouchPads.
Lyude Paulc5e88482016-12-02 16:59:07 -080052
Arnd Bergmann413d3732017-02-07 09:59:21 -080053config RMI4_F03_SERIO
54 tristate
55 depends on RMI4_CORE
56 depends on RMI4_F03
57 default RMI4_CORE
58 select SERIO
59
Andrew Dugganff8f8372016-03-10 15:47:28 -080060config RMI4_2D_SENSOR
61 bool
Andrew Dugganff8f8372016-03-10 15:47:28 -080062
63config RMI4_F11
64 bool "RMI4 Function 11 (2D pointing)"
65 select RMI4_2D_SENSOR
Andrew Dugganff8f8372016-03-10 15:47:28 -080066 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 Dugganb43d2c12016-03-10 15:55:29 -080072
73config RMI4_F12
74 bool "RMI4 Function 12 (2D pointing)"
75 select RMI4_2D_SENSOR
Andrew Dugganb43d2c12016-03-10 15:55:29 -080076 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 Duggan562b42d2016-03-10 15:56:58 -080082
83config RMI4_F30
84 bool "RMI4 Function 30 (GPIO LED)"
Andrew Duggan562b42d2016-03-10 15:56:58 -080085 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 Dyer3a762db2016-07-18 18:10:37 -030090
Nick Dyer29fd0ec22016-11-22 17:44:12 -080091config RMI4_F34
92 bool "RMI4 Function 34 (Device reflash)"
Nick Dyer29fd0ec22016-11-22 17:44:12 -080093 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 Dyer3a762db2016-07-18 18:10:37 -0300101config RMI4_F54
102 bool "RMI4 Function 54 (Analog diagnostics)"
Arnd Bergmann47d8e002016-09-12 12:30:33 -0300103 depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
Nick Dyer3a762db2016-07-18 18:10:37 -0300104 select VIDEOBUF2_VMALLOC
Guenter Roeckc762cc62016-11-22 17:57:02 -0800105 select RMI4_F55
Nick Dyer3a762db2016-07-18 18:10:37 -0300106 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 Roeck6adba432016-11-22 17:53:26 -0800111
112config RMI4_F55
113 bool "RMI4 Function 55 (Sensor tuning)"
Guenter Roeck6adba432016-11-22 17:53:26 -0800114 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 Torokhovb29c1392016-12-27 11:42:28 -0800119
120endif # RMI_CORE