Debian Codegraph @

plat/allwinner/sun50i_r329/sunxi_power.c

raw symbols SCIP
1 /*
2 * Copyright (c) 2021 Sipeed
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <platform_def.h>
8
9 #include <sunxi_mmap.h>
10 #include <sunxi_cpucfg.h>
11 #include <sunxi_private.h>
12
13 int sunxi_pmic_setup(uint16_t socid, const void *fdt)
14 {
15 /* Currently known hardware has no PMIC */
16
17 return 0;
18 }
19
20 void sunxi_power_down(void)
21 {
22 }
23
24 void sunxi_cpu_power_off_self(void)
25 {
26 /* TODO: It's still unknown whether CPUIDLE exists on R329 */
27 }