Commit Graph

36 Commits (5c12503a1848c330b2c03020d0dbb588c2478662)

Author SHA1 Message Date
Lars-Peter Clausen 00d06631c9 [xburst] sound jz4740_pcm: Set dma channel to NULL after it has been freed,
because hw_free can be called multiple times aswell.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-22 18:57:50 +00:00
Lars-Peter Clausen 73c0188609 [xburst] sound jz4740_pcm: Don't request dma channel mor then once.
It is possible that the hw_params callback is called multiple times when using
the oss emulation layer. Thus we need to check whether the dma channel has
already been requested otherwise we'll end up with all dma channels being
requested by sound driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-22 15:22:26 +00:00
Lars-Peter Clausen b7af62c82e [xburst] jz_mmc: Fix timeout timer. Annotate timeout checks as unlikely()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 15:46:49 +00:00
Lars-Peter Clausen 4fd777fab1 [xburst] jzcodec: Fix supported formats.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:49:30 +00:00
Lars-Peter Clausen 82d65a5e35 [xburst] jz4740-i2s: Export jz4740_i2s_dai
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 01:54:09 +00:00
Lars-Peter Clausen c6bb259c47 [xburst] dma: export jz4740_dma_request
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 01:29:44 +00:00
Lars-Peter Clausen 26ce4b5601 [xburst] metronomefb: Add rotation support and some minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 00:29:21 +00:00
Lars-Peter Clausen f67465a4cd [xburst] n516-lpc: Fix irq strom during resume
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 00:28:39 +00:00
Lars-Peter Clausen e678770306 [xburst] jz4740: Properly setup intc irq handler.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 12:03:48 +00:00
Lars-Peter Clausen ef640151ff [xburst] n516-lpc: Ack wakeup events and some minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 00:03:40 +00:00
Lars-Peter Clausen c46b878186 [xburst] jz4740-gpio: Fix potential race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:34:40 +00:00
Lars-Peter Clausen 6f08e4f46c [xbrust] Fix gpio and irq wakeup irq handling.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:34:01 +00:00
Lars-Peter Clausen fb84e2bb95 [xburst] Export gpio and irq registers through debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:32:08 +00:00
Lars-Peter Clausen 16534be065 [xburst] Add sound support for the n516.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 23:45:45 +00:00
Lars-Peter Clausen 13d5352599 [xburst] Add support for enabling/disabling the aic controllers clock.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 23:44:58 +00:00
Lars-Peter Clausen 915c434270 [xburst] Add support for the n516
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:21:41 +00:00
Lars-Peter Clausen 8f5f7daa44 [xburst] jz4740 pm: Fix gpio suspend/resume. Turn pll off while in suspend and gate
clocks off which arn't handeld by their subsystems yet.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:56:25 +00:00
Lars-Peter Clausen 859a9a12b0 [xburst] gpio.h: Add proper parenthesis to JZ_GPIO_PORTX macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:53:23 +00:00
Lars-Peter Clausen c2324766a6 [xburst] jz4740_fb: Add support for parallel displays, improve power consumption
and some minor bugfixes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:48:55 +00:00
Lars-Peter Clausen 4f5cf011b0 [xburst] jz4740_udc: Implement suspend/resume
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 20:20:54 +00:00
Lars-Peter Clausen 7b95f29280 [xburst] jz4740_nand:
* Use NAND_ECC_HW_OOB_FIRST mode instead of a patched NAND_ECC_HW
* Fix subpage writing
* speed up reading


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 18:09:12 +00:00
Lars-Peter Clausen b55636bb42 [xburst] Add per board struct describing the external clock setup.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 20:45:00 +00:00
Lars-Peter Clausen a2e12ba64c [xburst] jz-mmc: Fix deadlock which could occur if the card was removed while a
data transfer was active.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-13 23:08:26 +00:00
Lars-Peter Clausen 0ccffaccac [xburst] jz4740_fb: Do not disable lcd clock during blanking. Only during
suspend.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 23:36:18 +00:00
Lars-Peter Clausen 053093dfe7 [xburst] defkeymap.c has been renamed to defkeymap.c_shipped in 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-07 13:08:18 +00:00
Lars-Peter Clausen ce2133682d [xburst] board-qi_lb60: Fix battery platform data.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-07 12:10:00 +00:00
Lars-Peter Clausen dffce65970 [xburst] clocks: Fix JZ_REG_CLOCK_SLEEP_CTRL address
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-07 11:33:58 +00:00
Lars-Peter Clausen bb65b32d5f [xburst] Cleanup battery driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-03 16:08:01 +00:00
Lars-Peter Clausen 4b68270174 [xburst] Seperate charger logic from battery driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-03 13:16:23 +00:00
Lars-Peter Clausen bdb2cea8b9 [xburst] rtc-jz4740: Free rtc irq when driver is removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 13:50:12 +00:00
Lars-Peter Clausen 55fc5893b2 [xburst] rtc-jz4740: reset rtc clock if it has lost its state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 12:09:52 +00:00
Lars-Peter Clausen 623164aa98 [xburst] Dynamically gate adc clock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 13:12:17 +00:00
Lars-Peter Clausen ff0dbbcaed [xburst] Fix usb gadget driver build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 20:59:15 +00:00
Lars-Peter Clausen 7915ad0ec1 [xburst] Export clock states through debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 20:12:27 +00:00
Lars-Peter Clausen 51c68c80e5 [xburst] Cleanup clock module a bit and replace last users of __cpm_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 18:13:02 +00:00
Lars-Peter Clausen 4a18a35a91 Merge xburst target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 04:44:45 +00:00