HomeFreeBSD

Introduce port debouncing mechanism in mv_gpio driver

Description

Introduce port debouncing mechanism in mv_gpio driver

This patch introduces gpio debouncing mechanism
with fixed memory allocation in critical section.

When you press button, value at gpio pin connected to button
is changing many times which will cause in unexpected behaviour.
Debouncing mechanism will prevent this phenomenon

Submitted by: Patryk Duda <pdk@semihalf.com>

	      Wojciech Macek <wma@semihalf.com>

Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14753

Details

Provenance
mwAuthored on Apr 4 2018, 1:08 PM
Parents
rG46db728392c8: Match Marvell Armada38X PCIE ranges in dts with Linux
Branches
Unknown
Tags
Unknown

Event Timeline