blob: 7731aad43f6a8fd148a21561f74d3f6f9c9dcb32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "adc.h"
#include "usbc_ppc.h"
#include "charge_ramp.h"
#include "charge_state.h"
int board_set_active_charge_port(int port)
{
return 0;
}
int board_is_vbus_too_low(int port, enum chg_ramp_vbus_state ramp_state)
{
return 0;
}
void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma,
int charge_mv)
{
}
const struct batt_params *charger_current_battery_params(void)
{
static const struct batt_params params = {};
return ¶ms;
}
int board_get_battery_soc(void)
{
return 0;
}
void pd_power_supply_reset(void)
{
}
int pd_check_vconn_swap(int port)
{
return 0;
}
void pd_set_input_current_limit(int port, uint32_t max_ma,
uint32_t supply_voltage)
{
}
int pd_set_power_supply_ready(int port)
{
return 0;
}
void usb_charger_vbus_change(int port, int vbus_level)
{
}
int charge_manager_get_active_charge_port(void)
{
return 0;
}
struct ppc_config_t ppc_chips[] = {};
unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips);
#ifdef CONFIG_MUX_INIT_ADC
const struct adc_t adc_channels[] = {};
#endif
|