meta-phosphor: YosemiteV2: Add JSON config support for x86-power-control
The current x86-power-control support only single host. Multi host support will
be enabled via providing Json config files for each Host.This implementation
parses GPIO pin configuration from JSON config file and uses inside
x86-power-control.
TESTED: Tested and verified in both Tiogapass. The existing functionality
is not broken after adding the JSON parser implementation in Tiogapass.
Signed-off-by: Priyatharshan P <priyatharshanp@hcl.com>
Change-Id: I1691de05302729951314de9d5ce198e9d79b298d
1 file changed