Lars-Peter Clausen
145c533ec2
Fix issues form previous commit...
2009-11-21 03:14:20 +01:00
Lars-Peter Clausen
0c0247d223
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-11-20 19:38:21 +01:00
Lars-Peter Clausen
a5b5e808a5
jz4740: Some restrucuring to prepare for regs.h and ops.h removal
2009-11-20 19:36:33 +01:00
Lars-Peter Clausen
1ac22689b8
jz4740: Get rid of unused files.
2009-11-20 19:28:03 +01:00
Xiangfu Liu
92167260ad
re-license the board-qi_lb60.c with GPLv2 or later
2009-11-18 10:23:56 +08:00
Lars-Peter Clausen
733ee36727
jz4740: gpio: Emulate EDGE_BOTH irq type.
...
The jz4740 only supports EDGE_RISING or EDGE_FALLING. Some drivers need
EDGE_BOTH so we try to emulate it.
2009-11-16 01:34:50 +01:00
Lars-Peter Clausen
0d3b54ed10
gpm940b0: Add suspend/resume support.
2009-11-09 19:32:20 +01:00
Lars-Peter Clausen
92e06e95a5
jz4740: qi_lb60: Allow the power button to wakeup the device from suspend.
2009-11-09 17:56:21 +01:00
Lars-Peter Clausen
27ca1adf36
jz4740: Cleanup powermanagemnt code. Add inital suspend support.
2009-11-09 17:47:28 +01:00
Lars-Peter Clausen
12f85f8a91
jz4740: Don't enable all clocks when booting.
...
All clocks we need should allready be enabled by the bootloader.
2009-11-09 01:10:31 +01:00
Lars-Peter Clausen
bc0684a065
jz4740: Remove imem and ipu support from proc
...
It's not used and wastes 4MB of mem.
2009-11-09 00:25:34 +01:00
Lars-Peter Clausen
928b8ba548
jz4740: Remove mmc file from proc section
...
It does not make sense to keep it threre.
2009-11-08 23:48:53 +01:00
Lars-Peter Clausen
44e92dbd5d
gpm940b0: Select high driver frequency
...
Fixes flicker.
2009-10-30 02:18:31 +01:00
JieJing.Zhang
907a34b80e
jz_battery: fix bug cause kernel panic.
...
all about container_of macro.
Signed-off-by: JieJing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:33 +08:00
Xiangfu Liu
110c87a5f7
revert commit: 3dbe390f5347b6c279c9d193445e1c86fbee9894
...
those change make kernel panic.
2009-10-28 03:13:33 +08:00
Xiangfu Liu
8319e34599
fix the jz4740_pcm_mmap function
...
now Ben can play online Radio
2009-10-28 03:13:33 +08:00
Jiejing.Zhang
96b315a920
add disable sound amp while sound not playback.
...
This will save power of amp.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:33 +08:00
Xiangfu Liu
6abb40220e
fix the comma and period key
2009-10-28 03:13:32 +08:00
Xiangfu Liu
fa7ec6d7d6
enable the speaker
2009-10-28 03:13:32 +08:00
Lars-Peter Clausen
9eff41dbb1
qi_lb60: Initalize nand paritions and ecc layout depending on the chip size.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
cc05485408
jz4740_nand: Add ident_callback
...
Add ident_callback which is called after the nand chip has been identified and
before it is setup. This can be used by board code to set partition and ecc info
depending on the chip.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
7fa87373a8
mach-jz4740: Move all non generic code from platform.c to board-qi_lb60.c
...
platform.c should only contain the generic platform device definitons,
everything board specific should go into the board file.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
5709f560f9
Cleanup qi-lb60 board code.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
9c229a412e
Remove old ingenic framebuffer drivers.
...
I think it's time to get rid of these
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
c84ef25bf3
Merge patches into files.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
c456866a4a
jz4740_fb: Properly initalize physical video memory address
2009-10-28 03:13:31 +08:00
Xiangfu Liu
767987c14e
cleaup code style
2009-10-28 03:13:30 +08:00
Xiangfu Liu
3dde1ac212
code style cleanup jz4740_nand.c
2009-10-28 03:13:30 +08:00
Xiangfu Liu
2f3ac925c4
cleanup-gpm940b0-code-style.patch
2009-10-28 03:13:29 +08:00
Xiangfu Liu
1649bbc3d6
make poweroff command work
2009-10-28 03:13:29 +08:00
Jiejing.Zhang
cd0d71a697
jz-battery: improve code. clear static var.
...
1. clear static global var, use platform_get_drvdata.
2. check gpio state before register power supply.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Jiejing.Zhang
c91cec083b
jz_battery: improve driver code.
...
1. put all gobal var to a driver info struct.
2. check gpio before use it.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Lars-Peter Clausen
ae01e2fb2c
Add jz4740-adc.h
2009-10-28 03:13:28 +08:00
Lars-Peter Clausen
90dc5a173c
jz4740-ac: Fix some small bugs
2009-10-28 03:13:27 +08:00
Lars-Peter Clausen
bdbda932b8
Compile fix jz4740-battery.c, use adc driver and some other minor cleanups.
...
Enable adc and battery.
2009-10-28 03:13:27 +08:00
Lars-Peter Clausen
7a88b927f8
Add jz4740 ADC driver.
2009-10-28 03:13:27 +08:00
Xiangfu Liu
9e02463e3e
add jz4740_batt.h
2009-10-28 03:13:27 +08:00
Xiangfu Liu
9e7f1e7f1a
remove the JZ_BAT_XXX_VOLTAGE define
2009-10-28 03:13:27 +08:00
Jiejing.Zhang
5878098ab3
cleanup more about battery gpio and platform data
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
4c36a20b10
Add jz4740-rtc driver.
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
9480e0470b
jz4740_fb: Add include guards
2009-10-28 03:13:26 +08:00
Xiangfu Liu
cd6b976c21
revert the keyboard.c code. just change the defkeymap.map make all keys work
...
also the [Euro] [Degree] [Umlaut] work
2009-10-28 03:13:26 +08:00
Xiangfu Liu
04429a1771
Fn-modifier-keys-work
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
918f1072ed
Remove i2c.
2009-10-28 03:13:26 +08:00
Xiangfu Liu
08996e7e50
add defkeymap.c, fix the CAPSLOCK not work
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
4230547879
Some build fixes.
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
0a70a90d30
jz4740: irq and dma cleanups.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
f5d7bb60e5
Add qi lb60 sound soc board driver.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
557e48bc8e
Some build fixes.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
9b4d9a94d6
Oops... those where missing from commit cbecf6e9f1
2009-10-28 03:13:25 +08:00