summaryrefslogtreecommitdiff
path: root/baseboard/kukui/charger_mt6370.h
blob: 880b00a1a8ec5c770a7efa3c733c639af61eb2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2019 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_BASEBOARD_CHARGER_MT6370_H
#define __CROS_EC_BASEBOARD_CHARGER_MT6370_H

#include "charge_state.h"

void mt6370_charger_profile_override(struct charge_state_data *curr);

struct mt6370_thermal_bound {
	/* mt6370 junction's thermal target in Celsius degree */
	int target;
	/* mt6370 junction's thermal evaluation error in Celsius degree */
	int err;
};

extern struct mt6370_thermal_bound thermal_bound;
#endif