Re: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 03:43:00PM -0700, Dmitry Torokhov wrote: > On Thu, Jul 23, 2015 at 05:17:41PM +0100, S Twiss wrote: > > From: S Twiss > > > > Add device tree bindings for the DA9062 OnKey driver component > > > > Signed-off-by: Steve Twiss > > > > --- > > Changes in V3: > > - Child dr

Re: [PATCH v2 2/4] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-07-27 Thread Shawn Guo
On Thu, Jul 16, 2015 at 08:43:20PM +0530, Sanchayan Maity wrote: > Add device tree node for touchscreen support on Colibri VF50. The > touchscreen functionality on VF50 uses the ADC channels of Vybrid > and some GPIOs. Also add pinctrl nodes for proper pinmux. > > Signed-off-by: Sanchayan Maity >

Re: [PATCH v2 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node

2015-07-27 Thread Shawn Guo
On Thu, Jul 16, 2015 at 08:43:19PM +0530, Sanchayan Maity wrote: > This commit adds io-channel-cells property to the ADC node. This > property is required in order for an IIO consumer driver to work. > Especially required for Colibri VF50, as the touchscreen driver > uses ADC channels with the ADC

RE: [PATCH 2/2] CHROMIUM: elants_i2c.c: Disable idle mode before firmware upgrade procedure.

2015-07-27 Thread James Chen
Dear Dmitry: We need to correct the value of sending fastboot or IAP command is 100msec not 40 msec. The firmware of all of volume-productions are used 100msec instead of 40msec. And I will correct the comment. James -Original Message- From: linux-input-ow...@vger.kernel.org [mailto:lin

[PATCH] input: gpio_keys: Don't report events on gpio failure

2015-07-27 Thread Bjorn Andersson
In the cases where the gpio chip fails to acquire the current state an error is reported back to gpio_keys. This is currently interpreted as if the line went high, which just confuses the developer. This patch introduces an error print in this case and skipps the reporting of a input event; to aid

[PATCH] input: gpio_keys: Make pdev vs dev usage more consistent

2015-07-27 Thread Bjorn Andersson
As gpio_keys_setup_key() only operates on the device, pass a pointer to this from the probe instead of a platform_device and make the usage consistent. Also make probe() more consistent by dropping the local copy of the device pointer. Signed-off-by: Bjorn Andersson --- drivers/input/keyboard/gp

Re: [PATCH 5/5] Input: tsc2005 - convert to gpiod

2015-07-27 Thread Dmitry Torokhov
On Wed, Jul 22, 2015 at 10:04:45PM +0200, Sebastian Reichel wrote: > The GPIOD API can be used from boardcode, so that > the DT check can be removed. To avoid breaking > existing boardcode, _optional() variant has been > chosen. For completly removing the DT check, the > regulator has also been mad

[PATCH] HID: hid-input: Fix accessing freed memory during driver unbind

2015-07-27 Thread Krzysztof Kozlowski
During unbinding the driver was dereferencing a pointer to memory already freed by power_supply_unregister(). Driver was freeing its internal description of battery through pointers stored in power_supply structure. However, because the core owns the power supply instance, after calling power_supp

[PATCH] HID: i2c-hid: Only disable irq wake if it was successfully enabled during suspend

2015-07-27 Thread Andrew Duggan
On at least one platform the kernel prints a warning on resume saying "Unbalanced IRQ 37 wake disable". This is because enable_irq_wake in the suspend function is failing. This patch checks to see if the call to enable_irq_wake succeeded before calling disable_irq_wake. Signed-off-by: Andrew Dugga

Re: Bad change in commit 297d716f6260cc9421d971b124ca196b957ee458?

2015-07-27 Thread Krzysztof Kozlowski
On 27.07.2015 22:10, H.J. Lu wrote: > Hi, > > This commit: > > commit 297d716f6260cc9421d971b124ca196b957ee458 > Author: Krzysztof Kozlowski > Date: Thu Mar 12 08:44:11 2015 +0100 > > power_supply: Change ownership from driver to core > > Change the ownership of power_supply structur

Re: ALPS DualPoint double click bug

2015-07-27 Thread Douglas Christman
On Mon, Jul 27, 2015 at 12:40 PM, Hans de Goede wrote: > > OK, please let me know soon, I would like to get to the bottom > of this, and knowing the exact commit causing the problem will > help a lot. > > Regards, > > hans I've verified that reverting 92bac83d on a clean v4.1 kernel (b953c0d2) re

Re: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-07-27 Thread Dmitry Torokhov
On Thu, Jul 23, 2015 at 05:17:41PM +0100, S Twiss wrote: > From: S Twiss > > Add device tree bindings for the DA9062 OnKey driver component > > Signed-off-by: Steve Twiss > > --- > Changes in V3: > - Child driver specifics separated out into separate document >in this case ../input/da9062

Re: [PATCH v3] usbtouchscreen: add option for inverting X or Y axis

2015-07-27 Thread Dmitry Torokhov
On Tue, Jul 28, 2015 at 12:16:01AM +0200, Philippe Coval wrote: > Invert Y is needed (together with swap XY) for some touchscreens, > at least for some of them : > > - CarTft 8in4 (type=eGalax, USB=0eef:0001) > - LeadingTouch > > Since there is not guarantee that > those above devices will all be

[PATCH v3] usbtouchscreen: add option for inverting X or Y axis

2015-07-27 Thread Philippe Coval
Invert Y is needed (together with swap XY) for some touchscreens, at least for some of them : - CarTft 8in4 (type=eGalax, USB=0eef:0001) - LeadingTouch Since there is not guarantee that those above devices will all behave the same, it's safer to configure them userland using udev rules. This way

Re: [PATCH] Input: zforce_ts - fix playload length check

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 11:53:27PM +0200, Heiko Stübner wrote: > Am Montag, 27. Juli 2015, 14:44:42 schrieb Dmitry Torokhov: > > On Mon, Jul 27, 2015 at 11:35:23PM +0200, Heiko Stübner wrote: > > > Hi Dmitry, > > > > > > Am Montag, 27. Juli 2015, 14:06:19 schrieb Dmitry Torokhov: > > > > Commit 7d

Re: [PATCH 1/5] input: touchscreen: add imx6ul_tsc driver support

2015-07-27 Thread Dmitry Torokhov
Hi Haibo, On Mon, Jul 27, 2015 at 07:26:43PM +0800, Haibo Chen wrote: > Freescale i.MX6UL contains a internal touchscreen controller, > this patch add a driver to support this controller. > > Signed-off-by: Haibo Chen > --- > drivers/input/touchscreen/Kconfig | 12 + > drivers/input/touch

Re: [PATCH] Input: zforce_ts - fix playload length check

2015-07-27 Thread Heiko Stübner
Am Montag, 27. Juli 2015, 14:44:42 schrieb Dmitry Torokhov: > On Mon, Jul 27, 2015 at 11:35:23PM +0200, Heiko Stübner wrote: > > Hi Dmitry, > > > > Am Montag, 27. Juli 2015, 14:06:19 schrieb Dmitry Torokhov: > > > Commit 7d01cd261c76f95913c81554a751968a1d282d3a ("Input: zforce - don't > > > overwr

Re: [PATCH] Input: zforce_ts - fix playload length check

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 11:35:23PM +0200, Heiko Stübner wrote: > Hi Dmitry, > > Am Montag, 27. Juli 2015, 14:06:19 schrieb Dmitry Torokhov: > > Commit 7d01cd261c76f95913c81554a751968a1d282d3a ("Input: zforce - don't > > overwrite the stack") attempted to add a check for payload size being too > >

Re: [PATCH] Input: zforce_ts - fix playload length check

2015-07-27 Thread Heiko Stübner
Hi Dmitry, Am Montag, 27. Juli 2015, 14:06:19 schrieb Dmitry Torokhov: > Commit 7d01cd261c76f95913c81554a751968a1d282d3a ("Input: zforce - don't > overwrite the stack") attempted to add a check for payload size being too > large for the supplied buffer. Unfortunately with the currently selected >

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 20, 2015 at 03:05:44PM +0300, Robert Dolca wrote: > Hi Dmitry, > > On Mon, Jul 20, 2015 at 9:51 AM, Dmitry Torokhov > wrote: > > On Fri, Jul 10, 2015 at 06:11:04PM +0300, Robert Dolca wrote: > > > This driver adds support for Silead touchscreens. It has been tested > > > with GSL1680

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 04:49:22PM +0530, Vignesh R wrote: > > > On 07/27/2015 04:19 PM, Roger Quadros wrote: > > Hi, > > > > On 23/07/15 17:54, Vignesh R wrote: > >> On am437x-gp-evm, pixcir touchscreen can wake the system from low power > >> state by generating wake-up interrupt via pinctrl an

Re: [PATCH 2/4] Input: zforce - swap reset and interrupt GPIO

2015-07-27 Thread Dmitry Torokhov
On Sat, Jul 25, 2015 at 07:19:04AM +0200, Dirk Behme wrote: > > Btw, what does 'attn' stand for? "attention" > I'd name it int-gpio. Works as well. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.or

Re: [PATCH 2/4] Input: zforce - swap reset and interrupt GPIO

2015-07-27 Thread Dmitry Torokhov
Hi Dirk, On Mon, Jul 27, 2015 at 10:12:43AM +0200, Dirk Behme wrote: > On 25.07.2015 07:19, Dirk Behme wrote: > >On 24.07.2015 23:32, Dmitry Torokhov wrote: > >>On Mon, Jul 20, 2015 at 02:56:35PM +0200, Dirk Behme wrote: > >>>From: Dirk Behme > >>> > >>>Swap the order of the reset and interrupt G

[PATCH] Input: zforce_ts - fix playload length check

2015-07-27 Thread Dmitry Torokhov
Commit 7d01cd261c76f95913c81554a751968a1d282d3a ("Input: zforce - don't overwrite the stack") attempted to add a check for payload size being too large for the supplied buffer. Unfortunately with the currently selected buffer size the comparison is always false as buffer size is larger than the val

[PATCH] HID: use generic driver for ThingM blink(1) if !CONFIG_HID_THINGM

2015-07-27 Thread Reilly Grant
In commit 30ba2fbde1840db44 an LED class driver for this device was added and at the same time it was blacklisted by the hid-generic driver. This patch removes the device from the hid-generic driver's blacklist if the LED class driver is not enabled. Signed-off-by: Reilly Grant --- drivers/hid/h

Re: ALPS DualPoint double click bug

2015-07-27 Thread Hans de Goede
Hi, On 25-07-15 16:07, Douglas Christman wrote: On Thu, Jul 23, 2015 at 5:31 AM, Hans de Goede wrote: Hi, On 22-07-15 17:08, Benjamin Tissoires wrote: Douglas, can you please make a recording of your touchpad/trackstick with ps2emu-record? Download it from https://github.com/Lyude/ps2emu ,

Re: [PATCH 5/5] ARM: dts: imx6ul-14x14-evk.dts: add tsc support

2015-07-27 Thread Shawn Guo
On Mon, Jul 27, 2015 at 07:26:47PM +0800, Haibo Chen wrote: > Add touch screen surpport for i.MX6UL-EVK board. > > Signed-off-by: Haibo Chen > --- > arch/arm/boot/dts/imx6ul-14x14-evk.dts | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-14x14

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-27 Thread Linus Walleij
On Thu, Jul 23, 2015 at 8:25 PM, Lars-Peter Clausen wrote: > On 07/22/2015 07:33 PM, Alban Bedel wrote: >> >> diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c >> index 54c80d4..3dc500c 100644 >> --- a/arch/mips/jz4740/gpio.c >> +++ b/arch/mips/jz4740/gpio.c >> @@ -262,18 +262,6 @@ ui

Re: [PATCH] HID: core: do not reject devices when they declare too many usages

2015-07-27 Thread Jiri Kosina
On Fri, 24 Jul 2015, Benjamin Tissoires wrote: > Some device present proprietary collections with a usage min of 0x00 and > a usage max of 0x. hid-core currently reject them while most of the > time this is harmless. > Let's ignore the exceeding usages, and hope for the best. Okay, why not, t

[PATCH 0/5] Add imx6ul touch screen controller support

2015-07-27 Thread Haibo Chen
i.MX6UL contains a touch screen controller. This patch set add imx6ul touch screen controller driver support. Haibo Chen (5): input: touchscreen: add imx6ul_tsc driver support Documentation: Detail permitted DT properties for the imx6ul_tsc ARM: imx_v6_v7_defconfig: enable imx6ul_tsc ARM

[PATCH 1/5] input: touchscreen: add imx6ul_tsc driver support

2015-07-27 Thread Haibo Chen
Freescale i.MX6UL contains a internal touchscreen controller, this patch add a driver to support this controller. Signed-off-by: Haibo Chen --- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/imx6ul_tsc.c | 510 +++

Re: [PATCH 4/5] ARM: dts: imx6ul.dtsi: add TSC support

2015-07-27 Thread Mark Rutland
On Mon, Jul 27, 2015 at 12:26:46PM +0100, Haibo Chen wrote: > Add imx6ul touchscreen controller support. > > TSC module need ADC2 module to measure the touchscreen > coordinate value. This patch put TSC and ADC2 together, > make ADC2 module only be used for TSC, can't be used as > a normal ADC. >

Re: [PATCH 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc

2015-07-27 Thread Mark Rutland
On Mon, Jul 27, 2015 at 12:26:44PM +0100, Haibo Chen wrote: > Here we apply required documentation for the imx6ul touch screen > controller driver which describe available properties and how to > use them. > > Signed-off-by: Haibo Chen > --- > .../devicetree/bindings/input/touchscreen/imx6ul_tsc

[PATCH 3/5] ARM: imx_v6_v7_defconfig: enable imx6ul_tsc

2015-07-27 Thread Haibo Chen
Enable imx6ul touchscreen controller Signed-off-by: Haibo Chen --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index e1ba3e2..9823ddc 100644 --- a/arch/arm/configs/imx_v6_v7_

[PATCH 4/5] ARM: dts: imx6ul.dtsi: add TSC support

2015-07-27 Thread Haibo Chen
Add imx6ul touchscreen controller support. TSC module need ADC2 module to measure the touchscreen coordinate value. This patch put TSC and ADC2 together, make ADC2 module only be used for TSC, can't be used as a normal ADC. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx6ul.dtsi | 11 ++

[PATCH 5/5] ARM: dts: imx6ul-14x14-evk.dts: add tsc support

2015-07-27 Thread Haibo Chen
Add touch screen surpport for i.MX6UL-EVK board. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx6ul-14x14-evk.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index 61b41ee..323d32d 10

[PATCH 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc

2015-07-27 Thread Haibo Chen
Here we apply required documentation for the imx6ul touch screen controller driver which describe available properties and how to use them. Signed-off-by: Haibo Chen --- .../devicetree/bindings/input/touchscreen/imx6ul_tsc.txt | 14 ++ 1 file changed, 14 insertions(+) create mode

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Vignesh R
On 07/27/2015 04:19 PM, Roger Quadros wrote: > Hi, > > On 23/07/15 17:54, Vignesh R wrote: >> On am437x-gp-evm, pixcir touchscreen can wake the system from low power >> state by generating wake-up interrupt via pinctrl and IO daisy chain. >> Add support for optional wakeup interrupt source by re

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Roger Quadros
Hi, On 23/07/15 17:54, Vignesh R wrote: > On am437x-gp-evm, pixcir touchscreen can wake the system from low power > state by generating wake-up interrupt via pinctrl and IO daisy chain. > Add support for optional wakeup interrupt source by regsitering to > automated wake IRQ framework introduced b

Re: [PATCH 2/4] Input: zforce - swap reset and interrupt GPIO

2015-07-27 Thread Dirk Behme
On 25.07.2015 07:19, Dirk Behme wrote: On 24.07.2015 23:32, Dmitry Torokhov wrote: On Mon, Jul 20, 2015 at 02:56:35PM +0200, Dirk Behme wrote: From: Dirk Behme Swap the order of the reset and interrupt GPIO. This is the preparation to make the interrupt GPIO optional. Note that this needs th