]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
1d624a4f HG |
2 | /* |
3 | * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com> | |
4 | * | |
5 | * Sunxi PMIC bus access helpers header | |
1d624a4f HG |
6 | */ |
7 | ||
8 | #ifndef _SUNXI_PMIC_BUS_H | |
9bc6f1a4 | 9 | #define _SUNXI_PMIC_BUS_H |
1d624a4f HG |
10 | |
11 | int pmic_bus_init(void); | |
12 | int pmic_bus_read(u8 reg, u8 *data); | |
13 | int pmic_bus_write(u8 reg, u8 data); | |
14 | int pmic_bus_setbits(u8 reg, u8 bits); | |
15 | int pmic_bus_clrbits(u8 reg, u8 bits); | |
16 | ||
17 | #endif |