system_power: add comp_5v_valid and can1_gps1_5v_valid

And fill it in from the v5x GPIO expander.
This commit is contained in:
Beat Küng
2021-01-15 10:57:20 -05:00
committed by Daniel Agar
parent 704a82aaa6
commit e2337a34eb
4 changed files with 74 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@ uint8 usb_valid # USB is valid when 1
uint8 servo_valid # servo power is good when 1
uint8 periph_5v_oc # peripheral overcurrent when 1
uint8 hipower_5v_oc # high power peripheral overcurrent when 1
uint8 comp_5v_valid # 5V to companion valid
uint8 can1_gps1_5v_valid # 5V for CAN1/GPS1 valid
uint8 BRICK1_VALID_SHIFTS=0
uint8 BRICK1_VALID_MASK=1