diff options
Diffstat (limited to 'board/servo_v4p1/chg_control.h')
-rw-r--r-- | board/servo_v4p1/chg_control.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/board/servo_v4p1/chg_control.h b/board/servo_v4p1/chg_control.h deleted file mode 100644 index 8b81708ccc..0000000000 --- a/board/servo_v4p1/chg_control.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2020 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef __CROS_EC_CHG_CONTROL_H -#define __CROS_EC_CHG_CONTROL_H - -#include <stdbool.h> - -enum chg_cc_t { - CHG_OPEN, - CHG_CC1, - CHG_CC2 -}; - -enum chg_power_select_t { - CHG_POWER_OFF, - CHG_POWER_PP5000, - CHG_POWER_VBUS, -}; - -/* - * Triggers a disconnect and reconnect on the DUT Charger port - */ -void chg_reset(void); - -/* - * Disables or selects the DUT Charger Power source - * - * @param type Power source used for DUT - */ -void chg_power_select(enum chg_power_select_t type); - -/* - * Attaches or Removes the DUT Charger Ports CC1 and CC2 Rd resistors - * - * @param en True the CC RDs are attached else they are removed - */ -void chg_attach_cc_rds(bool en); - -#endif /* __CROS_EC_CHG_CONTROL_H */ |