On Tue, Mar 31, 2015 at 02:57:35PM -0500, Thor Thayer wrote:
Which brings up my next question. Can the gpio_keys framework be used with a
regmapped gpio? I haven't been able to find any examples of gpio_keys with
an external gpio expander and maybe this isn't valid usage.
Why would there be any problem doing that? I suspect a lack of examples
is more to do with it being rare to build hardware like that (usually on
SoC GPIOs are fairly abundant and much more performant) than anything
else.