Re: [PATCH 1/4] ARM:dts:sun7i: Add keypad clk node

2015-09-15 Thread Maxime Ripard
On Wed, Sep 16, 2015 at 12:05:54AM +1000, yassinjaf...@gmail.com wrote: > From: Yassin Jaffer > > This patch add support to the keypad clock on sun7i > > Signed-off-by: Yassin Jaffer Applied, thanks! Maxime -- Maxime Ripard, Free Electrons

RE: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 OnKey driver

2015-09-15 Thread Stephen Twiss
On 23 July 2015 17:18, Steve Twiss wrote: > Subject: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 > OnKey driver > > From: S Twiss > > Add DA9062 OnKey support into the existing DA9063 OnKey driver > component by > using generic access

Re: [PATCH v5 3/9] Input: goodix - reset device at init

2015-09-15 Thread Aleksei Mamlin
On Mon, 7 Sep 2015 17:36:17 +0300 Irina Tirdea wrote: > After power on, it is recommended that the driver resets the device. > The reset procedure timing is described in the datasheet and is used > at device init (before writing device configuration) and > for power

RE: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 OnKey driver

2015-09-15 Thread Opensource [Steve Twiss]
This is a resend of my previous e-mail sent just a couple of minutes ago -- this one removes the copyright footer that was added by our IT department On 23 July 2015 17:18, Steve Twiss wrote: > Subject: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 > OnKey driver > >

[PATCH] input: touchscreen: ti_am335x_tsc: Fix HWPEN interrupt handling

2015-09-15 Thread Dave Gerlach
Remove write to REG_IRQCLR and REG_IRQWAKEUP in interrupt handler for IRQENB_HW_PEN as the resume handler should and does clear REG_IRQWAKEUP. IRQENB_HW_PEN bit is set in irqclr so that all interrupts get cleared later so let IRQENB_HW_PEN be cleared by that. Without this patch wakeup events from

Re: [PATCH RESEND v2] HID: Add new Microsoft Type Cover 3 product ID

2015-09-15 Thread Donavan Lance
On Tue, 2015-09-15 at 12:44 -0400, Donavan Lance wrote: > Adds support for Microsoft Type Cover 3 with 0x07e2 product ID. > > Signed-off-by: Donavan Lance > --- > drivers/hid/hid-core.c | 2 ++ > drivers/hid/hid-ids.h | 1 + >

Re: [PATCH 6/6] ARM: dts: set up trigger type for edt-ft5x06 interrupts

2015-09-15 Thread Tony Lindgren
* Felipe Balbi [150914 14:28]: > On Sat, Sep 12, 2015 at 10:45:51AM -0700, Dmitry Torokhov wrote: > > Now that the driver respects IRQ trigger settings from device tree, let's > > fix them up in individual DTSes (note that the driver is still compatible > > with older DTSes). > > >

Re: [PATCH v2 1/2] input: Add Qualcomm PM8941 power key driver

2015-09-15 Thread Ivan T. Ivanov
On Fri, 2015-01-23 at 16:19 -0800, Bjorn Andersson wrote: > From: Courtney Cavin ca...@sonymobile.com> > > Signed-off-by: Courtney Cavin ca...@sonymobile.com> > Signed-off-by: Bjorn Andersson anders...@sonymobile.com> > > > +config INPUT_PM8941_PWRKEY > + tristate "Qualcomm PM8941

Re: [PATCH RESEND v2] HID: Add new Microsoft Type Cover 3 product ID

2015-09-15 Thread Bastien Nocera
On Tue, 2015-09-15 at 12:48 -0400, Donavan Lance wrote: > Patch resent again since it got mangled again. I've tested emailing > this one multiple times and so should be fine, but I'll refrain from > sending out this patch again. Apologies for spamming the list with > this > patch. Are you using

Re: [PATCH 4/4] devicetree: bindings:Allwinner sun4i keypad

2015-09-15 Thread Maxime Ripard
On Wed, Sep 16, 2015 at 12:05:57AM +1000, yassinjaf...@gmail.com wrote: > From: Yassin Jaffer > > Signed-off-by: Yassin Jaffer > --- > .../devicetree/bindings/input/sun4i-keypad.txt | 56 > ++ > 1 file changed, 56

[PATCH RESEND v2] HID: Add new Microsoft Type Cover 3 product ID

2015-09-15 Thread Donavan Lance
Adds support for Microsoft Type Cover 3 with 0x07e2 product ID. Signed-off-by: Donavan Lance --- drivers/hid/hid-core.c | 2 ++ drivers/hid/hid-ids.h | 1 + drivers/hid/hid-microsoft.c | 2 ++ drivers/hid/usbhid/hid-quirks.c | 1 + 4 files changed,

[PATCH 2/4] ARM: dts: sun7i: Add keypad node to Allwinner A20 SoC

