configs: Add POWER_CONFIG for machines
Add configs that address differences in naming, polarity, and number of
GPIOs used to control power sequencing and standby reset holds.
These are based on existing per-machine patches to op-pwrctl.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124
diff --git a/configs/Barreleye.py b/configs/Barreleye.py
index 0273c4b..4b6a15c 100644
--- a/configs/Barreleye.py
+++ b/configs/Barreleye.py
@@ -540,6 +540,17 @@
},
}
+POWER_CONFIG = {
+ 'power_good_in' : 'PGOOD',
+ 'power_up_outs' : [
+ ('POWER_PIN', False),
+ ],
+ 'reset_outs' : [
+ ('PCIE_RESET', False),
+ ('USB_RESET', False),
+ ],
+}
+
# Miscellaneous non-poll sensor with system specific properties.
# The sensor id is the same as those defined in ID_LOOKUP['SENSOR'].
MISC_SENSORS = {