system_manager, libobmc-intf: Add power GPIO configuration interface

This adds a dbus call (in org.openbmc.managers.System) and C binding (in
libopenbmc-intf) to read a POWER_CONFIG from the Python system
configuration that abstracts GPIO functionality (power good, reset, etc)
from their net names in GPIO_CONFIG.

This should eventually replace machine-specific patches to op-pwrctl
that define their own power and reset lines.

Change-Id: I56eaaf60ef852b68124e4a765942243ad17d06ac
Signed-off-by: Xo Wang <xow@google.com>
4 files changed