summaryrefslogtreecommitdiff
path: root/include/linux/rmi.h
diff options
context:
space:
mode:
authorNick Dyer <nick@shmanahar.org>2016-11-22 17:44:12 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-22 17:59:23 -0800
commit29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0 (patch)
tree5975ca58b4d44fb37eb2dda07577350910f60726 /include/linux/rmi.h
parent792f497b22afd0563b94dd8fa129a05f762a2c25 (diff)
downloadlwn-29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0.tar.gz
lwn-29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0.zip
Input: synaptics-rmi4 - add support for F34 device reflash
Add support for updating firmware, triggered by a sysfs attribute. This patch has been tested on Synaptics S7300. Signed-off-by: Nick Dyer <nick@shmanahar.org> Tested-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rmi.h')
-rw-r--r--include/linux/rmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index ac904bb439a5..4096b0246c23 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -337,11 +337,13 @@ struct rmi_driver_data {
struct rmi_device *rmi_dev;
struct rmi_function *f01_container;
+ struct rmi_function *f34_container;
bool f01_bootloader_mode;
u32 attn_count;
int num_of_irq_regs;
int irq_count;
+ void *irq_memory;
unsigned long *irq_status;
unsigned long *fn_irq_bits;
unsigned long *current_irq_mask;