Input: synaptics-rmi4 - add device tree support for 2d sensors and F11
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 10 Mar 2016 23:48:32 +0000 (15:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Mar 2016 00:04:05 +0000 (16:04 -0800)
commitaaa27982b3bcc3cce6a1d835673adccd75903a2e
tree1940f239eccb6f395ad12ef878fba5291c344ef7
parentff8f83708b3e36c050dc3fd7e2f04ea7f1752599
Input: synaptics-rmi4 - add device tree support for 2d sensors and F11

2D sensors have several parameter which can be set in the platform data.
This patch adds support for getting those values from devicetree.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt [new file with mode: 0644]
Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
drivers/input/rmi4/rmi_2d_sensor.c
drivers/input/rmi4/rmi_2d_sensor.h
drivers/input/rmi4/rmi_f11.c