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
diff --git a/recipes-x86/chassis/x86-power-control_git.bb b/recipes-x86/chassis/x86-power-control_git.bb
index e028a04..1b0b584 100755
--- a/recipes-x86/chassis/x86-power-control_git.bb
+++ b/recipes-x86/chassis/x86-power-control_git.bb
@@ -22,6 +22,7 @@
     boost \
     i2c-tools \
     libgpiod \
+    nlohmann-json \
     sdbusplus \
     phosphor-logging \
   "