1
0
Fork 0
forked from len0rd/rockbox

AXP PMU rewrite (again)

I noticed a few mistakes in the old driver code and it was in
need of an overhaul anyway... I decided to scale things back,
simplify the code and remove most of the debug menus, netting
a nice code size savings.

One new feature is an advanced debug menu which is accessible
by recompiling the code with AXP_EXTRA_DEBUG. It adds quite a
bit of code size and isn't useful other than for development
so it must be manually enabled by editing the source.

Change-Id: I30e17c1194c14823decd726a574ed14451d4cb2d
This commit is contained in:
Aidan MacDonald 2021-12-05 14:30:03 +00:00
parent b774699560
commit 2d89143962
12 changed files with 1354 additions and 900 deletions

View file

@ -1947,8 +1947,8 @@ drivers/touchpad.c
#ifdef HAVE_I2C_ASYNC
drivers/i2c-async.c
#endif
#ifdef HAVE_AXP_PMU
drivers/axp-pmu.c
#if defined(HAVE_AXP_PMU) && HAVE_AXP_PMU == 192
drivers/axp192.c
#endif
#ifdef HAVE_FT6x06
drivers/ft6x06.c