u-boot/arch/arm/include/asm/arch-imx8ulp/upower.h
Peng Fan 3e23794181 imx8ulp: add upower api support
Add upower api support, this is modified from upower firmware exported
package.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2021-08-09 14:46:51 +02:00

15 lines
306 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2021 NXP
*/
#ifndef __ASM_ARCH_IMX8ULP_UPOWER_H
#define __ASM_ARCH_IMX8ULP_UPOWER_H
#include <asm/types.h>
int upower_init(void);
int upower_pmic_i2c_write(u32 reg_addr, u32 reg_val);
int upower_pmic_i2c_read(u32 reg_addr, u32 *reg_val);
#endif