[PATCH 1/1] PS/2 serio driver for AVR32 devices

2008-03-06 Thread Hans-Christian Egtvedt
EN) | PSIF_BIT(CR_TXEN)); + } + + return 0; +} +#else +#define psif_suspend NULL +#define psif_resumeNULL +#endif + +static struct platform_driver psif_driver = { + .remove = __exit_p(psif_remove), + .driver = { + .name = "atmel_psif&q

Re: Where to add PS/2 driver for embedded devices in the kernel tree?

2007-12-03 Thread Hans-Christian Egtvedt
On Thu, 2007-11-29 at 15:54 -0500, Dmitry Torokhov wrote: > On Nov 29, 2007 5:26 AM, Hans-Christian Egtvedt <[EMAIL PROTECTED]> wrote: > > I am just to start the PS/2 Linux driver for the AT32AP700x devices > > (AVR32 SoC). And to get things right from the start on I wonder

Where to add PS/2 driver for embedded devices in the kernel tree?

2007-11-29 Thread Hans-Christian Egtvedt
? The mouse driver should just read data and provide input_report_rel and friends to the sub layers? The driver will be interrupt driven and use the PSIF peripheral on the device. -- With kind regards, Hans-Christian Egtvedt, Applications Engineer

Where to add PS/2 driver for embedded devices in the kernel tree?

2007-11-29 Thread Hans-Christian Egtvedt
? The mouse driver should just read data and provide input_report_rel and friends to the sub layers? The driver will be interrupt driven and use the PSIF peripheral on the device. -- With kind regards, Hans-Christian Egtvedt, Applications Engineer

Re: [PATCH 1/1] gpio_mouse driver (rewritten to GIT kernel)

2007-06-05 Thread Hans-Christian Egtvedt
On Sat, 2007-06-02 at 00:24 -0400, Dmitry Torokhov wrote: > Hi, > > On Thursday 31 May 2007 07:38, Hans-Christian Egtvedt wrote: > > This patch adds support for simulating a mouse using GPIO lines. > > > > Thank you for updating the patch. It looks much better now, I

[PATCH 1/1] gpio_mouse driver (rewritten to GIT kernel)

2007-05-31 Thread Hans-Christian Egtvedt
>= 0) + gpio_free(pdata->right); + if (pdata->bleft >= 0) + gpio_free(pdata->bleft); + if (pdata->bmiddle >= 0) + gpio_free(pdata->bmiddle); + if (pdata->bright >= 0) + gpio_free(pdata->bright); + + platform_set_drvdata(pd

Re: [PATCH 1/1] gpio_mouse driver

2007-05-30 Thread Hans-Christian Egtvedt
On Wed, 2007-05-30 at 08:30 -0400, Dmitry Torokhov wrote: > On 5/30/07, Hans-Christian Egtvedt <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-05-29 at 11:36 -0400, Dmitry Torokhov wrote: > > > Hi, > > > > > > On 5/29/07, Hans-Christian Egtvedt <[EMA

Re: [PATCH 1/1] gpio_mouse driver

2007-05-30 Thread Hans-Christian Egtvedt
On Wed, 2007-05-30 at 08:23 +0200, Hans-Christian Egtvedt wrote: > On Tue, 2007-05-29 at 11:36 -0400, Dmitry Torokhov wrote: > > I don't think it is a good idea to have timer structure in platform > > data which should really be constant. Timer shoudl be part of the >

Re: [PATCH 1/1] gpio_mouse driver

2007-05-29 Thread Hans-Christian Egtvedt
On Tue, 2007-05-29 at 11:36 -0400, Dmitry Torokhov wrote: > Hi, > > On 5/29/07, Hans-Christian Egtvedt <[EMAIL PROTECTED]> wrote: > > This patch adds support for simulating a mouse using GPIO lines. > > > > The driver needs a platform_data struct to be def

[PATCH 1/1] gpio_mouse driver

2007-05-29 Thread Hans-Christian Egtvedt
); + if (pdata->right >= 0) + gpio_free(pdata->right); + if (pdata->bleft >= 0) + gpio_free(pdata->bleft); + if (pdata->bmiddle >= 0) + gpio_free(pdata->bmiddle); + if (pdata->bright >= 0) + gpio_free(pdata->bri

[PATCH 1/1] gpio_mouse driver

2007-05-29 Thread Hans-Christian Egtvedt
From: Hans-Christian Egtvedt <[EMAIL PROTECTED]> This patch adds support for simulating a mouse using GPIO lines. The driver needs a platform_data struct to be defined and registered with the appropriate platform_device. The driver has been tested on AT32AP7000 microprocessor usi