psu-ng: PGOOD_DEGLITCH_LIMIT of five

Turns out that the (IBM) power supplies take up to around 3 seconds to
get the PGOOD# bit in STATUS_WORD set to the good (0) state after the
input power is within range. Adjust the de-glitch value to avoid logging
PGOOD errors for the power supplies, as they mostly ride through the
momentary drops in the input power.

Use PGOOD_DEGLITCH_LIMIT instead of DEGLITCH_LIMIT for the pgoodFault.

Tested:
    Rainier 2S4U
        1. Drop outlet power for 0.5 seconds, verify no 110015F1.
        2. Drop outlet power for 1 second, verify no 110015F1.
        3. Drop outlet power for 1.5 seconds, verify no 110015F1.
    Rainier 2S2U
        1. Drop outlet power for 1 second, verify no 110015F1.
        2. Drop outlet power for 5 seconds, verify 110015F0 (VIN_UV) IS logged.
        3. Drop outlet power for 1.5 seconds, verify no 110015F1.
    Everest (powersupply0 unplugged, powersupply3 missing)
        1. Drop outlet power for 0.5 seconds, verify no 110015F1.
        2. Drop outlet power for 1 second, verify no 110015F1.
        3. Drop outlet power for 1.5 seconds, verify no 110015F1.
        4. Drop outlet power for 3 seconds, verify 110015F0 IS logged.
        5. Drop all outlet power for 5 seconds, verify 110000AC.

Change-Id: I6ba12209e6c84548fec036101ca02d857ed900f6
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/phosphor-power-supply/power_supply.hpp b/phosphor-power-supply/power_supply.hpp
index 48c0b5d..218e2d5 100644
--- a/phosphor-power-supply/power_supply.hpp
+++ b/phosphor-power-supply/power_supply.hpp
@@ -39,6 +39,7 @@
 
 constexpr auto LOG_LIMIT = 3;
 constexpr auto DEGLITCH_LIMIT = 3;
+constexpr auto PGOOD_DEGLITCH_LIMIT = 5;
 
 /**
  * @class PowerSupply
@@ -256,7 +257,8 @@
                 (ioutOCFault >= DEGLITCH_LIMIT) ||
                 (voutUVFault >= DEGLITCH_LIMIT) ||
                 (fanFault >= DEGLITCH_LIMIT) || (tempFault >= DEGLITCH_LIMIT) ||
-                (pgoodFault >= DEGLITCH_LIMIT) || (mfrFault >= DEGLITCH_LIMIT));
+                (pgoodFault >= PGOOD_DEGLITCH_LIMIT) ||
+                (mfrFault >= DEGLITCH_LIMIT));
     }
 
     /**
@@ -345,7 +347,7 @@
      */
     bool hasPgoodFault() const
     {
-        return (pgoodFault >= DEGLITCH_LIMIT);
+        return (pgoodFault >= PGOOD_DEGLITCH_LIMIT);
     }
 
     /**