summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
...
* Submit FS#9863 by Boris Gjenero. Correct ATA wakeup and power on in case of ↵Andree Buschmann2009-02-22
| | | | | | SYS_USB_CONNECTED. This way HDDs are spun down properly afterwards before rebooting to USB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20082 a1c6a512-1295-4272-9138-f99709370657
* Add generic touchscreen driver which allows calibration (apps/ layer will ↵Maurus Cuelenaere2009-02-19
| | | | | | follow later). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20055 a1c6a512-1295-4272-9138-f99709370657
* Backlight brightness and button lights for the Philips HDD1630Mark Arigo2009-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20035 a1c6a512-1295-4272-9138-f99709370657
* FM radio for Philips HDD1630. Volume was very faint unless recording was ↵Mark Arigo2009-02-13
| | | | | | enabled, so do that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19996 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747:Maurus Cuelenaere2009-02-13
| | | | | | | | | | | | | * Add preliminary keymap * Split up generic MIPS stuff from Ingenic specific * Make apps/ compilable * Add SD driver * Fix RTC driver * Add debug screen * Other cleanups/rewrites/fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19993 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere2009-02-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
* Simplify conditions for including serial port support (it's now ↵Bertrik Sikken2009-02-07
| | | | | | HAVE_SERIAL). This should save a little binsize and RAM for target that don't have/use a serial port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19936 a1c6a512-1295-4272-9138-f99709370657
* Creative ZVM:Maurus Cuelenaere2009-02-05
| | | | | | | | | | * Re-enable USB * Acknowledge EP0SETUP packets * Spin disk down when no files get loaded in the bootloader * Clean up/fix some other stuff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19931 a1c6a512-1295-4272-9138-f99709370657
* FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 ↵Bertrik Sikken2009-02-05
| | | | | | input that carries the analog radio signal on ams sansas. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19927 a1c6a512-1295-4272-9138-f99709370657
* Various files: make function implementations consistent with their ↵Bertrik Sikken2009-01-31
| | | | | | | | | declaration in the header file or static if they're local. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19892 a1c6a512-1295-4272-9138-f99709370657
* Use bus reset detection for all ARC OTG devices. Remove conflict from ↵Michael Sevakis2009-01-22
| | | | | | LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747: get NAND driver workingMaurus Cuelenaere2009-01-22
| | | | | | | generic NAND ID driver: clean up git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19817 a1c6a512-1295-4272-9138-f99709370657
* Unify kernel list management for ticks, registered queues and timeout ↵Michael Sevakis2009-01-21
| | | | | | objects by using NULL-terminated lists of pointers. Redo timeout API a bit to simplify it and integrate it. Should give some small binsize reduction accross the board but more if timeout objects are being included. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19808 a1c6a512-1295-4272-9138-f99709370657
* Fix up ZVM builds. It appeared to share common definitions with PP502x ↵Michael Sevakis2009-01-19
| | | | | | targets so use those. Remove one stale comment left behind in last commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19798 a1c6a512-1295-4272-9138-f99709370657
* USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask ↵Michael Sevakis2009-01-13
| | | | | | the USB core whether or not any drivers require exclusive access at the moment of connect. Doing anthing else just produces nasty effects on Windows because it expects some communication just for enabling the PHY and not allowing it to mount volumes if a thread doesn't ack causes annoying error message boxes. Make behavior of each USB type identical from the system perspective. Some miscellaneous changes (simplify, ata->storage naming, define only used USB_* enums values were possible). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19762 a1c6a512-1295-4272-9138-f99709370657
* Remove tabs.Antoine Cellerier2009-01-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19749 a1c6a512-1295-4272-9138-f99709370657
* AS3514: Simplify as there isn't a need to track the current source and sync ↵Michael Sevakis2009-01-08
| | | | | | mixer levels. Gang them when adjusting volume. Any inputs not currently in use will be muted or off anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19713 a1c6a512-1295-4272-9138-f99709370657
* Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon2008-12-31
| | | | | | | | | | | | not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Allow recording from FM. Give FM the same volume range as ↵Michael Sevakis2008-12-31
| | | | | | playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S, use saner input volume on the line in used for fm to have fm ↵Nils Wallménius2008-12-27
| | | | | | volume at similar volume as playback. Add a few comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19602 a1c6a512-1295-4272-9138-f99709370657
* Make si4700 tuner driver more sane with bit and field defines and entirely ↵Michael Sevakis2008-12-27
| | | | | | hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
* Fix moreMichael Giacomelli2008-12-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19588 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix read.Michael Giacomelli2008-12-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19586 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes ↵Michael Giacomelli2008-12-25
| | | | | | 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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
* Update si4700 FM driver:Bertrik Sikken2008-12-22
| | | | | | | | * implement 16-bit register cache and use #defines for registers * add support for enabling the internal oscillator (needed for AMS sansas) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19559 a1c6a512-1295-4272-9138-f99709370657
* Ingenic players:Maurus Cuelenaere2008-12-20
| | | | | | | | * Enable clocks when needed * Fix VX747+ button_hold() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19505 a1c6a512-1295-4272-9138-f99709370657
* Working touchpad for the Philips HDD1630 using the Synaptics driver. Like ↵Mark Arigo2008-12-19
| | | | | | the m:robe 100, the strip is divided into up, select, and down button regions. You can't swipe like in the OF. The keymap still needs some work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19480 a1c6a512-1295-4272-9138-f99709370657
* Move the Synaptics touchpad driver for the m:robe 100 to a common place. It ↵Mark Arigo2008-12-17
| | | | | | will (soon) be used for the Philips HDD1630. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19465 a1c6a512-1295-4272-9138-f99709370657
* Enable as3514 HPCM codec setting for all AMS3525 targets (and disable it for ↵Bertrik Sikken2008-12-16
| | | | | | others). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19460 a1c6a512-1295-4272-9138-f99709370657
* Fix compilation error when no HW freq definedVitja Makarov2008-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19459 a1c6a512-1295-4272-9138-f99709370657
* CLOCKING register should be set on hardware init.Michael Sevakis2008-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19410 a1c6a512-1295-4272-9138-f99709370657
* FS#9625, keep HPCM codec setting (headphone common mode) enabled for E200V2 too.Bertrik Sikken2008-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19407 a1c6a512-1295-4272-9138-f99709370657
* Fix-m the ruddiness.Michael Sevakis2008-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19401 a1c6a512-1295-4272-9138-f99709370657
* Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis2008-12-12
| | | | | | low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
* Reclaim a bit of binsize on hdd based archoses by making the bit test ↵Jens Arnold2008-12-12
| | | | | | unsigned. On SH1, gcc optimizes this by using a right shift, and a signed '1' made it use an arithmetic right-shift-by-n, which is a libgcc function on SH1. This was the only place in the core using it. No effect on other architectures. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19399 a1c6a512-1295-4272-9138-f99709370657
* Fix the sound level on the Philips HDD1630Mark Arigo2008-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19396 a1c6a512-1295-4272-9138-f99709370657
* Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis2008-12-10
| | | | | | gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
* FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet Nils Wallménius2008-12-09
| | | | | | | | | implemented but manual tuning works nicely. Thanks to Rafaël Carré, Bertrik Sikken and Robert Menes for suggestions and debugging help. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
* Have drivers merged for WM8711/21/31 since they are so similar but respect ↵Michael Sevakis2008-12-08
| | | | | | all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
* * combine i2c_ack and i2c_outbBertrik Sikken2008-12-08
| | | | | | | * do not switch sda back and forth between input and output when reading a byte git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19365 a1c6a512-1295-4272-9138-f99709370657
* Generic I2C: fix various problems with this (now) unused driverRafaël Carré2008-12-07
| | | | | | | | | | | Explicit if SDA is input or output in static functions Do not use logf() but return codes Check for overflow when adding an interface Indent on 4 spaces Rewrite i2c_read_data() and i2c_write_data() using goto for error cases Make subaddress optional (not sent if == -1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19360 a1c6a512-1295-4272-9138-f99709370657
* Meg F/X can beep and click using a hardware timer so let us try it out. To ↵Michael Sevakis2008-12-07
| | | | | | match things up better, fix PCM beeping to give correct frequency (and get a pointer wrap bug too). Do some minor adjustments to compensate for corrections. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19355 a1c6a512-1295-4272-9138-f99709370657
* Keep codec HPCM (headphone common mode) enabled for Sansa Clip and Sansa ↵Bertrik Sikken2008-12-04
| | | | | | m200v4 so the headphone output produces stereo instead of an L-R signal. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19340 a1c6a512-1295-4272-9138-f99709370657
* Remove usb_drv_wait from the public usb api, and remove the implementation ↵Frank Gevaerts2008-11-30
| | | | | | from usb-drv-arc.c, as it is not actually used git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19275 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow and red. Maybe create some new.Michael Sevakis2008-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19231 a1c6a512-1295-4272-9138-f99709370657
* Get rid of remaining audiohw_enable_output style codec setup and use ↵Michael Sevakis2008-11-26
| | | | | | pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
* Fix misspelled function name. Thanks to Jens Arnold for noticing.Michael Sevakis2008-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19220 a1c6a512-1295-4272-9138-f99709370657
* Add register bit defines for as3514 and clean stuff up. Reduce poppiness at ↵Michael Sevakis2008-11-25
| | | | | | startup and shutdown (and even powerup for e200). Really, I can't honestly say it will help anything but an e200v1 but I'm sick of the noises. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19214 a1c6a512-1295-4272-9138-f99709370657
* Simplify the wm8731 driver by adding a masked write function. Change ↵Michael Sevakis2008-11-24
| | | | | | _write_or/and to _set/clear. Reduce init sequence by initializing shadows to hardware defaults. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19197 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S samplerate control: Fix really dumb mistake made when doing ↵Michael Sevakis2008-11-22
| | | | | | cleanup. Add some more correctness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19180 a1c6a512-1295-4272-9138-f99709370657