blob: 91ccb197c461f4a5765eeb83d3dff45df3a5854f [file] [log] [blame]
James Lo4ac7a412021-10-06 18:12:30 +08001/*
2 * Copyright (c) 2021, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PMIC_H
8#define PMIC_H
9
10#include <stdint.h>
11
12#define PMIC_RG_HWCID_ADDR 0x8
13#define PMIC_PWRHOLD 0xa08
14
15/* external API */
16uint32_t pmic_get_hwcid(void);
17void pmic_power_off(void);
18
19#endif /* PMIC_H */