Linux-libre 4.9.189-gnu
[librecmc/linux-libre.git] / drivers / input / rmi4 / Kconfig
1 #
2 # RMI4 configuration
3 #
4 config 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
12 config 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
21 config 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
30 config RMI4_2D_SENSOR
31         bool
32         depends on RMI4_CORE
33
34 config 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
45 config 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
56 config 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
65 config RMI4_F54
66         bool "RMI4 Function 54 (Analog diagnostics)"
67         depends on RMI4_CORE
68         depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)
69         select VIDEOBUF2_VMALLOC
70         help
71           Say Y here if you want to add support for RMI4 function 54
72
73           Function 54 provides access to various diagnostic features in certain
74           RMI4 touch sensors.