Re: [linux-sunxi] [PATCH 1/3] dts-binding: input: sun7ips2: Device tree bindings for Allwinner sun7i A20 PS2 host controller

2014-12-05 Thread Vishnu Patekar
On Fri, Dec 5, 2014 at 1:13 AM, Hans de Goede hdego...@redhat.com wrote: Hi, Interesting patch-set. I knew the A10 / A20 had ps/2 but I did not expect anyone to use it :) I'll try to make some time to give this a try an A10, guess I need to desolder a ps2 female connector from some old

Re: [linux-sunxi] [PATCH 1/3] dts-binding: input: sun7ips2: Device tree bindings for Allwinner sun7i A20 PS2 host controller

2014-12-05 Thread Hans de Goede
Hi, On 12/05/2014 09:13 AM, Vishnu Patekar wrote: On Fri, Dec 5, 2014 at 1:13 AM, Hans de Goede hdego...@redhat.com wrote: Hi, Interesting patch-set. I knew the A10 / A20 had ps/2 but I did not expect anyone to use it :) I'll try to make some time to give this a try an A10, guess I need to

Re: [linux-sunxi] [PATCH 3/3] ARM:dts:sun7i:ps2 added nodes for Sun7i A20 PS2 controller. added ps2 nodes in lime2 board dts.

2014-12-05 Thread Vishnu Patekar
On Fri, Dec 5, 2014 at 1:34 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 12/04/2014 12:06 AM, vishnupatekar wrote: --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 10 arch/arm/boot/dts/sun7i-a20.dtsi| 30 ++- 2 files

[linux-sunxi] Re: [PATCH 2/3] drivers:input:ps2 Added sunxi A20 ps2 driver, changed makefile and Kconfig

2014-12-05 Thread Arnd Bergmann
On Thursday 04 December 2014 04:23:44 vishnupatekar wrote: + +#define DRIVER_NAME sunxi-ps2 + +#define RESSIZE(res)(((res)-end - (res)-start)+1) Remove this and use the existing resource_size() function + +struct sunxips2data { + int irq; + spinlock_t ps2_lock;

[linux-sunxi] Status of sunxi gpio in the mainline kernel

2014-12-05 Thread bruce bushby
Hi I've been using the Olimex A20-SOM and having a lot of success using the mainline kernelso far everything just works so a big thank you to all the contributors!! One area I'm struggling with is gpio I see there are various patches about:

Re: [linux-sunxi] Status of sunxi gpio in the mainline kernel

2014-12-05 Thread Iain Paton
On 05/12/14 10:54, bruce bushby wrote: Hi I've been using the Olimex A20-SOM and having a lot of success using the mainline kernelso far everything just works so a big thank you to all the contributors!! One area I'm struggling with is gpio I see there are various patches about:

[linux-sunxi] Re: [PATCH 2/3] drivers:input:ps2 Added sunxi A20 ps2 driver, changed makefile and Kconfig

2014-12-05 Thread Dmitry Torokhov
Hi Arnd, On December 5, 2014 2:33:11 AM PST, Arnd Bergmann a...@arndb.de wrote: On Thursday 04 December 2014 04:23:44 vishnupatekar wrote: + +struct sunxips2data { +int irq; +spinlock_t ps2_lock; +void __iomem *base_address; /* virt address of control registers*/ +struct

Re: [linux-sunxi] Status of sunxi gpio in the mainline kernel

2014-12-05 Thread bruce bushby
Many thanks Iain!! At least the number matches up :) [root@A20-SOM gpiochip0]# pwd /sys/class/gpio/gpiochip0 [root@A20-SOM gpiochip0]# cat ngpio 288 [root@A20-SOM gpiochip0]# I'm attempting to add this kernel module: https://github.com/tallakt/servodrive/blob/master/files/servodrive.c But I

[linux-sunxi] Re: [PATCH 2/3] drivers:input:ps2 Added sunxi A20 ps2 driver, changed makefile and Kconfig

2014-12-05 Thread Arnd Bergmann
On Friday 05 December 2014 07:01:17 Dmitry Torokhov wrote: On December 5, 2014 2:33:11 AM PST, Arnd Bergmann a...@arndb.de wrote: On Thursday 04 December 2014 04:23:44 vishnupatekar wrote: + +struct sunxips2data { +int irq; +spinlock_t ps2_lock; +void __iomem

[linux-sunxi] Re: [PATCH 2/3] drivers:input:ps2 Added sunxi A20 ps2 driver, changed makefile and Kconfig

2014-12-05 Thread Dmitry Torokhov
On December 5, 2014 7:50:18 AM PST, Arnd Bergmann a...@arndb.de wrote: On Friday 05 December 2014 07:01:17 Dmitry Torokhov wrote: On December 5, 2014 2:33:11 AM PST, Arnd Bergmann a...@arndb.de wrote: On Thursday 04 December 2014 04:23:44 vishnupatekar wrote: + +struct sunxips2data { +

Re: [linux-sunxi] Status of sunxi gpio in the mainline kernel

2014-12-05 Thread selsinork
On 05/12/14 15:10, bruce bushby wrote: I'm attempting to add this kernel module: https://github.com/tallakt/servodrive/blob/master/files/servodrive.c But I don't know what gpio.h I can useany ideas? looks like it uses include/linux/gpio.h from within the kernel source tree, however, I