[PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2014-12-27 Thread Gabriele Mazzotta
Despite claiming to be able to report ABS_TOOL_WIDTH, image sensors were not doing it. Make them report widths and use ABS_MT_TOUCH_MAJOR instead ABS_TOOL_WIDTH. Since the 'w' slot is used to report the finger count when two or more fingers are on the touchpad, make sure that only meaningful

[PATCH 2/2] input: synaptics - fix width calculation on image sensors

2014-12-27 Thread Gabriele Mazzotta
When two or more fingers are on the touchpad, the 'w' slot holds the finger count rather than the width. Retrieve the correct value encoded in the lower bits of 'x', 'y' and 'z'. The minimum width reported is 8 rather than 4 in this case, while the maximum remains 15. Signed-off-by: Gabriele

Re: [PATCH v2 3/5] input: misc: add tps65218 power button driver

2014-12-27 Thread Dmitry Torokhov
On Fri, Dec 26, 2014 at 09:36:48PM -0600, Felipe Balbi wrote: With this driver, we can report KEY_POWER on AM437x SK. This patch has been tested with said board. Signed-off-by: Felipe Balbi ba...@ti.com Applied, thank you. --- Changes since v1: - Add device tree documentation