linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GPIO-muxed inputs
@ 2014-08-01 11:49 Alexander Stein
  0 siblings, 0 replies; only message in thread
From: Alexander Stein @ 2014-08-01 11:49 UTC (permalink / raw)
  To: linux-input

Hi,

I have a custom board which has 2 DIP switches connected to some GPIOs. I think I could use gpio_tilt_polled to generate proper input events. But the twist here is, that those switches uses the same GPIOs but are muxed by an additional GPIO. I'm wondering how this can be solved. An idea would be to add i2c-mux like "bus" where each input device is connected to. I think this way you can block "users" of the muxing GPIO before they can switch that.
Is this a proper way to go? How should (optional feature) should be integrated? Any other ideas?

Best regards,
Alexander


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-01 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01 11:49 GPIO-muxed inputs Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).