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

93 Commits

Author SHA1 Message Date
Lars-Peter Clausen
e9c3c9b628 jz4740-codec: Enable DAC Switch by default.
This allows audio playback without having to enable the DAC Switch before.
2009-12-18 14:56:45 +01:00
Lars-Peter Clausen
4781d4c068 Revert "enable sound default"
This reverts commit b33c92aaf5.

The commit inverted the semantics for ADC Switch. When the switch is Off Sound
is On and when the switch is On sound is Off. This will certainly confuse users
and apps.

And it did not enable sound by default.
2009-12-18 14:55:20 +01:00
Xiangfu Liu
b33c92aaf5 enable sound default 2009-12-17 12:38:48 +08:00
Lars-Peter Clausen
6f76581889 jz4740_fb: Disable lcd when it's blanked. 2009-12-07 08:48:19 +01:00
Lars-Peter Clausen
9b67cee817 n526: Add keyboard controller driver 2009-12-06 19:16:54 +01:00
Lars-Peter Clausen
3973f270ee n526: Add board sound driver. 2009-12-06 17:16:11 +01:00
Lars-Peter Clausen
043bd2e062 jz4740: Fix mmc plaform device name. 2009-12-02 09:49:37 +01:00
Lars-Peter Clausen
c9674c3ab7 jz-mmc: Put functions pins to high-z during suspend. 2009-12-02 04:17:50 +01:00
Lars-Peter Clausen
3ae48ccb8c jz4740: GPIO: Add functions to put function pins to high-z and to restore their
function.

We want to put function pins to high-z to decrease power leakage during suspend.
2009-12-02 04:12:39 +01:00
Lars-Peter Clausen
aa7c40a8c1 jz_mmc: Fix MODULE_LICENSE string. 2009-12-02 02:14:45 +01:00
Lars-Peter Clausen
b49fda4c4d board-qi_lb60: remove obsolete definitions. 2009-12-01 12:37:30 +01:00
Lars-Peter Clausen
9b6b004c29 Don't reference non existing file 2009-12-01 11:40:04 +01:00
Lars-Peter Clausen
093af2c9c4 board-n526: Add very basic n526 support. 2009-12-01 11:28:00 +01:00
Lars-Peter Clausen
a37293414f jz4740-mmc: Some minor fixes. 2009-12-01 11:13:52 +01:00
Lars-Peter Clausen
0cc0cfdf81 jz4740-mmc: set correct drvdata 2009-11-29 04:17:52 +01:00
Lars-Peter Clausen
77179384c6 jz4740: Use new mmc driver. 2009-11-28 07:39:48 +01:00
Lars-Peter Clausen
7cb18ebd63 jz4740: Use old mmc driver for now (the new one hasn't been commited yet) 2009-11-21 15:31:36 +01:00
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