Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629513 > unrolled thread
| Started by | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| First post | 2017-04-24 15:00 +0200 |
| Last post | 2017-04-24 15:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 3/4] gpio: aspeed: Add debounce support Linus Walleij <linus.walleij@linaro.org> - 2017-04-24 15:00 +0200
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-04-24 15:00 +0200 |
| Subject | Re: [PATCH v2 3/4] gpio: aspeed: Add debounce support |
| Message-ID | <tzLKW-75O-17@gated-at.bofh.it> |
On Fri, Apr 7, 2017 at 2:59 PM, Andrew Jeffery <andrew@aj.id.au> wrote: > Each GPIO in the Aspeed GPIO controller can choose one of four input > debounce states: to disable debouncing for an input, or select from one > of three programmable debounce timer values. Each GPIO in a > four-bank-set is assigned one bit in each of two debounce configuration > registers dedicated to the set, and selects a debounce state by > configuring the two bits to select one of the four options. > > The limitation on debounce timer values is managed by mapping offsets > onto a configured timer value and keeping count of the number of users > a timer has. Timer values are configured on a first-come-first-served > basis. > > A small twist in the hardware design is that the debounce configuration > register numbering is reversed with respect to the binary representation > of the debounce timer of interest (i.e. debounce register 1 represents > bit 1, and debounce register 2 represents bit 0 of the timer numbering). > > Tested on an AST2500EVB with additional inspection under QEMU's > romulus-bmc machine. > > Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Patch applied. Yours, Linus Walleij
Back to top | Article view | linux.kernel
csiph-web