2015-09-15 Thread yassinjaffer
From: Yassin Jaffer Add Keypad controller node definition to the A20 SoC. Signed-off-by: Yassin Jaffer --- arch/arm/boot/dts/sun7i-a20.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi

[PATCH 3/4] input: Add new sun4i-keypad driver

2015-09-15 Thread yassinjaffer
From: Yassin Jaffer Allwinnner SUN4i Keypad controller is used to interface a SoC with a matrix-typekeypad device. The keypad controller supports multiple row and column lines. A key can be placed at each intersection of a unique row and a unique column. The keypad

[PATCH v6 5/9] Input: goodix - add power management support

2015-09-15 Thread Irina Tirdea
Implement suspend/resume for goodix driver. The suspend and resume process uses the gpio pins. If the device ACPI/DT information does not declare gpio pins, suspend/resume will not be available for these devices. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-15 Thread Ian Campbell
On Sat, 2015-09-12 at 15:26 +0200, Hans de Goede wrote: > Add a symlink to uapi/linux/input-event-codes.h, and include that instead > of (re)defining all the evdev type and code values in > dt-bindings/input/input.h. This way we do not need to keep all the > event codes synced manually. > >

NEW SUN4i KEYPAD DRIVER

2015-09-15 Thread yassinjaffer
This series adds support for the sun4i keypad Controller I've tested the driver in a A20 custom board (4x4) only Allwinner keypad controller does not seem to handle more than two key press Please test and report bugs. Thank you in advance [PATCH 1/4] ARM:dts:sun7i: Add keypad clk node [PATCH

[PATCH 1/4] ARM:dts:sun7i: Add keypad clk node

2015-09-15 Thread yassinjaffer
From: Yassin Jaffer This patch add support to the keypad clock on sun7i Signed-off-by: Yassin Jaffer --- arch/arm/boot/dts/sun7i-a20.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi

[PATCH 4/4] devicetree: bindings:Allwinner sun4i keypad

2015-09-15 Thread yassinjaffer
From: Yassin Jaffer Signed-off-by: Yassin Jaffer --- .../devicetree/bindings/input/sun4i-keypad.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/sun4i-keypad.txt

[PATCH v6 9/9] Input: goodix - add runtime power management support

2015-09-15 Thread Irina Tirdea
Add support for runtime power management so that the device is turned off when not used (when the userspace holds no open handles of the input device). The device uses autosuspend with a default delay of 2 seconds, so the device will suspend if no handles to it are open for 2 seconds. The runtime

[PATCH v6 7/9] Input: goodix - add support for ESD

2015-09-15 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. The ESD poll time (in ms) can be set through the sysfs property esd_timeout. If it

[PATCH v6 4/9] Input: goodix - write configuration data to device

2015-09-15 Thread Irina Tirdea
Goodix devices can be configured by writing custom data to the device at init. The configuration data is read with request_firmware from "goodix__cfg.bin", where is the product id read from the device (e.g.: goodix_911_cfg.bin for Goodix GT911, goodix_9271_cfg.bin for GT9271). The configuration

[PATCH v6 8/9] Input: goodix - add sysfs interface to dump config

2015-09-15 Thread Irina Tirdea
Goodix devices have a configuration information register area that specify various parameters for the device. The configuration information has a specific format described in the Goodix datasheet. It includes X/Y resolution, maximum supported touch points, interrupt flags, various sesitivity

[PATCH v6 6/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-09-15 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c

[PATCH v6 0/9] Goodix touchscreen enhancements

2015-09-15 Thread Irina Tirdea
Add several enhancements to the Goodix touchscreen driver. This version includes a couple of fixes. Thanks, Irina Changes in v6: - skip runtime power manangent calls in open/close if the device ACPI/DT configuration does not declare interrupt and reset gpio pins. - reset the device before

[PATCH v6 3/9] Input: goodix - reset device at init

2015-09-15 Thread Irina Tirdea
After power on, it is recommended that the driver resets the device. The reset procedure timing is described in the datasheet and is used at device init (before writing device configuration) and for power management. It is a sequence of setting the interrupt and reset pins high/low at specific

[PATCH v6 1/9] Input: goodix - sort includes alphabetically

2015-09-15 Thread Irina Tirdea
Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera --- drivers/input/touchscreen/goodix.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index

RE: [PATCH v5 3/9] Input: goodix - reset device at init

2015-09-15 Thread Tirdea, Irina
> -Original Message- > From: Aleksei Mamlin [mailto:mamli...@gmail.com] > Sent: 15 September, 2015 12:48 > To: Tirdea, Irina > Cc: Dmitry Torokhov; Bastien Nocera; linux-input@vger.kernel.org; Mark > Rutland; Purdila, Octavian; linux-ker...@vger.kernel.org; > devicet...@vger.kernel.org