[PATCH] ARM: shmobile: kzm9g dts: Add adxl345-specific compatible property

2015-07-06 Thread Geert Uytterhoeven
The accelerometer node used the generic compatible property only. Add the device-specific one, to make it future proof. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Depends on commit 3a38958d2477b718 (Input: adxl34x - add OF match support), which is in v4.2-rc1. ---

Re: [PATCH] ARM: shmobile: kzm9g dts: Add adxl345-specific compatible property

2015-07-06 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Monday 06 July 2015 11:59:06 Geert Uytterhoeven wrote: The accelerometer node used the generic compatible property only. Add the device-specific one, to make it future proof. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Depends on

hid-rmi: configuration automatically changed after suspend/resume

2015-07-06 Thread Gabriele Mazzotta
Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11 control register is set to the default configuration, thus undoing the changes performed on init. I made some changes to the driver to prevent this from happening: the configuration is saved on

Re: [PATCH] ARM: shmobile: kzm9g dts: Add adxl345-specific compatible property

2015-07-06 Thread Geert Uytterhoeven
On Mon, Jul 6, 2015 at 12:17 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts @@ -206,7 +206,7 @@ }; accelerometer@1d { - compatible = adi,adxl34x; +

[PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-07-06 Thread Geert Uytterhoeven
Replace the deprecated generic adi,adxl34x compatible value by the adxl345-specific adi,adxl345 value, cfr. commit e465bf6fc55d5ce2 (DT: i2c: Deprecate adi,adxl34x compatible string). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Depends on commit 3a38958d2477b718 (Input: adxl34x

Re: [PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-07-06 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Monday 06 July 2015 12:55:32 Geert Uytterhoeven wrote: Replace the deprecated generic adi,adxl34x compatible value by the adxl345-specific adi,adxl345 value, cfr. commit e465bf6fc55d5ce2 (DT: i2c: Deprecate adi,adxl34x compatible string).

[PATCH] Input: arizona-haptic - convert to use managed input devices

2015-07-06 Thread Dmitry Torokhov
Using managed input device (via devm_input_allocate_device) simplifies error handling and driver removal paths and also silences CID# 712569. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/misc/arizona-haptics.c | 52 1 file

Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-07-06 Thread Matt Whitlock
On Monday, 6 July 2015, at 9:44 pm, Henrik Rydberg wrote: I think your patch is a good reduction, all in accord with what we talked about, but I have doubts that it will not create regressions. From what I have seen so far, patch-wise, the best solution is to leave the code as it is.

Re: [PATCH] Input: arizona-haptic - convert to use managed input devices

2015-07-06 Thread Joshua Clayton
Hi, It seems to me that swapping error for ret buries the functional changes in the patch... would it be better to split them into a second cleanup patch? On Monday, July 06, 2015 10:38:41 AM Dmitry Torokhov wrote: Using managed input device (via devm_input_allocate_device) simplifies error

Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-07-06 Thread Matt Whitlock
It's been four weeks, and I haven't heard back on this patch. I believe I've implemented what was requested. Is there a problem with it? On Monday, 8 June 2015, at 9:07 pm, Matt Whitlock wrote: Now that input_mt_report_pointer_emulation() can synthesize ABS_TOOL_WIDTH from ABS_MT_WIDTH_MAJOR,

Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-07-06 Thread Henrik Rydberg
Hi Matt, It's been four weeks, and I haven't heard back on this patch. I believe I've implemented what was requested. Is there a problem with it? I thought you did get response on this patch set, concerning the fabrication of force data? I seem to remember a mail from Dmitry about this,

[PATCH] Input/evdev: Add 64bit timestamp support

2015-07-06 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com As per current implementation input driver can only send ktime converted to timeval which user space again have to convert. In some cases input drivers need 64bit timestamp value from driver only so that same value can be used by upper layer without any

Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-07-06 Thread Henrik Rydberg
I think your patch is a good reduction, all in accord with what we talked about, but I have doubts that it will not create regressions. From what I have seen so far, patch-wise, the best solution is to leave the code as it is. So you believe that the current (in-tree) behavior is

Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

2015-07-06 Thread Matt Whitlock
On Monday, 6 July 2015, at 9:11 pm, Henrik Rydberg wrote: It's been four weeks, and I haven't heard back on this patch. I believe I've implemented what was requested. Is there a problem with it? I thought you did get response on this patch set, concerning the fabrication of force data? I

Re: [PATCH] Input/evdev: Add 64bit timestamp support

2015-07-06 Thread Dmitry Torokhov
Hi Anshul, On Mon, Jul 06, 2015 at 12:33:44PM -0700, Anshul Garg wrote: From: Anshul Garg aksgarg1...@gmail.com As per current implementation input driver can only send ktime converted to timeval which user space again have to convert. Why? ktime is kernel construct and thus userspace has

Re: hid-rmi: configuration automatically changed after suspend/resume

2015-07-06 Thread Andrew Duggan
Hi Gabriele, On 07/06/2015 03:20 AM, Gabriele Mazzotta wrote: Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11 control register is set to the default configuration, thus undoing the changes performed on init. This is because i2c_hid does

Re: [PATCH] input: misc: bma150: use sign_extend32() for sign extending

2015-07-06 Thread Dmitry Torokhov
On Fri, Jul 03, 2015 at 01:13:01AM +0200, Martin Kepplinger wrote: Despite it's name, sign_extend32() is used for 16 bit values aswell. Signed-off-by: Martin Kepplinger mart...@posteo.de Applied, thank you. --- drivers/input/misc/bma150.c | 7 +++ 1 file changed, 3 insertions(+), 4

Re: Re: [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch

2015-07-06 Thread Jiri Kosina
On Sat, 4 Jul 2015, linuxsea wrote: Use real names this is : From: Yang Bo linux...@163.com Signed-off-by: Yang Bo linux...@163.com Please resubmit the whole patch with your real name updated. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 2/2] Input: zforce - convert to use the gpiod interface

2015-07-06 Thread Dmitry Torokhov
Hi Dirk, On Fri, Jul 03, 2015 at 11:07:49AM +0200, Dirk Behme wrote: diff --git a/include/linux/platform_data/zforce_ts.h b/include/linux/platform_data/zforce_ts.h index 44cd90f..1794268 100644 --- a/include/linux/platform_data/zforce_ts.h +++ b/include/linux/platform_data/zforce_ts.h @@

[PATCH] HID: rmi: Disable scanning if the device is not a wake source

2015-07-06 Thread Andrew Duggan
Some touchpads are configured with firmware which continues to scan for fingers at a minimal scan rate even after receiving the HID power sleep command. This allows a finger touching the touchpad to genrate a wake event. This patch ensures that scanning is disabled if the touchpad is not a wake

Re: [PATCH] Input: arizona-haptic - convert to use managed input devices

2015-07-06 Thread Dmitry Torokhov
On Mon, Jul 06, 2015 at 12:33:06PM -0700, Joshua Clayton wrote: Hi, It seems to me that swapping error for ret buries the functional changes in the patch... would it be better to split them into a second cleanup patch? Fair enough, although I am not sure if I ever get to the renaming again

[PATCH 4/6] Input: pixcir_i2c_ts - add RESET gpio

2015-07-06 Thread Dmitry Torokhov
From: Roger Quadros rog...@ti.com The controller has a RESET pin which is usually controlled over a GPIO line. If such a GPIO is provided, perform a RESET during probe. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com ---

[PATCH 6/6] Input: pixcir_i2c_ts - use standard OF touchscreen parsing code

2015-07-06 Thread Dmitry Torokhov
Let's switch to using standard touchscreen device properties parsing module instead of doing it by hand in the driver. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/touchscreen/pixcir_i2c_ts.c | 95 ++- 1 file changed, 44 insertions(+), 51

[PATCH 3/6] Input: pixcir_i2c_ts - allow using with GPIO expanders

2015-07-06 Thread Dmitry Torokhov
We are using threaded interrupt handler and thus are allowed to sleep. Let's switch over to gpiod_get_value_cansleep() so that we do not get ugly warnings in case GPIO controller might sleep when accessing GPIO. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com ---

[PATCH 2/6] Input: pixcir_i2c_ts - switch the device over to gpiod

2015-07-06 Thread Dmitry Torokhov
This allows uniform parsing on legacy, DT and ACPI systems. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/touchscreen/pixcir_i2c_ts.c | 26 +- include/linux/platform_data/pixcir_i2c_ts.h | 1 - 2 files changed, 9 insertions(+), 18

[PATCH 5/6] Input: pixcir_i2c_ts - simplify input device initialization

2015-07-06 Thread Dmitry Torokhov
input_mt_init_slots() will perform necessary settings for performing multi-touch to single-touch emulation, we do not need to do that ourselves. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/touchscreen/pixcir_i2c_ts.c | 5 - 1 file changed, 5 deletions(-) diff

[PATCH] Input: drv260x/drv2665/drv2667 - Constify reg_default tables

2015-07-06 Thread Axel Lin
These reg_default tables are not modified after initialized, so make them const. Signed-off-by: Axel Lin axel@ingics.com --- drivers/input/misc/drv260x.c | 2 +- drivers/input/misc/drv2665.c | 2 +- drivers/input/misc/drv2667.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 1/6] Input: pixcir_i2c_ts - move platform data

2015-07-06 Thread Dmitry Torokhov
Let's move driver's platform data definitions from include/linux/input/ into include/linux/platform_data/ so that it stays with the rest of platform data definitions. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/touchscreen/pixcir_i2c_ts.c | 2 +-

[PATCH] Input: pmic8xxx-pwrkey - Support shutdown

2015-07-06 Thread Stephen Boyd
On pm8xxx PMICs, shutdown and restart are signaled to the PMIC via a pin called PS_HOLD. When this pin goes low, the PMIC performs a configurable power sequence. Add a .shutdown hook so that we can properly configure this power sequence for shutdown or restart depending on the system state.

[PATCH] Add support for SiS i2c touch driver

2015-07-06 Thread Yuger
Hi, This patch is to add support for SiS i2c touch panel. Thanks a lot. Signed-off-by: Yuger yuger...@sis.com --- drivers/input/touchscreen/Kconfig | 11 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/sis_i2c.c | 627

[PATCH] Input: elan_i2c - Change the hover event from MT to ST

2015-07-06 Thread duson
We want the hover event like BTN_LEFT, even no contract object, it still can be reported to upper OS system. Signed-off by: Duson Lin duson...@emc.com.tw --- drivers/input/mouse/elan_i2c_core.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git