]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/input/rmi4/Kconfig
UBUNTU: Ubuntu-4.15.0-96.97
[mirror_ubuntu-bionic-kernel.git] / drivers / input / rmi4 / Kconfig
CommitLineData
2b6a321d
AD
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.
fdf51604 11
b29c139a
DT
12if RMI4_CORE
13
fdf51604
AD
14config RMI4_I2C
15 tristate "RMI4 I2C Support"
b29c139a 16 depends on I2C
fdf51604
AD
17 help
18 Say Y here if you want to support RMI4 devices connected to an I2C
19 bus.
20
21 If unsure, say Y.
ff8f8370 22
8d99758d
AD
23config RMI4_SPI
24 tristate "RMI4 SPI Support"
b29c139a 25 depends on SPI
8d99758d
AD
26 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
82264d0c
BT
32config RMI4_SMB
33 tristate "RMI4 SMB Support"
b29c139a 34 depends on I2C
82264d0c
BT
35 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
c5e8848f 44config RMI4_F03
b29c139a 45 bool "RMI4 Function 03 (PS2 Guest)"
d7ddad0a 46 depends on RMI4_CORE
b29c139a
DT
47 help
48 Say Y here if you want to add support for RMI4 function 03.
c5e8848f 49
b29c139a
DT
50 Function 03 provides PS2 guest support for RMI4 devices. This
51 includes support for TrackPoints on TouchPads.
c5e8848f 52
413d3732
AB
53config RMI4_F03_SERIO
54 tristate
55 depends on RMI4_CORE
56 depends on RMI4_F03
57 default RMI4_CORE
58 select SERIO
59
ff8f8370
AD
60config RMI4_2D_SENSOR
61 bool
ff8f8370
AD
62
63config RMI4_F11
64 bool "RMI4 Function 11 (2D pointing)"
65 select RMI4_2D_SENSOR
ff8f8370
AD
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.
b43d2c1e
AD
72
73config RMI4_F12
74 bool "RMI4 Function 12 (2D pointing)"
75 select RMI4_2D_SENSOR
b43d2c1e
AD
76 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.
562b42d3
AD
82
83config RMI4_F30
84 bool "RMI4 Function 30 (GPIO LED)"
562b42d3
AD
85 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.
3a762dbd 90
29fd0ec2
ND
91config RMI4_F34
92 bool "RMI4 Function 34 (Device reflash)"
29fd0ec2
ND
93 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
3a762dbd
ND
101config RMI4_F54
102 bool "RMI4 Function 54 (Analog diagnostics)"
47d8e00c 103 depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
3a762dbd 104 select VIDEOBUF2_VMALLOC
c762cc68 105 select RMI4_F55
3a762dbd
ND
106 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.
6adba43f
GR
111
112config RMI4_F55
113 bool "RMI4 Function 55 (Sensor tuning)"
6adba43f
GR
114 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.
b29c139a
DT
119
120endif # RMI_CORE