RE: TWL4030 keypad timeout interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: linux-omap-owner@xxxxxxxxxxxxxxx
> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Girish
> Sent: Wednesday, May 14, 2008 2:27 PM
> To: felipe.balbi@xxxxxxxxx
> Cc: 'Felipe Balbi'; 'Linux OMAP Mailing List'
> Subject: RE: TWL4030 keypad timeout interrupt
>
>
>
> >-----Original Message-----
> >From: Felipe Balbi [mailto:felipe.balbi@xxxxxxxxx]
> >Sent: Wednesday, May 14, 2008 1:46 PM
> >To: ext Girish
> >Cc: 'Felipe Balbi'; felipe.balbi@xxxxxxxxx; 'Linux OMAP Mailing List'
> >Subject: Re: TWL4030 keypad timeout interrupt
> >
> >Ok, good :-)
> >thanks
> >
> >>
> >> >So if i read it correctly, we might have 0 set as our timeout.
> >> >
> >> >which might explain why we only see the timeout interrupt when
> >> >releasing the key.
> >> >
> >> >Am I right ?
> >>
> >> Well, the timeout is here to help the controller come out of
> >hangs, if any.
> >
> >But is it possible that whenever we release a key we get a
> timeout? I
> >think something is wrong there.
>
> No, it's an empty timeout feature, an interrupt is generated
> if no key is pressed during that period of time.
>
>
> Regards,
> Girish

This feature allows the TWL4030 keypad internal sequencer to go to idle state if no keypresses are made for the period of time programmed in the timeout register.The reason why you are seeing this only after a release is because this timeout feature is activated only after a release event.Thus when a key is release you see a keyreleased event interrupt and after the programmed timeout interval is over a timeout event interrupt.This timeout interrupt does nothing but tell you that the keypad internal sequencer is going to idle state.
This is not a must to have feature but there is nothing wrong with having it also.

Regards
Thara

> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-omap" in the body of a message to
> majordomo@xxxxxxxxxxxxxxx More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux