1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 22b6a321dSAndrew Duggan# 32b6a321dSAndrew Duggan# RMI4 configuration 42b6a321dSAndrew Duggan# 52b6a321dSAndrew Dugganconfig RMI4_CORE 62b6a321dSAndrew Duggan tristate "Synaptics RMI4 bus support" 724d28e4fSNick Dyer select IRQ_DOMAIN 82b6a321dSAndrew Duggan help 92b6a321dSAndrew Duggan Say Y here if you want to support the Synaptics RMI4 bus. This is 102b6a321dSAndrew Duggan required for all RMI4 device support. 112b6a321dSAndrew Duggan 122b6a321dSAndrew Duggan If unsure, say Y. 13fdf51604SAndrew Duggan 14b29c139aSDmitry Torokhovif RMI4_CORE 15b29c139aSDmitry Torokhov 16fdf51604SAndrew Dugganconfig RMI4_I2C 17fdf51604SAndrew Duggan tristate "RMI4 I2C Support" 18b29c139aSDmitry Torokhov depends on I2C 19fdf51604SAndrew Duggan help 20fdf51604SAndrew Duggan Say Y here if you want to support RMI4 devices connected to an I2C 21fdf51604SAndrew Duggan bus. 22fdf51604SAndrew Duggan 23fdf51604SAndrew Duggan If unsure, say Y. 24ff8f8370SAndrew Duggan 258d99758dSAndrew Dugganconfig RMI4_SPI 268d99758dSAndrew Duggan tristate "RMI4 SPI Support" 27b29c139aSDmitry Torokhov depends on SPI 288d99758dSAndrew Duggan help 298d99758dSAndrew Duggan Say Y here if you want to support RMI4 devices connected to a SPI 308d99758dSAndrew Duggan bus. 318d99758dSAndrew Duggan 328d99758dSAndrew Duggan If unsure, say N. 338d99758dSAndrew Duggan 3482264d0cSBenjamin Tissoiresconfig RMI4_SMB 3582264d0cSBenjamin Tissoires tristate "RMI4 SMB Support" 36b29c139aSDmitry Torokhov depends on I2C 3782264d0cSBenjamin Tissoires help 3882264d0cSBenjamin Tissoires Say Y here if you want to support RMI4 devices connected to an SMB 3982264d0cSBenjamin Tissoires bus. 4082264d0cSBenjamin Tissoires 4182264d0cSBenjamin Tissoires If unsure, say N. 4282264d0cSBenjamin Tissoires 4382264d0cSBenjamin Tissoires To compile this driver as a module, choose M here: the module will be 4482264d0cSBenjamin Tissoires called rmi_smbus. 4582264d0cSBenjamin Tissoires 46c5e8848fSLyude Paulconfig RMI4_F03 47c5e8848fSLyude Paul bool "RMI4 Function 03 (PS2 Guest)" 48d7ddad0aSDmitry Torokhov depends on RMI4_CORE 49c5e8848fSLyude Paul help 50c5e8848fSLyude Paul Say Y here if you want to add support for RMI4 function 03. 51c5e8848fSLyude Paul 52c5e8848fSLyude Paul Function 03 provides PS2 guest support for RMI4 devices. This 53c5e8848fSLyude Paul includes support for TrackPoints on TouchPads. 54c5e8848fSLyude Paul 55413d3732SArnd Bergmannconfig RMI4_F03_SERIO 56413d3732SArnd Bergmann tristate 57413d3732SArnd Bergmann depends on RMI4_CORE 58413d3732SArnd Bergmann depends on RMI4_F03 59413d3732SArnd Bergmann default RMI4_CORE 60413d3732SArnd Bergmann select SERIO 61413d3732SArnd Bergmann 62ff8f8370SAndrew Dugganconfig RMI4_2D_SENSOR 63ff8f8370SAndrew Duggan bool 64ff8f8370SAndrew Duggan 65ff8f8370SAndrew Dugganconfig RMI4_F11 66ff8f8370SAndrew Duggan bool "RMI4 Function 11 (2D pointing)" 67ff8f8370SAndrew Duggan select RMI4_2D_SENSOR 68ff8f8370SAndrew Duggan help 69ff8f8370SAndrew Duggan Say Y here if you want to add support for RMI4 function 11. 70ff8f8370SAndrew Duggan 71ff8f8370SAndrew Duggan Function 11 provides 2D multifinger pointing for touchscreens and 72ff8f8370SAndrew Duggan touchpads. For sensors that support relative pointing, F11 also 73ff8f8370SAndrew Duggan provides mouse input. 74b43d2c1eSAndrew Duggan 75b43d2c1eSAndrew Dugganconfig RMI4_F12 76b43d2c1eSAndrew Duggan bool "RMI4 Function 12 (2D pointing)" 77b43d2c1eSAndrew Duggan select RMI4_2D_SENSOR 78b43d2c1eSAndrew Duggan help 79b43d2c1eSAndrew Duggan Say Y here if you want to add support for RMI4 function 12. 80b43d2c1eSAndrew Duggan 81b43d2c1eSAndrew Duggan Function 12 provides 2D multifinger pointing for touchscreens and 82b43d2c1eSAndrew Duggan touchpads. For sensors that support relative pointing, F12 also 83b43d2c1eSAndrew Duggan provides mouse input. 84562b42d3SAndrew Duggan 85*4619b6b9SAndré Apitzschconfig RMI4_F1A 86*4619b6b9SAndré Apitzsch bool "RMI4 Function 1A (0D pointing)" 87*4619b6b9SAndré Apitzsch help 88*4619b6b9SAndré Apitzsch Say Y here if you want to add support for RMI4 function 1A. 89*4619b6b9SAndré Apitzsch 90*4619b6b9SAndré Apitzsch Function 1A provides capacitive keys support for RMI4 devices. 91*4619b6b9SAndré Apitzsch 92a9c95d17SMarge Yangconfig RMI4_F21 93a9c95d17SMarge Yang bool "RMI4 Function 21 (PRESSURE)" 94a9c95d17SMarge Yang help 95a9c95d17SMarge Yang Say Y here if you want to add support for RMI4 function 21. 96a9c95d17SMarge Yang 97a9c95d17SMarge Yang Function 21 provides buttons/pressure handling for RMI4 devices. 98a9c95d17SMarge Yang This includes support for buttons/pressure on PressurePad. 99a9c95d17SMarge Yang 100562b42d3SAndrew Dugganconfig RMI4_F30 101562b42d3SAndrew Duggan bool "RMI4 Function 30 (GPIO LED)" 102562b42d3SAndrew Duggan help 103562b42d3SAndrew Duggan Say Y here if you want to add support for RMI4 function 30. 104562b42d3SAndrew Duggan 105562b42d3SAndrew Duggan Function 30 provides GPIO and LED support for RMI4 devices. This 106562b42d3SAndrew Duggan includes support for buttons on TouchPads and ClickPads. 1073a762dbdSNick Dyer 10829fd0ec2SNick Dyerconfig RMI4_F34 10929fd0ec2SNick Dyer bool "RMI4 Function 34 (Device reflash)" 11029fd0ec2SNick Dyer select FW_LOADER 11129fd0ec2SNick Dyer help 11229fd0ec2SNick Dyer Say Y here if you want to add support for RMI4 function 34. 11329fd0ec2SNick Dyer 11429fd0ec2SNick Dyer Function 34 provides support for upgrading the firmware on the RMI4 11529fd0ec2SNick Dyer device via the firmware loader interface. This is triggered using a 11629fd0ec2SNick Dyer sysfs attribute. 11729fd0ec2SNick Dyer 1189e4c596bSVincent Huangconfig RMI4_F3A 1199e4c596bSVincent Huang bool "RMI4 Function 3A (GPIO)" 1209e4c596bSVincent Huang help 1219e4c596bSVincent Huang Say Y here if you want to add support for RMI4 function 3A. 1229e4c596bSVincent Huang 1239e4c596bSVincent Huang Function 3A provides GPIO support for RMI4 devices. This includes 1249e4c596bSVincent Huang support for buttons on TouchPads and ClickPads. 1259e4c596bSVincent Huang 1263a762dbdSNick Dyerconfig RMI4_F54 1273a762dbdSNick Dyer bool "RMI4 Function 54 (Analog diagnostics)" 1289958d30fSMauro Carvalho Chehab depends on VIDEO_DEV=y || (RMI4_CORE=m && VIDEO_DEV=m) 1293a762dbdSNick Dyer select VIDEOBUF2_VMALLOC 130c762cc68SGuenter Roeck select RMI4_F55 1313a762dbdSNick Dyer help 1323a762dbdSNick Dyer Say Y here if you want to add support for RMI4 function 54 1333a762dbdSNick Dyer 1343a762dbdSNick Dyer Function 54 provides access to various diagnostic features in certain 1353a762dbdSNick Dyer RMI4 touch sensors. 1366adba43fSGuenter Roeck 1376adba43fSGuenter Roeckconfig RMI4_F55 1386adba43fSGuenter Roeck bool "RMI4 Function 55 (Sensor tuning)" 1396adba43fSGuenter Roeck help 1406adba43fSGuenter Roeck Say Y here if you want to add support for RMI4 function 55 1416adba43fSGuenter Roeck 1426adba43fSGuenter Roeck Function 55 provides access to the RMI4 touch sensor tuning 1436adba43fSGuenter Roeck mechanism. 144b29c139aSDmitry Torokhov 145b29c139aSDmitry Torokhovendif # RMI_CORE 146