diff options
author | Nick Dyer <nick@shmanahar.org> | 2016-07-18 18:10:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-23 16:33:54 -0300 |
commit | 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d (patch) | |
tree | 005779a4c775602ec6dc090f04366e5ba20b7039 /drivers/input/rmi4/Kconfig | |
parent | 06b3d3f38c19601564cdd10443edbcac5c8293e2 (diff) | |
download | linux-stable-3a762dbd5347514c3cb2ac756a92a3d1c7646a2d.tar.gz linux-stable-3a762dbd5347514c3cb2ac756a92a3d1c7646a2d.tar.bz2 linux-stable-3a762dbd5347514c3cb2ac756a92a3d1c7646a2d.zip |
[media] Input: synaptics-rmi4 - add support for F54 diagnostics
Function 54 implements access to various RMI4 diagnostic features.
This patch adds support for retrieving this data. It registers a V4L2
device to output the data to user space.
Signed-off-by: Nick Dyer <nick@shmanahar.org>
Tested-by: Andrew Duggan <aduggan@synaptics.com>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/Kconfig')
-rw-r--r-- | drivers/input/rmi4/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/input/rmi4/Kconfig b/drivers/input/rmi4/Kconfig index f73df2495fed..f3418b65eb41 100644 --- a/drivers/input/rmi4/Kconfig +++ b/drivers/input/rmi4/Kconfig @@ -61,3 +61,14 @@ config RMI4_F30 Function 30 provides GPIO and LED support for RMI4 devices. This includes support for buttons on TouchPads and ClickPads. + +config RMI4_F54 + bool "RMI4 Function 54 (Analog diagnostics)" + depends on RMI4_CORE + depends on VIDEO_V4L2 + select VIDEOBUF2_VMALLOC + help + Say Y here if you want to add support for RMI4 function 54 + + Function 54 provides access to various diagnostic features in certain + RMI4 touch sensors. |