1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
Dana Conrad 253eb79db3 erosqnative: hw4 support
Support hw4 units with AXP2101 PMU

Bootloader successfully compiles and loads onto device.
The LCD appears to be identical to hw3 units.
Scroll wheel and buttons work
Audio output works, including volume.
HP/LO detect works
Rockbox build is generic
GPIO gating logic seems to be working as intended now.

 - Added new GPIO definitions - some significant overlaps with pins
    from previous hardware revisions...
 - Added some GPIO definitions for older players we didn't know about
 - Add register definitions for AXP2101 from datasheet
    (these are very different from AXP192!)
 - Add AXP2101 regulator definitions, need to support multiple step
    sizes per regulator.
 - Verify AXP2101 voltage set multi-range logic
 - Verify AXP2101 voltage get multi-range logic
 - Make AXP2101 its own driver
 - AXP2101 driver should be "minimally viable", though I think
    there is some extra functionality that could be implemented.
 - Disabling the coulomb counter stuff - we could maybe make
   the E-Gauge work for the same purpose, but it only appears to
   be used on the debug screen at the moment so it doesn't seem
   like it's worth the effort.
 - Found new button GPIOs
 - Found error in my GPIO setting logic, blue light works now!
 - Set LDO/DCDC output voltages to OF's settings, as far as
   I can tell.
 - Determined we probably want TCS1421_CFG1:0 to be 0x00,
   for UFP behavior
 - Tested this rb build with both old and new bootloaders on hw1.5,
   hw2, hw4 in as many configurations as I can think of, works across
   the board.
 - Bootloader can install itself on hw4, so nand chip isn't novel
 - Uninstallation file can be made by patcher script, works on hw4
 - Installation file can be made by patcher script, works on hw4
 - Added HW4 to rbutil, manual

Change-Id: I5b75782273e81c2c6f2b9c79501c8b7cbf88391f
2024-11-22 17:01:39 -05:00
..
asm Only increase sigalthreads stack size for simulator or aarch64 builds. 2024-10-07 12:15:02 -04:00
common ata: Prefer using "virtual" sector size where possible 2024-11-15 07:24:08 -05:00
drivers erosqnative: hw4 support 2024-11-22 17:01:39 -05:00
export erosqnative: hw4 support 2024-11-22 17:01:39 -05:00
include filestr_cache: Some more 64-bit sector_t fixes 2024-11-11 10:38:58 -05:00
kernel kernel: Add queue_full() API call 2024-10-06 11:17:54 -04:00
libc libc: Correct definition of labs()' and add llabs() 2024-10-12 12:01:36 -04:00
target erosqnative: hw4 support 2024-11-22 17:01:39 -05:00
usbstack storage: rename MAX_LOG_SECTOR_SIZE to MAX_VIRT_SECTOR_SIZE 2024-11-09 16:32:40 -05:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c [Fix Red] Ability to control backlight for soft lock action 2023-09-09 23:04:55 -04:00
bidi.c
buflib_malloc.c buflib_malloc: fixed signed/unsigned comparison 2023-01-16 16:57:23 +00:00
buflib_mempool.c buflib: Add pinned get/put data functions 2023-01-15 11:06:27 +00:00
chunk_alloc.c [BugFix] chunk_alloc pass NULL to buflib_shrink 2023-03-09 20:15:38 -05:00
COPYING
core_alloc.c buflib: Add CONFIG_BUFLIB_BACKEND for selecting a buflib backend 2023-01-15 10:04:13 +00:00
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make
font.c [coverity] font.c load_cache_entry check for successful read 2024-06-02 10:32:47 -04:00
font_cache.c
general.c
hangul.c
linuxboot.c buflib_shrink use NULL to signal start isn't changing 2023-01-13 09:50:29 -05:00
load_code.c
logf.c
lru.c
panic.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
pcm.c Rework auto playback frequency switch 2023-10-28 15:11:07 -04:00
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c powermgmt: Don't force shutdown when externally powered 2023-10-29 11:22:01 +00:00
profile.c
README
rolo.c ErosQNative: Add v3 LCD support, conditional on bootloader 2024-09-02 13:29:43 -04:00
rom.lds
screendump.c
scroll_engine.c Fix red fbc8b2156f 2024-08-28 21:26:06 -04:00
sdmmc.c
sound.c
SOURCES erosqnative: hw4 support 2024-11-22 17:01:39 -05:00
storage.c ata: Rework how flushing, sleeping, and power off interacts 2024-10-31 12:51:54 -04:00
system.c
timer.c
tuner.c
usb.c

See docs/README