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.

(From meta-phosphor rev: 87a22ce019051424384813d573018374034202ed)

Signed-off-by: Priyatharshan P <priyatharshanp@hcl.com>
Change-Id: Ibb5036d398d65380e0f83850d0014263fd93f90a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb b/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb
index e028a04..1b0b584 100755
--- a/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb
+++ b/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb
@@ -22,6 +22,7 @@
     boost \
     i2c-tools \
     libgpiod \
+    nlohmann-json \
     sdbusplus \
     phosphor-logging \
   "