Bertrik Sikken
92fed35da6
S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 19:36:27 +00:00
Bertrik Sikken
111af64e74
Meizu M3: initial version of battery readout and (uncalibrated) charge/discharge curves
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21812 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:33:58 +00:00
Frank Gevaerts
11f9f3cd46
Add data structures
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21811 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:29:22 +00:00
Frank Gevaerts
7528674626
Remove OHCI registers from s3c2440.h and move them to their own header. Since s3c2440 seems to be very close to the OHCI spec, there's no reason not to use a generic driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21808 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:01:10 +00:00
Bertrik Sikken
59b9e3ab3f
Meizu: implement power driver (USB power detect / charging status / poweroff)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21805 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:32:38 +00:00
Jack Halpin
f9e7a5ad39
AMSSansa: Use single adc_read instead of multiple ascodec_reads to read voltage for display in View HW info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21804 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:12:45 +00:00
Bertrik Sikken
61394b725b
S5L8700: implement timer driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21801 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 10:44:02 +00:00
Thomas Martitz
0dd0e4e072
Correct svn:keywords and svn:eol-style on a few more files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21798 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:43:44 +00:00
Thomas Martitz
467999ac9c
Remove svn:executable from these files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21797 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:16:55 +00:00
Jens Arnold
47d4c4739b
ARM asm LCD and ATA driver functions: Don't save r12 as it is a scratch reg. Saves a bit of stack and execution time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21795 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 23:43:44 +00:00
Bertrik Sikken
47d857981a
S5L8700: fix buttons used in debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:34:56 +00:00
Bertrik Sikken
5db8098bfd
Meizu M3: implement rudimentary button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21787 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 20:00:07 +00:00
Alexander Levin
bc27e0f57c
Fix red for sansa m200v4 (it also should have the pitchscreenif sansa m200 has it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21783 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 17:40:52 +00:00
Alexander Levin
7765158513
Fix red in bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 17:16:23 +00:00
Alexander Levin
cc7c665d9b
Improvements to the pitch screen UI (FS#10359 by David Johnston)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 16:46:19 +00:00
Rafaël Carré
17ac0d7ff9
fix yellow : panicf() is declared in panic.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21780 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 15:26:58 +00:00
Bertrik Sikken
27c60fde0d
S5L8700: add skeleton for __dbg_hw_info and __dbg_ports items in the debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21777 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:41:43 +00:00
Rafaël Carré
405d12de7e
Sansa AMS: panic with the PL180 controller status register in case of errors
...
The maximum number of errors is 10 (arbitrary)
A recovery mechanism is not in place (yet) but could be implemented in the future
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21776 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:27:26 +00:00
Bertrik Sikken
24cf6ce2f3
S5L8700: mask away status bits from ADC conversion result
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21775 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:12:02 +00:00
Rafaël Carré
75fa699814
Sansa AMS: handle properly SD transfer errors
...
clocks disabling and mutex unlocking were not made in case of errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21773 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:46:10 +00:00
Bertrik Sikken
306753b1ed
Meizu: use hardware PWM instead of interrupts+GPIO to set the backlight brightness level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21772 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:43:04 +00:00
Rob Purchase
7ad3a333a3
D2: Remove unnecessary ide_power functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21757 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 20:02:35 +00:00
Rob Purchase
d633a9fbee
D2: Update the battery discharge curve to observed values, and add a crude runtime estimation (this is based on playback from SD card, other usage will vary).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21754 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 19:09:38 +00:00
Bertrik Sikken
1a519f52ac
Add missing mutex_init to i2c driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21749 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 17:46:35 +00:00
Rob Purchase
9cb62038e3
Make the TCC NAND driver use the (virtual) disk activity LED.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21748 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 16:55:18 +00:00
Thomas Martitz
161cb164ca
Adding last minutes comments to explain things is only cool if you close it also (aka fix yellow).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21745 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 15:44:38 +00:00
Thomas Martitz
e7f0c3f397
Rearrange things a bit for less #ifdefs and less duplication.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21744 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 15:32:02 +00:00
Rafaël Carré
c51e26a43d
Sansa AMS SD driver: fix error checking in µSD insertion
...
If µSD init fails, rockbox will panic and give an error number
Use a maximal delay of 1 second for µSD (and internal storage) init, as
specified in the SD Specification 2.00
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21742 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 12:51:50 +00:00
Bertrik Sikken
8866342b1f
S5L8700: use wakeup_wait/wakeup_signal instead of polling for i2c communication
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21735 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 22:08:54 +00:00
Bertrik Sikken
9ecde3d75c
S5L8700: Implement ADC driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21734 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 20:17:47 +00:00
Jens Arnold
96f2a9dad1
Numbered filename creation: Make the search for pre-existing files independent of the requested number length. This way it will also increment properly if the requested number length changes or overflows (more than 99 files for numberlen == 2).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21732 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 23:29:41 +00:00
Karl Kurbjun
50304a3ace
M:Robe 500: fix a bug where the remote LCD was not properly sleeping
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21714 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 14:30:03 +00:00
Karl Kurbjun
a567d8228c
M:robe 500 - Set the mask on the remote so that it indicates the battery status
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21710 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 04:00:50 +00:00
Bertrik Sikken
4e965b4b6c
Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 21:57:16 +00:00
Mark Arigo
fb224bd0f9
Philips SA9200: fix the buttons to work with flip screen mode (does anyone use this?). Change to conventional BUTTON_LEFT/BUTTON_RIGHT names and flip the remaining directional buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21698 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 03:26:57 +00:00
Rafaël Carré
03fe562a95
Sansa AMS: display the virtual led icon on disk transfers
...
Sansa PP: directly use led() function, remove useless sd_led()
Thanks to mc2739 (Michael Chicoine)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21693 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 16:44:57 +00:00
Thomas Martitz
cabd45086a
sAMSa: Turn the backlight off before rebooting to avoid irritating lcd flash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21692 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 14:46:19 +00:00
Rafaël Carré
25fdcf3c14
Samsa: fix red for clip/m200v4/c200v2 (typo)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21691 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 14:24:22 +00:00
Rafaël Carré
e3636a8f32
Samsa SD driver : acknowledge USB events, now reboots on USB insertion
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21690 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 14:20:52 +00:00
Rafaël Carré
c1780af9fc
Samsa AMS: start of an USB driver (nothing working atm)
...
Work based on AMD 5536 linux driver and AMD Geode CS5536 datasheet
Rockbox still doesn't reboot on USB insert
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21689 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 13:54:51 +00:00
Karl Kurbjun
a63a116086
DM320: Add the same fix from r21647
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21688 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 13:40:27 +00:00
Thomas Martitz
c292a8eb1f
Sansa AMS: Disable voltage scaling for now until we found a way to make it reliable for everyone, it's causing problems with storage for many people.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21687 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 13:13:47 +00:00
Bertrik Sikken
9431ea8c65
S35390a RTC: fix duplicate i2c initialisation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21679 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 20:10:38 +00:00
Bertrik Sikken
e979951dae
s5l8700: fix off-by-one error in DMA count
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21678 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 20:01:35 +00:00
Bertrik Sikken
9926c933c7
S5L8700: implement kernel timer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21672 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 19:09:14 +00:00
Maurus Cuelenaere
e63904c7e9
Onda VX747 backlight: use a higher frequency to reduce flickering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21671 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:58:06 +00:00
Bertrik Sikken
9b1c774218
S5L8700: initial framework for PCM (using DMA transfers)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21656 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 13:41:16 +00:00
Rafaël Carré
4368b59b09
Sansa AMS : don't reinvent adc_read(), patch by FlynDice
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21651 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 09:24:56 +00:00
Michael Giacomelli
7131ddb105
ARM922T's icache isn't coherent with its dcache, so we need to ensure that its flushed before changing codecs. Playback takes care of this for us, but only if we define cache coherency functions. Do that. Also, add a comment explaining that MMU functions need to be included so that other people don't spend hours chasing them in the future.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21647 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 01:17:25 +00:00
Maurus Cuelenaere
366e1d93b5
Also enable frequency switching on Onda VX767
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21627 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 22:29:32 +00:00