Re: [PATCH/RFC] hardware irq debouncing support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Friday, November 7, 2008 - 3:56 pm

On Sunday 12 October 2008, Haavard Skinnemoen wrote:

Just for the record ... I'm withdrawing this proposal, in the sense
that I won't be pursuing it any further.  A lighter weight solution
is enough for now.

I think the framework we discussed -- lowlevel irq_chip mechanism
that can kick in hardware debouncing and report the duration of its
debounce delay, paired with upper level code that can kick in longer
software timers as needed -- is probably the right direction to go,
if anyone really needs this.



The overall delay shouldn't matter, no.  But if an 10 msec hardware
debounce kicks in and you wanted 20 msec total, you'd want something
to conclude that a 10 msec software timer is more appropriate than
a 20 msec one.  I was pointing out that in one construction, that
"something" would be platform setup code which knows more about how
the system is set up than a "dumb" software timer in that driver.

- Dave

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] hardware irq debouncing support, David Brownell, (Wed Sep 24, 12:51 pm)
Re: [PATCH/RFC] hardware irq debouncing support, Tony Lindgren, (Fri Oct 3, 12:38 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Fri Oct 3, 1:45 am)
Re: [PATCH/RFC] hardware irq debouncing support, Haavard Skinnemoen, (Fri Oct 3, 2:22 am)
Re: [PATCH/RFC] hardware irq debouncing support, Tony Lindgren, (Fri Oct 3, 6:06 am)
Re: [PATCH/RFC] hardware irq debouncing support, Pavel Machek, (Mon Oct 6, 8:10 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Tue Oct 7, 10:19 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Tue Oct 7, 11:14 am)
Re: [PATCH/RFC] hardware irq debouncing support, Haavard Skinnemoen, (Wed Oct 8, 12:48 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Thu Oct 9, 2:34 am)
Re: [PATCH/RFC] hardware irq debouncing support, Haavard Skinnemoen, (Thu Oct 9, 3:30 am)
Re: [PATCH/RFC] hardware irq debouncing support, Pavel Machek, (Sat Oct 11, 7:36 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Sat Oct 11, 11:01 am)
Re: [PATCH/RFC] hardware irq debouncing support, Haavard Skinnemoen, (Sun Oct 12, 5:46 am)
Re: [PATCH/RFC] hardware irq debouncing support, David Brownell, (Fri Nov 7, 3:56 pm)