# Re: Using gpio\_keys with regmapped gpio?

- From: Mark Brown \<hidden\>
- Date: 2015-03-31 20:04:03 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2015/03/8925795
- Thread: https://ratatoskr.run/linux-input/2015/03/8925795/t.md

```text
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.
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2015/03/8925795/attachment/0) (application/pgp-signature, 473 bytes)
