summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* Fix beast warning.Thomas Martitz2012-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31552 a1c6a512-1295-4272-9138-f99709370657
* android: move pcm_shutdown() to audiohw_close() now that it's properly ↵Thomas Martitz2012-01-04
| | | | | | called from powermgmt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31551 a1c6a512-1295-4272-9138-f99709370657
* Fix reds by implementing a few more stubs, and undefining HAVE_STORAGE_FLUSH ↵Thomas Martitz2012-01-04
| | | | | | | | in the sim. Also slight change on how to measure seconds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31550 a1c6a512-1295-4272-9138-f99709370657
* Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz2012-01-03
| | | | | | | | | | | | | | | | | | | | | * Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application) to break powermgmt.c's assumption about the ability to read battery voltage. There's now additionally percentage (android) and remaining time measure (maemo). No measure at all also works (sdl app). If voltage can't be measured, then battery_level() is king and it'll be used for power_history and runtime estimation. * Implement target's API in the simulator, i.e. _battery_voltage(), so it doesn't need to implement it's own powermgmt.c and other stubs. Now the sim behaves much more like a native target, although it still changes the simulated battery voltage quickly, * Other changes include include renaming battery_adc_voltage() to _battery_voltage(), for consistency with the new target functions and making some of the apps code aware that voltage and runtime estimation is not always available. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Enable headphone detectionThomas Martitz2012-01-03
| | | | | | | Author: Lorenzo Miori Flyspray: FS#12348 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31544 a1c6a512-1295-4272-9138-f99709370657
* i.MX31: need an additional ISR lockout instance when closing driver.Michael Sevakis2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31539 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Dump some now-irrelevant comments.Michael Sevakis2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31538 a1c6a512-1295-4272-9138-f99709370657
* rk27xx: Fix cache broken in r31339. Remove deprecated aliases.Andrew Ryabinin2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31537 a1c6a512-1295-4272-9138-f99709370657
* i.MX31: Fix a couple oopses from r31528Michael Sevakis2012-01-03
| | | | | | | | | | Enabled a PMIC event where it should be disabled. Used constant from wrong enum to get sense bits (??) which messed up main charger detection. Also remove an obsolete struct declaration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31536 a1c6a512-1295-4272-9138-f99709370657
* Fix path to PP USB bootloader crt0Rafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31535 a1c6a512-1295-4272-9138-f99709370657
* Fix path to PP crt0Rafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31534 a1c6a512-1295-4272-9138-f99709370657
* move PP specific files to pp/Rafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31533 a1c6a512-1295-4272-9138-f99709370657
* arm/pp : assume CPU_PPRafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31532 a1c6a512-1295-4272-9138-f99709370657
* Move PP-specific headers to pp/ directoryRafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31530 a1c6a512-1295-4272-9138-f99709370657
* i.MX31 - Dethreading operations continueMichael Sevakis2012-01-02
| | | | | | | | Dispense with "pmic" thread and process PMIC events directly within ISR. Add sense bit reading as part of the handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31528 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Tiny cleanup in ypr0 config file.Thomas Martitz2012-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31522 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Proper current values measured with battery_bench.Thomas Martitz2012-01-02
| | | | | | | The battery benches were done by Lorenzo Miori, thus credits to him for this and r31472. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31521 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Fix power off at low battery.Thomas Martitz2012-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31520 a1c6a512-1295-4272-9138-f99709370657
* imx233: add AUDIOIN registers, cosmeticsAmaury Pouly2012-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31519 a1c6a512-1295-4272-9138-f99709370657
* Make USB work again on iPod Nano 2G and iPod Classic. Still not 100% stable ↵Michael Sparmann2012-01-01
| | | | | | on Nano 2G, and HID is still broken. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31516 a1c6a512-1295-4272-9138-f99709370657
* GHWCFG* are not as3525v2 specificRafaël Carré2012-01-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31515 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#12243 : On 20GB H10, restore correct upside down state when waking LCD.Boris Gjenero2012-01-01
| | | | | | | | | | | In lcd_power_on(), R_DRV_OUTPUT_CONTROL and R_GATE_SCAN_START_POS are now initialized like in lcd_set_flip(), so the display wakes up properly when it is supposed to be upside down. Thanks to Neil Sharrow for reporting the problem and testing the patch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31514 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Revert removal of usb_plugged in r31489Michael Sevakis2012-01-01
| | | | | | | | | | Synchronous cable read is still required because the timing of the receipt of the cable event cannot be known for sure-- basically it introduced a thread race between main and pmic. If a keypress is desired instead to enter BL USB mode a la AS3525, then it's possible to remove that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31510 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2.c: merge in usb-s3c6400x.cRafaël Carré2011-12-31
| | | | | | | | | as3525v2 specific part is 400 LoC, ipod specific less than 300 (comments and whitespace included) TODO: merge properly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31509 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400: use more complete functions from usb-drv-as3525v2Rafaël Carré2011-12-31
| | | | | | update copyright git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31508 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2.h: removeRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31507 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400x: start factorizationRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31506 a1c6a512-1295-4272-9138-f99709370657
* fix r31502: USBOTG_AS3525v2 doesn't exist anymoreRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31504 a1c6a512-1295-4272-9138-f99709370657
* typoRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31503 a1c6a512-1295-4272-9138-f99709370657
* Remove USBOTG_AS3525v2Rafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31502 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2: cosmeticsRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31501 a1c6a512-1295-4272-9138-f99709370657
* onda: remove now inlined USB_INIT_GPIO()Rafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31500 a1c6a512-1295-4272-9138-f99709370657
* imx233: fix power_input_status()Rafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31499 a1c6a512-1295-4272-9138-f99709370657
* usb-target.h: removeRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
* onda 747/777 : move USB_STATUS_BY_EVENT to configRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31497 a1c6a512-1295-4272-9138-f99709370657
* onda usb code: merge into .c fileRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31496 a1c6a512-1295-4272-9138-f99709370657
* creative zvm isp1583 defines: move to isp1583.hRafaël Carré2011-12-31
| | | | | | zvm is the only user of this file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31495 a1c6a512-1295-4272-9138-f99709370657
* USBOTG_ARC's USB_DRIVER_CLOSE: move to config.hRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31494 a1c6a512-1295-4272-9138-f99709370657
* gigabeats usb-target: merge in system-target.hRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31493 a1c6a512-1295-4272-9138-f99709370657
* delete usb-target.h content redundant with PP usb-target.hRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31492 a1c6a512-1295-4272-9138-f99709370657
* firewire/usb_remove/insert_int: move to system-target.hRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31491 a1c6a512-1295-4272-9138-f99709370657
* usb_drv_connected() is declared in usb_drv.hRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31490 a1c6a512-1295-4272-9138-f99709370657
* usb_plugged() is PP onlyRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31489 a1c6a512-1295-4272-9138-f99709370657
* move usb_pin_init() declaration to PP's system-target.hRafaël Carré2011-12-31
| | | | | | | remove duplicate usb_detect() declaration Remove all content from empty usb-target.h files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31488 a1c6a512-1295-4272-9138-f99709370657
* usb_init_device(): move prototype to usb.hRafaël Carré2011-12-31
| | | | | | Get rid of some usb-target.h files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31487 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2: move interrupt disableRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31486 a1c6a512-1295-4272-9138-f99709370657
* usb_core: Fix typo in commentMichael Sparmann2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31482 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400x: move usb_init_deviceRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31478 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400x.c: move usb_detect and usb_enableRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31477 a1c6a512-1295-4272-9138-f99709370657
* The AMSv1 driver limitation that disallows 64K transfers is a USB core ↵Frank Gevaerts2011-12-31
| | | | | | limitation, not a CPU limitation, so use the appropriate defines to test for it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31476 a1c6a512-1295-4272-9138-f99709370657