All of lore.kernel.org
 help / color / mirror / Atom feed
* GPIO Centralized Control Daemon
@ 2017-09-14 22:02 Patrick Venture
  2017-09-14 22:29 ` Rick Altherr
  2017-09-16 22:12 ` Brad Bishop
  0 siblings, 2 replies; 15+ messages in thread
From: Patrick Venture @ 2017-09-14 22:02 UTC (permalink / raw)
  To: OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

I apologize if this already exists or is in the works.

I propose we create a daemon that centralizes userspace GPIO access.

From a high level, the daemon will implement interfaces to export or
unexport GPIOs.  Each GPIO exported will exist on the dbus:

/xyz/openbmc_project/gpio/53 and implement an interface with the following
properties:
value, direction, active_low, etc.

Some doubts, should the gpio name on the dbus be the relative name (53),
should it be the system specific name (G5) or the absolute name?  I'm
thinking the relative name and let the daemon handle internalizing the
adjustment from relative to absolute.

I'm working on adding GPIO support within phosphor-hwmon so that I can
access a voltage sensor that's gated by a GPIO, and I know there have been
conversations and implementations of this for IPMI OEM -- and I think it
could easily be centralized.

Thoughts?

Patrick

[-- Attachment #2: Type: text/html, Size: 1114 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-18 14:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 22:02 GPIO Centralized Control Daemon Patrick Venture
2017-09-14 22:29 ` Rick Altherr
2017-09-14 22:55   ` Patrick Venture
2017-09-16 22:12 ` Brad Bishop
2017-09-17  4:22   ` Patrick Venture
2017-09-17 16:26     ` Brad Bishop
2017-09-17 16:39       ` Patrick Venture
2017-09-17 17:33         ` Brad Bishop
2017-09-17 21:04           ` Patrick Venture
2017-09-17 21:38             ` Brad Bishop
2017-09-17 21:49               ` Patrick Venture
2017-09-17 22:10                 ` Brad Bishop
2017-09-18  7:32                 ` Andrew Jeffery
2017-09-18 14:52                   ` Patrick Venture
2017-09-18  7:07     ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.