summaryrefslogtreecommitdiffstats
path: root/plat/allwinner/sun50i_r329/sunxi_power.c
blob: 96a24d58a8de8c988f6115aa1b3ddef84fa276b0 (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
/*
 * Copyright (c) 2021 Sipeed
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <platform_def.h>

#include <sunxi_mmap.h>
#include <sunxi_cpucfg.h>
#include <sunxi_private.h>

int sunxi_pmic_setup(uint16_t socid, const void *fdt)
{
	/* Currently known hardware has no PMIC */

	return 0;
}

void sunxi_power_down(void)
{
}

void sunxi_cpu_power_off_self(void)
{
	/* TODO: It's still unknown whether CPUIDLE exists on R329 */
}