From 9691eaa6755a31a9c0093775ccd0073fdc0c1050 Mon Sep 17 00:00:00 2001 From: Priyatharshan P Date: Tue, 30 Jun 2020 19:57:55 +0530 Subject: 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 Change-Id: Ibb5036d398d65380e0f83850d0014263fd93f90a Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-phosphor/recipes-x86/chassis') 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 e028a0471..1b0b584f1 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 @@ DEPENDS += " \ boost \ i2c-tools \ libgpiod \ + nlohmann-json \ sdbusplus \ phosphor-logging \ " -- cgit v1.2.3