Chassis: Check for standby voltage regulator fault

When an unexpected power down is detected check the standby voltage
regulator fault gpio for a latched fault event. If a regulator fault was
detected then log the event.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I98729118332c7a7785f9048f6ac7cfe1ce882bb6
diff --git a/meson.build b/meson.build
index 4944c13..fe898d4 100644
--- a/meson.build
+++ b/meson.build
@@ -60,6 +60,7 @@
 sdeventplus = dependency('sdeventplus')
 phosphorlogging = dependency('phosphor-logging')
 phosphordbusinterfaces = dependency('phosphor-dbus-interfaces')
+libgpiod = dependency('libgpiod', version : '>=1.4.1')
 
 cppfs = meson.get_compiler('cpp').find_library('stdc++fs')
 
@@ -93,7 +94,7 @@
             'chassis_state_manager_main.cpp',
             dependencies: [
             sdbusplus, sdeventplus, phosphorlogging,
-            phosphordbusinterfaces, cppfs
+            phosphordbusinterfaces, cppfs, libgpiod
             ],
     implicit_include_directories: true,
     install: true