summaryrefslogtreecommitdiff
path: root/board/servo_v4p1/power_mgmt.h
blob: 6c8871e63b62ddf48c63683be2823846e48b3f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright 2021 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_POWER_MGMT_H
#define __CROS_EC_POWER_MGMT_H

/*
 * Method for getting current platform input power capabilities and configuring
 * alert interrupt when programmed power threshold is exceeded. This function
 * should be invoked every time the input power may change its value.
 */
void evaluate_input_power(void);

#endif