Merge tag 'mvebu-dt-4.19-1' of git://git.infradead.org/linux-mvebu into next/dt
[linux-block.git] / drivers / input / rmi4 / Kconfig
CommitLineData
2b6a321d
AD
1#
2# RMI4 configuration
3#
4config RMI4_CORE
5 tristate "Synaptics RMI4 bus support"
24d28e4f 6 select IRQ_DOMAIN
2b6a321d
AD
7 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.
fdf51604 12
b29c139a
DT
13if RMI4_CORE
14
fdf51604
AD
15config RMI4_I2C
16 tristate "RMI4 I2C Support"
b29c139a 17 depends on I2C
fdf51604
AD
18 help
19 Say Y here if you want to support RMI4 devices connected to an I2C
20 bus.
21
22 If unsure, say Y.
ff8f8370 23
8d99758d
AD
24config RMI4_SPI
25 tristate "RMI4 SPI Support"
b29c139a 26 depends on SPI
8d99758d
AD
27 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
82264d0c
BT
33config RMI4_SMB
34 tristate "RMI4 SMB Support"
b29c139a 35 depends on I2C
82264d0c
BT
36 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
c5e8848f 45config RMI4_F03
b29c139a 46 bool "RMI4 Function 03 (PS2 Guest)"
d7ddad0a 47 depends on RMI4_CORE
b29c139a
DT
48 help
49 Say Y here if you want to add support for RMI4 function 03.
c5e8848f 50
b29c139a
DT
51 Function 03 provides PS2 guest support for RMI4 devices. This
52 includes support for TrackPoints on TouchPads.
c5e8848f 53
413d3732
AB
54config RMI4_F03_SERIO
55 tristate
56 depends on RMI4_CORE
57 depends on RMI4_F03
58 default RMI4_CORE
59 select SERIO
60
ff8f8370
AD
61config RMI4_2D_SENSOR
62 bool
ff8f8370
AD
63
64config RMI4_F11
65 bool "RMI4 Function 11 (2D pointing)"
66 select RMI4_2D_SENSOR
ff8f8370
AD
67 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.
b43d2c1e
AD
73
74config RMI4_F12
75 bool "RMI4 Function 12 (2D pointing)"
76 select RMI4_2D_SENSOR
b43d2c1e
AD
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.
562b42d3
AD
83
84config RMI4_F30
85 bool "RMI4 Function 30 (GPIO LED)"
562b42d3
AD
86 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.
3a762dbd 91
29fd0ec2
ND
92config RMI4_F34
93 bool "RMI4 Function 34 (Device reflash)"
29fd0ec2
ND
94 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
3a762dbd
ND
102config RMI4_F54
103 bool "RMI4 Function 54 (Analog diagnostics)"
47d8e00c 104 depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
3a762dbd 105 select VIDEOBUF2_VMALLOC
c762cc68 106 select RMI4_F55
3a762dbd
ND
107 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.
6adba43f
GR
112
113config RMI4_F55
114 bool "RMI4 Function 55 (Sensor tuning)"
6adba43f
GR
115 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.
b29c139a
DT
120
121endif # RMI_CORE