oleavr-rgl-a500-mini-linux-.../drivers/power/axp_power_legacy/axp-interface.c
Ole André Vadla Ravnås 169c65d57e Initial commit
2022-05-07 01:01:45 +02:00

45 lines
605 B
C

#ifndef _AXP_SYS_H
#define _AXP_SYS_H
#include <linux/mfd/axp-mfd.h>
#if defined(CONFIG_AW_AXP81X)
#elif defined(CONFIG_AW_AXP)
s32 axp_usbcur(aw_charge_type type)
{
return 0;
};
s32 axp_usbvol(aw_charge_type type)
{
return 0;
};
s32 axp_usb_det(void)
{
return 0;
};
s32 axp_powerkey_get(void)
{
return 0;
};
void axp_powerkey_set(int value)
{
return;
};
u64 axp_read_power_sply(void)
{
return 0;
};
s32 axp_read_bat_cap(void)
{
return 100;
};
s32 axp_read_ac_chg(void){
return 0;
};
/* axp15 not define this function */
void axp_reg_debug(s32 reg, s32 len, u8 *val)
{
return;
};
#endif
#endif