blob: 96a24d58a8de8c988f6115aa1b3ddef84fa276b0 [file] [log] [blame]
Icenowy Zheng61da7562021-07-22 09:41:16 +08001/*
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
13int sunxi_pmic_setup(uint16_t socid, const void *fdt)
14{
15 /* Currently known hardware has no PMIC */
16
17 return 0;
18}
19
20void sunxi_power_down(void)
21{
22}
23
24void sunxi_cpu_power_off_self(void)
25{
26 /* TODO: It's still unknown whether CPUIDLE exists on R329 */
27}