[PATCHv2 3/3] ARM:dts:sunxi:ps2 dt nodes for A10/A20 PS2 controller.

2014-12-06 Thread vishnupatekar
Added ps2 nodes in lime2 board dts. By default ps20 and ps21 nodes are commented as ps20 pins conflict with HDMI connector on Lime2 Board. Signed-off-by: vishnupatekar --- arch/arm/boot/dts/sun4i-a10.dtsi| 27 + arch/arm/boot/dts/sun7i-a20-olinuxino-lime2

[PATCHv2 2/3] sunxi:drivers:input:ps2 Added sunxi A10/A20 ps2 driver

2014-12-06 Thread vishnupatekar
-added compatible as allwinner,sun4i-a10-ps2 and allwinner,sun7i-a20-ps2. - added default n depends on ARCH_SUNXI || COMPILE_TEST in Kconfig. -handled errors and free resources on errors. -used BIT(x), DIV_ROUND_UP macros. -corrected style errors. Signed-off-by: vishnupatekar --- drivers/i

[PATCHv2 1/3] sunxi:dts-bindings:input:ps2 bindings for A10/A20 ps2.

2014-12-06 Thread vishnupatekar
A10 and A20 have same PS2 addresses, clocks, interrupts. added compatible as allwinner,sun4i-a10-ps2. Signed-off-by: vishnupatekar --- .../bindings/input/allwinner,sunxi-ps2.txt | 23 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCHv2 0/3] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller.

2014-12-06 Thread vishnupatekar
Here is v2 of SUNXI PS2 controller support patch-set as with v1. Changes in v2: 1. added default n depends on ARCH_SUNXI || COMPILE_TEST in Kconfig. 2. handled errors and free resources on errors. 3. used BIT(x), DIV_ROUND_UP macros. 4. corrected style errors. 5. added support for A10 also, A10 a

[PATCH] Input: gpio_keys - initialize the 'irq' variable

2014-12-06 Thread Fabio Estevam
From: Fabio Estevam Commit f2d347ff70be453e ("Input: gpio_keys - add device tree support for interrupt only keys") caused the following build warning: drivers/input/keyboard/gpio_keys.c: In function 'gpio_keys_probe': drivers/input/keyboard/gpio_keys.c:647:15: warning: 'irq' may be used uniniti

Re: Disable input device

2014-12-06 Thread Chuck Ebbert
On Sat, 29 Nov 2014 18:24:03 +0100 Pali Rohár wrote: > What do you think about adding new sysfs file "disable" (accept > values 1 or 0) for every input device? With "1" it cause that > kernel will drop all events from specific input device and if > driver provide some function is can be called

Re: Disable input device

2014-12-06 Thread Pavel Machek
On Sat 2014-11-29 18:24:03, Pali Rohár wrote: > Hello, > > there is request to introduce some option (via sysfs) to disable > one input device. Originally it was for tsc2005 touchscreen found > on Nokia N900 cellphone. Use case is to completely disable > touchscreen when phone is in pocket or w

Re: [PATCH 1/1] x86: Surface Pro 3 Type Cover 3

2014-12-06 Thread Jarrad Whitaker
Hey guys, Sorry for the very slow reply, I broke my build dir and was in the middle of exams. Tested successfully (keyboard works after a hotplug) with 3.18-rc7. Jarrad On 6 November 2014 at 07:39, Jiri Kosina wrote: > On Mon, 3 Nov 2014, Alan Wu wrote: > >> Surface Pro 3 Type Cover that works