]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: merrifield: Add support for hardware debouncer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Dec 2016 15:45:51 +0000 (17:45 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2016 14:23:39 +0000 (15:23 +0100)
commite7a718f9b1c106dc7705d96cf0fe2e2f69089cf9
treef284b4160fd7ada811a31bb72edc283a991ba2fb
parentf4e81c529767b9a33d1b27695c54dc84a14af30d
gpio: merrifield: Add support for hardware debouncer

By default all pins are configured to use a glitch filter. Writing 1 to the
certain bit of the specific register might be useful in case someone needs to
bypass the glitch filter completely for a given GPIO pin.

This patch adds support for that in the Intel Merrifield GPIO driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-merrifield.c