xref: /linux/drivers/input/rmi4/Kconfig (revision c1aac62f36c1e37ee81c9e09ee9ee733eef05dcb)
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_SMB
31	tristate "RMI4 SMB Support"
32	depends on RMI4_CORE && I2C
33	help
34	  Say Y here if you want to support RMI4 devices connected to an SMB
35	  bus.
36
37	  If unsure, say N.
38
39	  To compile this driver as a module, choose M here: the module will be
40	  called rmi_smbus.
41
42config RMI4_F03
43        bool "RMI4 Function 03 (PS2 Guest)"
44	depends on RMI4_CORE
45        help
46          Say Y here if you want to add support for RMI4 function 03.
47
48          Function 03 provides PS2 guest support for RMI4 devices. This
49          includes support for TrackPoints on TouchPads.
50
51config RMI4_F03_SERIO
52	tristate
53	depends on RMI4_CORE
54	depends on RMI4_F03
55	default RMI4_CORE
56	select SERIO
57
58config RMI4_2D_SENSOR
59	bool
60	depends on RMI4_CORE
61
62config RMI4_F11
63	bool "RMI4 Function 11 (2D pointing)"
64	select RMI4_2D_SENSOR
65	depends on RMI4_CORE
66	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.
72
73config RMI4_F12
74	bool "RMI4 Function 12 (2D pointing)"
75	select RMI4_2D_SENSOR
76	depends on RMI4_CORE
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.
83
84config RMI4_F30
85	bool "RMI4 Function 30 (GPIO LED)"
86	depends on RMI4_CORE
87	help
88	  Say Y here if you want to add support for RMI4 function 30.
89
90	  Function 30 provides GPIO and LED support for RMI4 devices. This
91	  includes support for buttons on TouchPads and ClickPads.
92
93config RMI4_F34
94	bool "RMI4 Function 34 (Device reflash)"
95	depends on RMI4_CORE
96	select FW_LOADER
97	help
98	  Say Y here if you want to add support for RMI4 function 34.
99
100	  Function 34 provides support for upgrading the firmware on the RMI4
101	  device via the firmware loader interface. This is triggered using a
102	  sysfs attribute.
103
104config RMI4_F54
105	bool "RMI4 Function 54 (Analog diagnostics)"
106	depends on RMI4_CORE
107	depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
108	select VIDEOBUF2_VMALLOC
109	select RMI4_F55
110	help
111	  Say Y here if you want to add support for RMI4 function 54
112
113	  Function 54 provides access to various diagnostic features in certain
114	  RMI4 touch sensors.
115
116config RMI4_F55
117	bool "RMI4 Function 55 (Sensor tuning)"
118	depends on RMI4_CORE
119	help
120	  Say Y here if you want to add support for RMI4 function 55
121
122	  Function 55 provides access to the RMI4 touch sensor tuning
123	  mechanism.
124