xref: /openbmc/linux/drivers/input/rmi4/Kconfig (revision bb970707)
1#
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.
11
12config RMI4_I2C
13	tristate "RMI4 I2C Support"
14	depends on RMI4_CORE && I2C
15	help
16	  Say Y here if you want to support RMI4 devices connected to an I2C
17	  bus.
18
19	  If unsure, say Y.
20
21config RMI4_SPI
22	tristate "RMI4 SPI Support"
23	depends on RMI4_CORE && SPI
24	help
25	  Say Y here if you want to support RMI4 devices connected to a SPI
26	  bus.
27
28	  If unsure, say N.
29
30config RMI4_2D_SENSOR
31	bool
32	depends on RMI4_CORE
33
34config RMI4_F11
35	bool "RMI4 Function 11 (2D pointing)"
36	select RMI4_2D_SENSOR
37	depends on RMI4_CORE
38	help
39	  Say Y here if you want to add support for RMI4 function 11.
40
41	  Function 11 provides 2D multifinger pointing for touchscreens and
42	  touchpads. For sensors that support relative pointing, F11 also
43	  provides mouse input.
44
45config RMI4_F12
46	bool "RMI4 Function 12 (2D pointing)"
47	select RMI4_2D_SENSOR
48	depends on RMI4_CORE
49	help
50	  Say Y here if you want to add support for RMI4 function 12.
51
52	  Function 12 provides 2D multifinger pointing for touchscreens and
53	  touchpads. For sensors that support relative pointing, F12 also
54	  provides mouse input.
55
56config RMI4_F30
57	bool "RMI4 Function 30 (GPIO LED)"
58	depends on RMI4_CORE
59	help
60	  Say Y here if you want to add support for RMI4 function 30.
61
62	  Function 30 provides GPIO and LED support for RMI4 devices. This
63	  includes support for buttons on TouchPads and ClickPads.
64