blob: fad2eae4a118e793e617a86a52b28351ef4fafed [file] [log] [blame]
Andrew Duggan2b6a3212016-03-10 15:35:49 -08001#
2# RMI4 configuration
3#
4config RMI4_CORE
5 tristate "Synaptics RMI4 bus support"
Nick Dyer24d28e42018-06-05 10:17:51 -07006 select IRQ_DOMAIN
Andrew Duggan2b6a3212016-03-10 15:35:49 -08007 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 Dugganfdf51602016-03-10 15:44:27 -080012
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080013if RMI4_CORE
14
Andrew Dugganfdf51602016-03-10 15:44:27 -080015config RMI4_I2C
16 tristate "RMI4 I2C Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080017 depends on I2C
Andrew Dugganfdf51602016-03-10 15:44:27 -080018 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 Dugganff8f8372016-03-10 15:47:28 -080023
Andrew Duggan8d997582016-03-10 15:58:12 -080024config RMI4_SPI
25 tristate "RMI4 SPI Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080026 depends on SPI
Andrew Duggan8d997582016-03-10 15:58:12 -080027 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 Tissoires82264d02016-11-08 17:05:58 -080033config RMI4_SMB
34 tristate "RMI4 SMB Support"
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080035 depends on I2C
Benjamin Tissoires82264d02016-11-08 17:05:58 -080036 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 Paulc5e88482016-12-02 16:59:07 -080045config RMI4_F03
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080046 bool "RMI4 Function 03 (PS2 Guest)"
Dmitry Torokhovd7ddad02016-12-27 11:32:55 -080047 depends on RMI4_CORE
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080048 help
49 Say Y here if you want to add support for RMI4 function 03.
Lyude Paulc5e88482016-12-02 16:59:07 -080050
Dmitry Torokhovb29c1392016-12-27 11:42:28 -080051 Function 03 provides PS2 guest support for RMI4 devices. This
52 includes support for TrackPoints on TouchPads.
Lyude Paulc5e88482016-12-02 16:59:07 -080053
Arnd Bergmann413d3732017-02-07 09:59:21 -080054config RMI4_F03_SERIO
55 tristate
56 depends on RMI4_CORE
57 depends on RMI4_F03
58 default RMI4_CORE
59 select SERIO
60
Andrew Dugganff8f8372016-03-10 15:47:28 -080061config RMI4_2D_SENSOR
62 bool
Andrew Dugganff8f8372016-03-10 15:47:28 -080063
64config RMI4_F11
65 bool "RMI4 Function 11 (2D pointing)"
66 select RMI4_2D_SENSOR
Andrew Dugganff8f8372016-03-10 15:47:28 -080067 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 Dugganb43d2c12016-03-10 15:55:29 -080073
74config RMI4_F12
75 bool "RMI4 Function 12 (2D pointing)"
76 select RMI4_2D_SENSOR
Andrew Dugganb43d2c12016-03-10 15:55:29 -080077 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 Duggan562b42d2016-03-10 15:56:58 -080083
84config RMI4_F30
85 bool "RMI4 Function 30 (GPIO LED)"
Andrew Duggan562b42d2016-03-10 15:56:58 -080086 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 Dyer3a762db2016-07-18 18:10:37 -030091
Nick Dyer29fd0ec22016-11-22 17:44:12 -080092config RMI4_F34
93 bool "RMI4 Function 34 (Device reflash)"
Nick Dyer29fd0ec22016-11-22 17:44:12 -080094 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 Dyer3a762db2016-07-18 18:10:37 -0300102config RMI4_F54
103 bool "RMI4 Function 54 (Analog diagnostics)"
Arnd Bergmann47d8e002016-09-12 12:30:33 -0300104 depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
Nick Dyer3a762db2016-07-18 18:10:37 -0300105 select VIDEOBUF2_VMALLOC
Guenter Roeckc762cc62016-11-22 17:57:02 -0800106 select RMI4_F55
Nick Dyer3a762db2016-07-18 18:10:37 -0300107 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 Roeck6adba432016-11-22 17:53:26 -0800112
113config RMI4_F55
114 bool "RMI4 Function 55 (Sensor tuning)"
Guenter Roeck6adba432016-11-22 17:53:26 -0800115 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 Torokhovb29c1392016-12-27 11:42:28 -0800120
121endif # RMI_CORE