1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/export
Tomasz Moń 3738510953
Sansa Connect: Implement RTC functionality
Use 32-bit monotime AVR counter for time tracking. Set the time by
adding fixed offset to the counter value. Store the offset in rockbox
directory to make it persistent between reboots.

Do not implement alarm functionality as wakeup is only possible from
sleep and not from complete power off.

Change-Id: I615c7eb4df8ab0619dcbfcff107bc7051a15aace
2021-06-25 16:12:06 +02:00
..
config Sansa Connect: Implement RTC functionality 2021-06-25 16:12:06 +02:00
adc.h adc-target.h: cleanup 2012-01-08 00:39:29 +00:00
aic3x.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
ak4376.h AK4376 driver: refactoring 2021-05-31 23:00:14 +01:00
ak4537.h Radio and radio recording for Samsung YH-920. 2014-06-18 18:06:17 +00:00
akcodec.h 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. 2009-05-25 21:10:45 +00:00
as3514.h as3514: document hardware setting based on as3514.c 2016-12-12 13:10:52 +01:00
as3525.h Move usb-s3c6400 register comments to usb-s3c6400.h 2011-12-13 04:21:06 +00:00
as3525v2.h as3525v2: use the new USB DesignWare driver 2016-08-15 02:56:23 +02:00
ascodec.h AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
at91sam9260.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
ata-defines.h Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
ata-driver.h Add STORAGE_INIT_ATTR to some target-specific ATA functions. 2011-12-09 02:07:24 +00:00
ata.h pp5020: use ipod firmware timings for ATA PIO. 2020-11-04 03:03:19 +00:00
ata_idle_notify.h events: Rework event subsystem (add_event, send_event) to be more versatile. 2014-03-14 23:36:30 +01:00
ata_mmc.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
audio.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
audiohw.h New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
audiohw_settings.h Add new audiohw capability: POWER_MODE_CAP 2021-03-22 13:00:11 +00:00
axp-pmu.h axp173 driver: rename to "axp-pmu" + other changes 2021-06-01 19:57:41 +00:00
backlight-sw-fading.h Get rid of the last "backlight thread fading" remnant, and of the calculation of the delay. It actually wasn't more than those 3 cases before anyway. 2009-03-11 21:10:17 +00:00
backlight.h Fix red and remove duplicated function declaration 2019-02-08 00:04:20 +01:00
backtrace.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
bidi.h
bitswap.h
bootchart.h bootchart.h doesn't need _ansi.h, especially not in a relative path 2010-07-25 15:28:24 +00:00
bootdata.h Add boot data support to rockbox. 2017-10-29 17:50:59 +01:00
button.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
codec-dx50.h Fix checkwps build for dx50 & dx90 targets 2020-04-14 08:15:19 +02:00
codec-dx90.h Fix checkwps build for dx50 & dx90 targets 2020-04-14 08:15:19 +02:00
config.h Sansa Connect: Implement RTC functionality 2021-06-25 16:12:06 +02:00
config_caps.h audio: Add support for 192 and 176KHz playback 2020-09-30 21:37:11 -04:00
cpu.h x1000: Centralize common definitions, memory layout 2021-04-28 20:04:10 +01:00
cs42l55.h iPod Classic: capture support for CS42L55 codec 2015-10-07 06:15:03 +02:00
cs4398.h cs4398: Change default volume to -25 dB (from 0 dB) 2020-08-29 08:51:35 -04:00
cscodec.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
dac3550a.h Straighten out the mad twisted state of sound.c and related areas. 2013-04-15 12:02:05 -04:00
debug.h Hosted: Merge debugf() implementations. Cleanup debug.h. 2012-01-21 18:39:19 +01:00
df1704.h ma9: Slightly change df1704 driver API. 2013-11-05 09:59:45 +04:00
disk.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
dm320.h DM320: Use SD/MMC data done interrupt 2021-06-15 07:31:29 +00:00
ds2411.h
dsp-util.h Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
dummy_codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
eeprom_24cxx.h Various files: make function implementations consistent with their declaration in the header file or static if 2009-01-31 23:51:11 +00:00
eeprom_settings.h iriver_flash: update valid bootloaders table 2020-11-16 11:57:18 +00:00
enc_base.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
erosqlinux_codec.h erosq: Tweak volume scale to be approximately correct 2021-04-17 12:09:19 +00:00
es9018.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
events.h Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
fat.h Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
fiiolinux_codec.h pcm: Get rid of pcm_play_pause() and associated APIs 2020-10-31 01:18:27 +00:00
fmradio.h
fmradio_3wire.h Radio and radio recording for Samsung YH-920. 2014-06-18 18:06:17 +00:00
fmradio_i2c.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
font.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
ft6x06.h Spin off common ft6x06 code to a driver 2021-06-11 20:09:38 +01:00
gdb_api.h Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
general.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
generic_i2c.h Apply FS #11423 - Use udelay in AMS driver for FM radio I2C 2010-06-21 21:41:07 +00:00
hangul.h
hd66789r.h
hosted_codec.h iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
hostfs.h Define a USB storage type, and hook it up for hosted targets 2020-10-17 18:38:49 -04:00
hwcompat.h [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
i2c-async.h Add asynchronous I2C bus API 2021-03-23 15:42:54 +00:00
i2c-coldfire.h Fix more tabs 2010-01-03 10:27:43 +00:00
i2c-pp.h Move private #defines from i2c-pp.h to i2c-pp.c 2009-05-21 14:31:47 +00:00
i2c-rk27xx.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
i2c-s5l8700.h S5L8700: implement i2c driver (used for communicating with the RTC and the codec in the meizus) 2009-06-27 20:11:11 +00:00
i2c-s5l8702.h iPod Classic: HW initialization for RB 2016-05-25 12:23:47 +02:00
i2c.h imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences 2011-07-03 15:18:41 +00:00
i2s.h
iap.h iAP: lingo 1 (microphone) 2015-10-07 06:15:04 +02:00
imx31l.h Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. 2011-02-02 17:43:32 +00:00
imx233-codec.h imx233: slightly rework 3D audio setting 2016-12-12 12:15:24 +01:00
imx233.h imx233: fix soc header for stmp3600 and stmp3700 2013-06-18 15:33:07 +02:00
ipod_remote_tuner.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
isp1362.h
isp1583.h creative zvm isp1583 defines: move to isp1583.h 2011-12-31 18:44:32 +00:00
jz4740-codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
jz4740.h jz4740: a few minor fixes 2013-03-11 08:33:18 +01:00
jz4760b.h jz4760: Heavily rework USB driver to add working DMA support 2020-09-17 11:26:04 -04:00
jz_mxu.h Ingenic Jz4740: 2008-12-31 01:57:07 +00:00
lcd-remote.h lcd_framebuffer bugfixes, sanity checks 2020-10-31 01:11:30 -04:00
lcd.h Revert "lcd framebuffer - Bugfix #2 ensure proper alignment" 2021-03-25 06:34:58 +00:00
led.h
load_code.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
logdiskf.h logdiskf.h - fix wrong cpp conditionals 2012-10-22 22:36:11 +02:00
logf.h Don't add new message to logf when we dump it to file 2016-04-04 11:07:44 +02:00
ltv350qv.h
lv24020lp.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
m5636.h
m66591.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
mc13783.h imx31: Work around an apparently not-quite-kosher abuse of CPP 2020-10-13 15:48:31 -04:00
mcf5249.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
mcf5250.h
mi4-loader.h Enable boot from SD for Sansa e200 2020-08-19 19:17:01 -04:00
mips-archdefs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mips.h Onda VX747: 2009-02-16 22:49:58 +00:00
mipsregs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mmc.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
mpr121.h zenxfi3: rewrite mpr121 driver 2016-06-01 23:09:27 +02:00
mv.h Define a USB storage type, and hook it up for hosted targets 2020-10-17 18:38:49 -04:00
nand.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
nand_id.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
nwzlinux_codec.h nwzlinux: add support for radio 2017-11-06 21:37:06 +01:00
ohci.h Add data structures 2009-07-12 15:29:22 +00:00
panic.h panicf doesn't return so why not tell GCC and $AVE : 2014-08-25 13:55:16 -04:00
pathfuncs.h Revert root_redirect :( 2020-08-20 21:54:00 -04:00
pca9555.h Introduce HiFi E.T MA9 port. 2013-05-06 14:09:24 +04:00
pcf5060x.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf5063x.h iPod Classic: ADC updates 2016-08-12 14:17:46 +02:00
pcf50605.h
pcf50606.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf50635.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcm-internal.h pcm: Get rid of pcm_play_pause() and associated APIs 2020-10-31 01:18:27 +00:00
pcm.h pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
pcm1792.h Introduce HiFi E.T. MA8/MA8C ports. 2013-11-05 09:59:45 +04:00
pcm_mixer.h hosted: Improve buffer underrun handling in the ALSA driver 2020-11-18 14:38:12 -05:00
pcm_sampr.h audio: Add support for 192 and 176KHz playback 2020-09-30 21:37:11 -04:00
pcm_sw_volume.h Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
pl080.h headers: Don't blindly include <inttypes.h> in files used by ASM 2020-03-29 00:49:06 +01:00
pl081.h
pl180.h AMS Sansa: Add voltage defines to pl180.h. No functional changes. 2009-10-19 05:34:17 +00:00
pnx0101.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
power.h Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
powermgmt.h usb_hid: switch Battery Strength to use feature reports 2021-03-10 04:09:46 -06:00
pp5002.h Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
pp5020.h H10 PP Crash -- Fixed 2021-04-01 00:52:57 -04:00
pp5024.h
pp6100.h sansaview: fix lcd code 2014-05-11 19:56:43 +02:00
profile.h
qt1106.h
r61509.h Onda VX7x7: fix error when compiling with USB_BOOT defined 2009-07-29 12:57:42 +00:00
ramdisk.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
rbpaths.h misc: Only include rbpaths.h and string-extra.h in places that need it 2021-04-10 12:08:12 -04:00
rda5802.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
rds.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
rk27xx.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
rk27xx_codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
rkw-loader.h rename rkw.h header file 2012-03-04 00:36:02 +01:00
rocker_codec.h pcm: Get rid of pcm_play_pause() and associated APIs 2020-10-31 01:18:27 +00:00
rolo.h hosted: Add ROLO support for hosted targets 2020-10-11 14:18:42 +00:00
rtc.h [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
s3c2440.h s5l870x : use mmu-arm.S 2010-04-13 15:59:49 +00:00
s5l8700.h headers: Don't blindly include <inttypes.h> in files used by ASM 2020-03-29 00:49:06 +01:00
s5l8702.h headers: Don't blindly include <inttypes.h> in files used by ASM 2020-03-29 00:49:06 +01:00
screendump.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
scroll_engine.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
sd.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
sdmmc.h imx233: merge sd and mmc drivers, fix dma issues 2012-08-18 18:24:42 +02:00
serial.h Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. 2008-12-25 01:46:16 +00:00
si4700.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
sound.h Revert "sound: add sound_numdecimals() to round out the sound setting query API" 2021-04-09 10:52:02 +00:00
spdif.h
spi.h Clean spi.h and spi-target.h 2012-01-07 22:04:12 +00:00
stfm1000.h zenxfi3&stfm1000: implement fmradio i2c and debug screen 2012-05-19 18:04:25 +02:00
storage.h Define a USB storage type, and hook it up for hosted targets 2020-10-17 18:38:49 -04:00
structec.h
sw_i2c.h
synaptics-mep.h SA9200: Adjust touchpad sensitivities so that actual contact with the player is needed to cause button presses and hopefully those settings will work nicely. Add a parameter read function to the MEP driver for debugging and RE purposes; enable compilation of it if you want to use it. Make a note in power-sa9200.c about button inits. 2011-01-11 23:48:29 +00:00
synaptics-rmi.h fuze+: rewrite touchpad driver 2016-06-01 23:08:17 +02:00
system.h Fix MIPS cache operations and enable HAVE_CPU_CACHE_ALIGN on MIPS 2021-03-03 20:50:28 +00:00
tcc780x.h Define CACHEALIGN_BITS for missing ARM CPUs for later use. 2010-11-19 07:17:20 +00:00
tea5760.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
tea5767.h Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski 2010-11-11 21:13:29 +00:00
timer.h Fix timer Agptek Rocker (other hosted players) 2019-10-17 21:19:00 +02:00
tlv320.h tlv320: document audiohw setting based on tlv320.c 2016-12-12 13:13:52 +01:00
touchpad.h touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
touchscreen.h fix red 2013-09-05 20:35:51 +02:00
tsc200x.h Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
tuner.h [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
uc870x.h iPod Classic: updates for uc8702 driver 2016-05-13 23:21:42 +02:00
ucl_decompress.h Add standalone UCL decompressor 2021-05-12 10:35:20 +00:00
uda1341.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1380.h uda1380: document audiohw setting based on uda1380.c 2016-12-12 13:14:22 +01:00
udacodec.h Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus. 2009-06-28 17:43:04 +00:00
usb-designware.h Introduce new USB driver for Synopsys DesignWare USB OTG core. 2016-08-02 04:57:49 +02:00
usb-s3c6400x.h GHWCFG* are not as3525v2 specific 2012-01-01 19:21:49 +00:00
usb-tcc.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb.h FS13257: Fix inconsistent defaults in the USB mode selection 2020-11-16 17:11:38 +00:00
usb_ch9.h USB Serial: Implement Abstract Control Management 2021-06-12 14:47:15 +00:00
usb_core.h usb: move usb charging function prototype from usb_core.h to usb.h 2015-01-08 16:44:55 +01:00
usb_drv.h usb: implement macro for initializing USB strings 2021-03-25 13:26:03 -05:00
wm8731.h wm8731: document audiohw settings 2016-12-12 13:11:25 +01:00
wm8740.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
wm8751.h wm8751: document and fix audiohw settings 2016-12-12 13:12:15 +01:00
wm8758.h wm8758: document and fix audiohw settings 2016-12-12 13:12:47 +01:00
wm8975.h wm8975: document audiohw settings 2016-12-12 13:13:13 +01:00
wm8978.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
wm8985.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
wmcodec.h
x1000.h x1000: Centralize common definitions, memory layout 2021-04-28 20:04:10 +01:00
xduoolinux_codec.h pcm: Get rid of pcm_play_pause() and associated APIs 2020-10-31 01:18:27 +00:00