~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 0f1875bbd6f154d1eccfbb1cfaa87121981d542b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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