1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 11:54:04 +02:00
Commit Graph

113 Commits

Author SHA1 Message Date
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
Lars-Peter Clausen
8bb63272c3 jz4740 asoc: Add new internel codec driver.
Add qi lb60 board support.
Remove unneeded files.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
299c9e29ef jz4740: More udc cleanup. Enable usb ethernet gadget. 2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
8c57ef78b6 jz4740: Cleanup Kconfig 2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
fdeff24f83 jz4740: irq and dma cleanups. 2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
d763dfdb80 jz4740_nand: Fix compiler warning 2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
935e79e5ab More udc cleanup 2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
88f159b443 Cleanup udc driver (a bit). 2009-10-28 03:13:23 +08:00
Mirko Vogt
98d2317905 fix typo 2009-10-28 03:13:22 +08:00
Xiangfu Liu
281d29e9b7 fix the kernel compile error in openwrt
the patch folder is not correct
2009-10-28 03:13:22 +08:00
Lars-Peter Clausen
1976b23d08 Set correct color sequnce.
Add a debug sysfs entry reg which gives direct write access to lcms display
registers.
2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
3a1ece5ea7 Add lcm driver. 2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
430fba9852 Fix typo. 2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
b8419470a2 Add clock support. Mostly untested. 2009-10-28 03:13:21 +08:00
Xiangfu Liu
26795803ce fix a redefine warning, GPIO_PWM defined in board-qi_lb60.c file
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:20 +08:00
Xiangfu Liu
ee8a609caf fix [SHIFT,CAPSLOCK] key define
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
a66785b06c Add gpio pin definitions and functions to configure a pin as a function pin. 2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
297d16a6ec Aligen framebuffer data at page boundary. 2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
a65fb5ef2d reserve bad block area in oob data. 2009-10-28 03:13:15 +08:00
Xiangfu Liu
3aa5222095 revert the jzlcd.h configure to fit the patch file.
remove 51-fb.patch. we have 051-fb.patch.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
35fedaa9e4 Fix some problems in the framebuffer driver. 2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
ebc8c5a149 Add framebuffer driver for the jz4720/jz4740. It's not complete yet but provides
enough for qi_lb60 support.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
8e033878c9 Add missing irq defintions for gpio, build gpio module and select necessary
symbols for gpio lib.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
1cbf56a99d Fix gpio initialisation. 2009-10-28 03:13:14 +08:00
Xiangfu Liu
e20cd0d3eb fix a redefine warning, GPIO_PWM defined in board-qi_lb60.c file
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:14 +08:00
Xiangfu Liu
bb05897208 make the 2.6.31-rc6 compiled in openwrt.
*add layer7_2 patch fix the iptables compile error
  *remove the 'sizes.h' include in jz_mmc.c
  *chmod -x jz_mmc.*
  *not make uImage in Makefile, let openwrt do it.

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:13 +08:00
Lars-Peter Clausen
7d446f792e Add 2.6.31 patches and files. 2009-10-28 03:13:13 +08:00