mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-16 08:13:17 +00:00
9bc6f1a4d0
Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
17 lines
387 B
C
17 lines
387 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*
|
|
* Sunxi PMIC bus access helpers header
|
|
*/
|
|
|
|
#ifndef _SUNXI_PMIC_BUS_H
|
|
#define _SUNXI_PMIC_BUS_H
|
|
|
|
int pmic_bus_init(void);
|
|
int pmic_bus_read(u8 reg, u8 *data);
|
|
int pmic_bus_write(u8 reg, u8 data);
|
|
int pmic_bus_setbits(u8 reg, u8 bits);
|
|
int pmic_bus_clrbits(u8 reg, u8 bits);
|
|
|
|
#endif
|