htc-msm-2-6-32:leviathan-incoming.git
8 years agoreenable devices in board-htctopaz.c, they probably did not need to be disabled lev-tmzt
Timothy Meade [Tue, 22 Dec 2009 12:10:42 +0000 (07:10 -0500)]
reenable devices in board-htctopaz.c, they probably did not need to be disabled

8 years agoboots to htc_fb_console on rhod500
Timothy Meade [Tue, 22 Dec 2009 12:04:58 +0000 (07:04 -0500)]
boots to htc_fb_console on rhod500

8 years agofixed usb gadget driver
David Lanzendörfer [Mon, 14 Dec 2009 17:51:04 +0000 (18:51 +0100)]
fixed usb gadget driver

8 years agofixed oops on bootup
David Lanzendörfer [Mon, 14 Dec 2009 17:50:48 +0000 (18:50 +0100)]
fixed oops on bootup

8 years agochanged something
David Lanzendörfer [Mon, 14 Dec 2009 17:50:27 +0000 (18:50 +0100)]
changed something

8 years agosysfs: Fix sysfs owner and group.
Arve Hjønnevåg [Thu, 17 Dec 2009 05:15:49 +0000 (21:15 -0800)]
sysfs: Fix sysfs owner and group.

First call to sysfs_setattr ignored the requested owner and group.

Change-Id: I8343f818c65c54f6dbb55533cd34b31eeba5b554
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agomsm_serial_hs: fix lockup on 2.6.32
Arve Hjønnevåg [Thu, 17 Dec 2009 05:15:07 +0000 (21:15 -0800)]
msm_serial_hs: fix lockup on 2.6.32

Change-Id: I38cc48fea1e5876b68f43194f505461373682602

8 years agorfkill: Introduce CONFIG_RFKILL_PM and use instead of CONFIG_PM to power down
Nick Pelly [Fri, 5 Dec 2008 01:37:05 +0000 (17:37 -0800)]
rfkill: Introduce CONFIG_RFKILL_PM and use instead of CONFIG_PM to power down

Some platforms do not want to power down rfkill devices on suspend.

Change-Id: I62a11630521c636d54a4a02ab9037a43435925f5
Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: sdcc: Make slot status irq be a resource
Dima Zavin [Sat, 23 May 2009 03:21:50 +0000 (20:21 -0700)]
[ARM] msm: sdcc: Make slot status irq be a resource

Also, convert all SDCC IRQ resources to be named. No longer pass status_irq
in the platform_data

Change-Id: I0a53fd544742191ebf6fd14c9b5feac154a11371
Signed-off-by: Dima Zavin <dima@android.com>
8 years ago[ARM] msm_fb: Fix framebuffer console
Arve Hjønnevåg [Tue, 15 Dec 2009 06:20:03 +0000 (22:20 -0800)]
[ARM] msm_fb: Fix framebuffer console

Don't allow non panning updates to bypass the wait for the panel to turn on.

Change-Id: I32eedf37dd1b0d34cdcad782027b635e5c65f691

8 years agoconsoleearlysuspend: Fix for 2.6.32
Arve Hjønnevåg [Tue, 15 Dec 2009 06:14:52 +0000 (22:14 -0800)]
consoleearlysuspend: Fix for 2.6.32

vt_waitactive now needs a 1 based console number

Change-Id: I07ab9a3773c93d67c09d928c8d5494ce823ffa2e

8 years agomsm_serial_debugger: fix to build without CONFIG_PREEMPT
Arve Hjønnevåg [Tue, 15 Dec 2009 04:36:23 +0000 (20:36 -0800)]
msm_serial_debugger: fix to build without CONFIG_PREEMPT

Change-Id: I71e115a26142cccd809aa979dfa9541f842ae680

8 years agokeychord: fix to build without CONFIG_PREEMPT
Arve Hjønnevåg [Tue, 15 Dec 2009 04:27:04 +0000 (20:27 -0800)]
keychord: fix to build without CONFIG_PREEMPT

Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb

8 years agomt9t013: fix to build on 2.6.32
Arve Hjønnevåg [Tue, 15 Dec 2009 04:21:44 +0000 (20:21 -0800)]
mt9t013: fix to build on 2.6.32

Change-Id: I42dfb9f0f92a626510b6f5c186ee613ce79578c9

8 years agosched: Fix task priority bug
Peter Zijlstra [Fri, 4 Dec 2009 08:59:02 +0000 (09:59 +0100)]
sched: Fix task priority bug

83f9ac removed a call to effective_prio() in wake_up_new_task(), which
leads to tasks running at MAX_PRIO.

This is caused by the idle thread being set to MAX_PRIO before forking
off init. O(1) used that to make sure idle was always preempted, CFS
uses check_preempt_curr_idle() for that so we can savely remove this bit
of legacy code.

Reported-by: Mike Galbraith <efault@gmx.de>
Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1259754383.4003.610.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
8 years agoRevert "Revert "sched: Set correct normal_prio and prio values in sched_fork()""
Arve Hjønnevåg [Tue, 15 Dec 2009 04:06:56 +0000 (20:06 -0800)]
Revert "Revert "sched: Set correct normal_prio and prio values in sched_fork()""

This reverts commit 8bf14ef1d2bb205e11e00e1aa05eb80aa43f9243.

8 years ago[ARM] msm: acpuclock: Fix cpu ramp down and up around power collapse.
Arve Hjønnevåg [Sat, 12 Dec 2009 05:16:18 +0000 (21:16 -0800)]
[ARM] msm: acpuclock: Fix cpu ramp down and up around power collapse.

Change-Id: I2e43df297489ed5a4d533beb0a92713d21864df8
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: timer: Fix sleep duration from idle.
Arve Hjønnevåg [Sat, 5 Dec 2009 06:53:27 +0000 (22:53 -0800)]
[ARM] msm: timer: Fix sleep duration from idle.

Don't read TIMER_MATCH_VAL. This register may return an old value which
would cause the calculated sleep duration to be wrong.

Change-Id: Iaf079b28b47a677d485135912aa8b66b183cacf4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agoRevert "sched: Set correct normal_prio and prio values in sched_fork()"
Arve Hjønnevåg [Fri, 11 Dec 2009 07:24:34 +0000 (23:24 -0800)]
Revert "sched: Set correct normal_prio and prio values in sched_fork()"

This reverts commit f83f9ac2632732bd1678150b5a03d152f912fe72.

8 years agoserial debug fixes
Arve Hjønnevåg [Fri, 11 Dec 2009 06:04:27 +0000 (22:04 -0800)]
serial debug fixes

Change-Id: If15c0d0aedbf8ad443bb9c8d2dd47b109d593eb2

8 years agomsm_fb: fix for 2.6.32.
Arve Hjønnevåg [Fri, 11 Dec 2009 02:40:19 +0000 (18:40 -0800)]
msm_fb: fix for 2.6.32.

Change-Id: I5e8a2ef7d0f7a86883e0f77c7e68251b2a3c4584

8 years agomsm_serial_debugger: fix for 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:36:58 +0000 (17:36 -0800)]
msm_serial_debugger: fix for 2.6.32

Change-Id: I3c512234519f7a0d9f8bcb5718bef1fc2c446884

8 years agoboard-sapphire-rfkill: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:36:30 +0000 (17:36 -0800)]
board-sapphire-rfkill: fix to build on 2.6.32

Change-Id: I6ed063945b0461292aa784788a7e879db9e2e922

8 years agofunction/mass_storage: Fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:22:47 +0000 (17:22 -0800)]
function/mass_storage: Fix to build on 2.6.32

Change-Id: If78296c2e464d4a70045fb676427f3f508fa7da6

8 years agomsm_serial_hs: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:13:01 +0000 (17:13 -0800)]
msm_serial_hs: fix to build on 2.6.32

Change-Id: I4c2555eb7cb9a333a2d85136afe6292f7db9b9f6

8 years agomsm_serial: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:06:42 +0000 (17:06 -0800)]
msm_serial: fix to build on 2.6.32

Change-Id: Ib97cd6d7e127573ebf4eae7f2a4a215e03dcb74f

8 years agomsm_rmnet: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 01:03:42 +0000 (17:03 -0800)]
msm_rmnet: fix to build on 2.6.32

Change-Id: Ic6a4903dd12ea83723354d00f639ae2f9375167f

8 years agopca963x: build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:54:05 +0000 (16:54 -0800)]
pca963x: build on 2.6.32

Change-Id: I89ff2705f8bd2de6eba90ef25928d81febfbc6c7

8 years agoakm8976: build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:53:46 +0000 (16:53 -0800)]
akm8976: build on 2.6.32

Change-Id: Iff5e3753fe770984198231b640190cc8e423010e

8 years agohci_ll.c: fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:50:38 +0000 (16:50 -0800)]
hci_ll.c: fix to build on 2.6.32

Change-Id: I0b394dab02500c76ea8a1429747bd23616a39c52

8 years agohtc_pwrsink: Fix to build on 2.6.32
Arve Hjønnevåg [Fri, 11 Dec 2009 00:46:29 +0000 (16:46 -0800)]
htc_pwrsink: Fix to build on 2.6.32

Change-Id: I80f71adde17b3a1a99e91055c947a419ab71ba1f

8 years agoakm8976: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:24:07 +0000 (18:24 -0700)]
akm8976: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agoInput: gpio_input: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:24:59 +0000 (18:24 -0700)]
Input: gpio_input: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: mdp: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:26:51 +0000 (18:26 -0700)]
[ARM] msm: mdp: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: dma: disable_irq -> disable_irq_nosync
Arve Hjønnevåg [Sat, 18 Apr 2009 01:21:34 +0000 (18:21 -0700)]
[ARM] msm: dma: disable_irq -> disable_irq_nosync

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: trout: Pass wakeup irq to serial debugger
Arve Hjønnevåg [Thu, 10 Dec 2009 08:03:36 +0000 (00:03 -0800)]
[ARM] msm: trout: Pass wakeup irq to serial debugger

Change-Id: I695226bbd595d35ed6f9e29f09d13741c345de76

8 years agohack: serial debugger baud rate is wrong on dream
Arve Hjønnevåg [Thu, 10 Dec 2009 08:02:49 +0000 (00:02 -0800)]
hack: serial debugger baud rate is wrong on dream

Change-Id: I494319bff007f033003836ff21249cf19d3bbe27

8 years ago[ARM] msm: Switch to svc mode before calling fiq handler
Arve Hjønnevåg [Fri, 5 Jun 2009 05:55:24 +0000 (22:55 -0700)]
[ARM] msm: Switch to svc mode before calling fiq handler

Also add 8k fiq stack.

Change-Id: Ia08fb31d9d235a7fed1c77911db82b2b6470b678
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agomsm_serial_debugger 2.6.32 fixes
Arve Hjønnevåg [Thu, 10 Dec 2009 07:42:23 +0000 (23:42 -0800)]
msm_serial_debugger 2.6.32 fixes

Change-Id: I3b5c05e007240ffb479911c360a4adeb723d163d

8 years ago[ARM] msm_serial_debugger: Add some debugger commands
Arve Hjønnevåg [Wed, 10 Jun 2009 03:34:00 +0000 (20:34 -0700)]
[ARM] msm_serial_debugger: Add some debugger commands

Add allregs to dump registers for all modes.
Add bt to get a stackstrace.

Change-Id: Ia85e72b6c8243eba38a04cf4f6cc9cba5342a6de
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: Fix register dump in fiq debugger
Arve Hjønnevåg [Fri, 17 Apr 2009 05:53:47 +0000 (22:53 -0700)]
[ARM] msm: Fix register dump in fiq debugger

Change-Id: Iff5cd48291c9b09aace30220c4229c157a7db1d0
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm_serial_debugger: Add option to never disable wakeup IRQ.
Arve Hjønnevåg [Fri, 2 Oct 2009 22:25:43 +0000 (15:25 -0700)]
[ARM] msm_serial_debugger: Add option to never disable wakeup IRQ.

This works better if the radio ignores the uart clock request while
power collapsed.

Change-Id: Ib0989e714e883b3667c9ecc4cfd1ebfe014a35df
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm_serial_debugger: Add option to keep serial debugger active from boot.
Arve Hjønnevåg [Fri, 2 Oct 2009 04:19:21 +0000 (21:19 -0700)]
[ARM] msm_serial_debugger: Add option to keep serial debugger active from boot.

If msm_serial_debugger.no_sleep=1 is added to the kernel command line, or
MSM_SERIAL_DEBUGGER_NO_SLEEP is selected in the config, the serial debugger
is activated on boot and stays active until it receives a sleep command.

Change-Id: Ibf84435af8203360ee808fd903dd6322cf5d9d17
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: serial_debugger: move the clock disable to after we enable the fiq
Dima Zavin [Fri, 14 Aug 2009 03:57:57 +0000 (20:57 -0700)]
[ARM] msm: serial_debugger: move the clock disable to after we enable the fiq

If the uart fifo is not empty when we enable the fiq, the handler will try to
empty it and hang since the clock disabled prior to enabling the fiq.

Signed-off-by: Dima Zavin <dima@android.com>
8 years ago[ARM] msm_serial_debugger: Add wakeup irq and disable uart clock when idle
Arve Hjønnevåg [Tue, 4 Aug 2009 04:07:31 +0000 (21:07 -0700)]
[ARM] msm_serial_debugger: Add wakeup irq and disable uart clock when idle

The serial debugger is now inactive by default so we can enter low power
modes. Hit enter twice to activate it for 5 seconds.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm_serial_debugger: Support 19.2MHz clock.
Arve Hjønnevåg [Thu, 25 Jun 2009 00:50:40 +0000 (17:50 -0700)]
[ARM] msm_serial_debugger: Support 19.2MHz clock.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agodisable staging/dream
Arve Hjønnevåg [Thu, 10 Dec 2009 07:29:56 +0000 (23:29 -0800)]
disable staging/dream

Change-Id: I8f2fdae60761ba773fd0ee5b49a624f3d1798fd6

8 years agomsm_nand.c fix to build on 2.6.32
Arve Hjønnevåg [Thu, 10 Dec 2009 07:27:41 +0000 (23:27 -0800)]
msm_nand.c fix to build on 2.6.32

Change-Id: Ice6b449ae0b1a3c06646c30448995ccc7769461f

8 years agoboard-sapphire-mmc from 2.6.29
Arve Hjønnevåg [Thu, 10 Dec 2009 07:26:59 +0000 (23:26 -0800)]
board-sapphire-mmc from 2.6.29

Change-Id: I74c9d09c243536856f88188d71bc5cd9b7917851

8 years agomsm_serial_debugger build on 2.6.32
Arve Hjønnevåg [Thu, 10 Dec 2009 07:26:18 +0000 (23:26 -0800)]
msm_serial_debugger build on 2.6.32

Change-Id: I05b34d35181fbbe5d3b204a6a7a43a634d539654

8 years agoboard-sapphire-panel.c from 2.6.29
Arve Hjønnevåg [Thu, 10 Dec 2009 06:46:11 +0000 (22:46 -0800)]
board-sapphire-panel.c from 2.6.29

Change-Id: I28f707096722c744a2d6818b08eeb885e70a2452

8 years agohack: mmc files from 2.6.29
Arve Hjønnevåg [Thu, 10 Dec 2009 06:45:03 +0000 (22:45 -0800)]
hack: mmc files from 2.6.29

Change-Id: I5f1791108fb0577b6d520e2d357b32aef9498510

8 years agoboard-trout-panel from android-2.6.29
Arve Hjønnevåg [Thu, 10 Dec 2009 06:40:24 +0000 (22:40 -0800)]
board-trout-panel from android-2.6.29

Change-Id: I16c9290dfa3dd0bf7825d14445e7e7767c57756d

8 years ago[ARM] msm: Adding display drivers.
Rebecca Schultz [Thu, 20 Nov 2008 00:24:43 +0000 (16:24 -0800)]
[ARM] msm: Adding display drivers.

Adds mddi, mdp and msm_fb drivers.

Change-Id: I6da4c81f2cbc2777f1c99808d07fdf4256e42c84
Signed-off-by: Rebecca Schultz <rschultz@google.com>
8 years agoasm/mach/mmc.h is gone
Arve Hjønnevåg [Thu, 10 Dec 2009 05:55:17 +0000 (21:55 -0800)]
asm/mach/mmc.h is gone

Change-Id: Ieac3299a24db23afb2b4e5a3e5d904b585850931

8 years agoadd msm_fb.h from android-msm-2.6.29
Arve Hjønnevåg [Thu, 10 Dec 2009 05:49:16 +0000 (21:49 -0800)]
add msm_fb.h from android-msm-2.6.29

Change-Id: I2bfbd1b8b2157357fee2332333e5dfbe4b525fbf

8 years ago[ARM] msm: trout-rfkill: Build on 2.6.32
Arve Hjønnevåg [Thu, 10 Dec 2009 05:46:35 +0000 (21:46 -0800)]
[ARM] msm: trout-rfkill: Build on 2.6.32

Change-Id: Ibc87559f527b0e2de416d76e6cd12ae96e4ed792

8 years ago[ARM] msm: timer: Build on 2.6.32.
Arve Hjønnevåg [Thu, 10 Dec 2009 05:18:28 +0000 (21:18 -0800)]
[ARM] msm: timer: Build on 2.6.32.

Change-Id: I30ff766c8e064932d65bac895f5bb529d89e0a20

8 years ago[ARM] msm: clock: initialize the hlist correctly.
Chia-chi Yeh [Mon, 7 Dec 2009 18:32:59 +0000 (02:32 +0800)]
[ARM] msm: clock: initialize the hlist correctly.

Signed-off-by: Chia-chi Yeh <chiachi@android.com>
8 years ago[ARM] msm: clock: Use hlist instead of list
Arve Hjønnevåg [Wed, 21 Oct 2009 00:29:24 +0000 (17:29 -0700)]
[ARM] msm: clock: Use hlist instead of list

Change-Id: Id0bb9f2a6fe73ef05a818e7e5bd627c0052493b0
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: msm_serial_hs: Improve RX flush procedure during clock off sequence.
Nick Pelly [Fri, 20 Nov 2009 21:31:36 +0000 (13:31 -0800)]
[ARM] msm: msm_serial_hs: Improve RX flush procedure during clock off sequence.

Clock off is requested by msm_hs_request_clock_off. The new procedure is:
1) Immediately deassert RTS to prevent new RX data.
2) Wait for the TX pipeline to flush (TXLEV, TXEMT).
3) Issue a FORCE_STALE_EVENT command, and flush on RXSTALE.
5) After this flush completes, disable DLINK and flush one more time
   (discarding data).
6) Finally clock off the uart.

The key changes are to disable DLINK - which fixes the datamover lockup, and
the issuing of the FORCE_STALE_EVENT command - which prevents RX data loss
during clock off sequence.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: pm: msm_sleep() hooks for clock.c
Mike Chan [Mon, 16 Nov 2009 21:23:40 +0000 (13:23 -0800)]
[ARM] msm: pm: msm_sleep() hooks for clock.c

Signed-off-by: Mike Chan <mike@android.com>
8 years ago[ARM] msm: qdsp5: add a NULL-pointer check on module->ops->event
Kuma Chang [Fri, 13 Nov 2009 00:41:01 +0000 (16:41 -0800)]
[ARM] msm: qdsp5: add a NULL-pointer check on module->ops->event

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: acpuclock: Do not ramp up when going to power collapse/wfi
Mike Chan [Sat, 14 Nov 2009 01:15:22 +0000 (17:15 -0800)]
[ARM] msm: acpuclock: Do not ramp up when going to power collapse/wfi

Power collapse and wfi speeds specified in the board files are the fastest
speeds one can go before entering the mode. If the acpu is running at a
slower rate do not clock up, this can cause PLL depencency issues.

Signed-off-by: Mike Chan <mike@android.com>
8 years agommc: msm_sdcc: Clean up clock management and add a 10us delay after enabling clocks
San Mehat [Sun, 8 Nov 2009 21:00:37 +0000 (13:00 -0800)]
mmc: msm_sdcc: Clean up clock management and add a 10us delay after enabling clocks

It appears that in some cases there may be a delay on the ARM9 in enabling our clock.
As a result, we may put the controller into a bad state. Delay 10us after enabling
clocks to let the peripheral settle. Note - this is all imperical.

Also ensure set_ios() callback grabs the host lock.

Signed-off-by: San Mehat <san@google.com>
8 years ago[ARM] msm: msm_serial_hs: Do not allow suspend while BT DMA could be active.
Nick Pelly [Thu, 5 Nov 2009 04:30:42 +0000 (20:30 -0800)]
[ARM] msm: msm_serial_hs: Do not allow suspend while BT DMA could be active.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: i2c: Work around i2c controller bug.
Arve Hjønnevåg [Wed, 4 Nov 2009 05:26:19 +0000 (21:26 -0800)]
[ARM] msm: i2c: Work around i2c controller bug.

When writing I2C_WRITE_DATA right before the i2c clock line is scheduled
to go high again, the controller does not stretch the clock so the data
setup time is within the i2c spec.

Change-Id: Ibfa35a036454ac39a8bb94b0d1fc220976ace88f
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agomsm-nand: Add bad block marking/checking support.
Murali Palnati [Wed, 25 Mar 2009 14:34:37 +0000 (20:04 +0530)]
msm-nand: Add bad block marking/checking support.

Add support to check if a block is bad by reading the bad block
marker. For marking a block as bad, write all 0's to the first
page of the block which results in the bad block marker being set
to 0 as well.

Acked-by: David Brown <davidb@qualcomm.com>
Removed config option since some factory badblocks are marked in a way
that does not prevent erase.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years agomsm-nand: Add raw mode support
Murali Palnati [Wed, 25 Mar 2009 14:34:02 +0000 (20:04 +0530)]
msm-nand: Add raw mode support

Add support for reading and writing a raw page (Data + ECC bytes) from
the flash.

Acked-by: David Brown <davidb@qualcomm.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] mach: htc_pwrsink: Remove stub printk
San Mehat [Mon, 2 Nov 2009 18:32:46 +0000 (10:32 -0800)]
[ARM] mach: htc_pwrsink: Remove stub printk

Signed-off-by: San Mehat <san@google.com>
8 years ago[ARM] msm: msm_serial_hs: Wait for RX fifo to empty before clocking off.
Nick Pelly [Fri, 30 Oct 2009 02:23:36 +0000 (19:23 -0700)]
[ARM] msm: msm_serial_hs: Wait for RX fifo to empty before clocking off.

This is needed if we clock off quickly after RX.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: msm_serial_hs: Improve low power mode support.
Nick Pelly [Thu, 29 Oct 2009 01:47:05 +0000 (18:47 -0700)]
[ARM] msm: msm_serial_hs: Improve low power mode support.

Move the request_clock_off()/on() into the header.
Add exit_lpm_cb callback to help exit low power mode.
Clean up RTS / RFR handling. Deactivate RFR when clocking off the uart
unless RX wakeup lpm is being used.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: trout: Update msm_serial_hs platform data for new wakeup irq API.
Nick Pelly [Thu, 29 Oct 2009 01:55:53 +0000 (18:55 -0700)]
[ARM] msm: trout: Update msm_serial_hs platform data for new wakeup irq API.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: sapphire: Update msm_serial_hs platform data for new wakeup irq API.
Nick Pelly [Thu, 29 Oct 2009 01:55:15 +0000 (18:55 -0700)]
[ARM] msm: sapphire: Update msm_serial_hs platform data for new wakeup irq API.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: msm_serial_hs: Rename wakeup to rx_wakeup.
Nick Pelly [Tue, 27 Oct 2009 23:19:49 +0000 (16:19 -0700)]
[ARM] msm: msm_serial_hs: Rename wakeup to rx_wakeup.

Preparation for a new low power wakeup mode.

Signed-off-by: Nick Pelly <npelly@google.com>
8 years ago[ARM] msm: cpufreq: Kconfig cleanup, less msm specific options
Mike Chan [Thu, 29 Oct 2009 19:25:39 +0000 (12:25 -0700)]
[ARM] msm: cpufreq: Kconfig cleanup, less msm specific options

Signed-off-by: Mike Chan <mike@android.com>
8 years agomsm: cpufreq: Do not call a cpu transition if selecting the same speed.
Mike Chan [Thu, 29 Oct 2009 04:14:12 +0000 (21:14 -0700)]
msm: cpufreq: Do not call a cpu transition if selecting the same speed.

Signed-off-by: Mike Chan <mike@android.com>
8 years ago[ARM] msm: smd_rpcrouter: Fix a problem where the rtc read on suspend could trigger...
Arve Hjønnevåg [Sun, 20 Sep 2009 23:58:47 +0000 (16:58 -0700)]
[ARM] msm: smd_rpcrouter: Fix a problem where the rtc read on suspend could trigger a wakeup.

Add a suspend handler that delays suspend until the rpcrouter worker
thread blocks.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
8 years ago[ARM] msm: s5k3e2fx: fix for low-light VFE CAMIF errors, cleanup
Andy Yeh [Fri, 16 Oct 2009 19:40:42 +0000 (12:40 -0700)]
[ARM] msm: s5k3e2fx: fix for low-light VFE CAMIF errors, cleanup

Replaced all mdelay()s over 10ms with msleep()s.

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsd8k: camera: enable vfe_process_error_irq
Iliyan Malchev [Fri, 16 Oct 2009 18:42:08 +0000 (11:42 -0700)]
[ARM] qsd8k: camera: enable vfe_process_error_irq

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: eliminate kmalloc for MSM_CAM_IOCTL_CTRL_COMMAND packets
Iliyan Malchev [Fri, 9 Oct 2009 03:56:18 +0000 (20:56 -0700)]
[ARM] msm: camera: eliminate kmalloc for MSM_CAM_IOCTL_CTRL_COMMAND packets

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: more cleanup
Iliyan Malchev [Thu, 8 Oct 2009 21:39:41 +0000 (14:39 -0700)]
[ARM] msm: camera: more cleanup

-- renamed msm_sync::{frame, stats} to pmem_frames & pmem_stats
-- keep track of the max length of prev_frame_q and msg_event_q
-- make pict_pp a uint32_t to reflect usage from userspace
-- in vfe_sync, preview and snapshot frames were being duplicated on the heap
   and then sent to both the config thread and the frame/control thread; the
   config thread would in turn take its copy of the frame or snapshot frames
   and discard them
-- simplified and cleaned up postprocessing
-- no need for pp_sync_flag
-- send frames and snapshots to the config thread ONLY when PP_PREV,
           PP_SNAP, or PP_RAW_SNAP are enabled.
        -- allow only one type of PP at a time: you can't have PP_PREV and
           PP_SNAP together for example; userspace does not use the more than
           one PP at a time
-- added msm_divert_frame and msm_divert_snapshot to reduce indentation
   in msm_get_stats
-- renamed MSM_CAM_IOCTL_PICT_PP and MSM_CAM_IOCTL_PICT_PP_DONE to just
   MSM_CAM_IOCTL_PP and MSM_CAM_IOCTL_PP_DONE, since they apply to post-
   processing for preview as well as snapshot
-- added msm_deliver_frame and msm_deliver_snapshot, which are used from
   vfe_sync and msm_pp_release to deliver preview and snapshot frames
   respectively
-- in msm_pp_release, added a check for length of user-space allocation request
   limiting it to PAGE_SIZE

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: add on_heap field to msm_queue_cmd
Iliyan Malchev [Thu, 8 Oct 2009 20:24:32 +0000 (13:24 -0700)]
[ARM] msm: camera: add on_heap field to msm_queue_cmd

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years agousb_function: adb: Allow adb read call to be interrupted.
Mike Lockwood [Fri, 16 Oct 2009 22:06:19 +0000 (15:06 -0700)]
usb_function: adb: Allow adb read call to be interrupted.

Fixes a hang in "adb root" command due to read not returning on call to exit().

Change-Id: I2a4d8792afedb67a7f73a8b5df4e5cb5e1d0a6bc
Signed-off-by: Mike Lockwood <lockwood@android.com>
8 years agomsm: cpufreq: Export scaling_available_frequencies attr in /sys
Mike Chan [Fri, 16 Oct 2009 21:30:13 +0000 (14:30 -0700)]
msm: cpufreq: Export scaling_available_frequencies attr in /sys

Signed-off-by: Mike Chan <mike@android.com>
8 years agousb_function: adb: Queue read requests with length specified by client.
Mike Lockwood [Tue, 13 Oct 2009 12:26:07 +0000 (08:26 -0400)]
usb_function: adb: Queue read requests with length specified by client.

Previously we queued 4K requests rather than the count passed into read().

Change-Id: I4b43c982dd6f16bef273fb0b2dbe040ab4fcf19e
Signed-off-by: Mike Lockwood <lockwood@android.com>
8 years ago[ARM] qsd8k: camera: replace vfe tasklet with a workqueue
Iliyan Malchev [Wed, 7 Oct 2009 01:22:33 +0000 (18:22 -0700)]
[ARM] qsd8k: camera: replace vfe tasklet with a workqueue

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: add a gfp mask to vfe_alloc and vfe_resp
Iliyan Malchev [Tue, 6 Oct 2009 23:27:25 +0000 (16:27 -0700)]
[ARM] msm: camera: add a gfp mask to vfe_alloc and vfe_resp

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsd8k: camera: cleanup of msm_vfe8x and msm_vfe8x_proc
Iliyan Malchev [Tue, 6 Oct 2009 20:18:36 +0000 (13:18 -0700)]
[ARM] qsd8k: camera: cleanup of msm_vfe8x and msm_vfe8x_proc

-- remove unnecessary mutexes and spinlocks
-- eliminate unnecessary allocations
-- eliminated allocations made by the vfe interrupt in favor
   of a statically-allocated ring buffer.
-- use vfe_alloc for all allocations made by the VFE tasklet
-- combined extdata and ctrl in one kzalloc
-- rewrite vfe_proc_ops to use a table of callbacks and event mappings

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: fix crashes on interrupted syscalls
Iliyan Malchev [Tue, 6 Oct 2009 20:10:20 +0000 (13:10 -0700)]
[ARM] msm: camera: fix crashes on interrupted syscalls

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsd8k: stub out msm_camio_vfe_blk_beset
Iliyan Malchev [Fri, 2 Oct 2009 21:00:14 +0000 (14:00 -0700)]
[ARM] qsd8k: stub out msm_camio_vfe_blk_beset

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: s5k3e2fx: add retries for i2c transfers
Iliyan Malchev [Sun, 27 Sep 2009 20:39:06 +0000 (13:39 -0700)]
[ARM] msm: s5k3e2fx: add retries for i2c transfers

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: add vfe_free to complement vfe_alloc
Iliyan Malchev [Sat, 3 Oct 2009 02:01:25 +0000 (19:01 -0700)]
[ARM] msm: camera: add vfe_free to complement vfe_alloc

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: clean up printks
Iliyan Malchev [Fri, 2 Oct 2009 06:40:30 +0000 (23:40 -0700)]
[ARM] msm: camera: clean up printks

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsd8k: camera: cleanup of msm_vfe8x_proc.c
Iliyan Malchev [Fri, 2 Oct 2009 06:00:33 +0000 (23:00 -0700)]
[ARM] qsd8k: camera: cleanup of msm_vfe8x_proc.c

-- change error-related CDBG to pr_err
-- simplify vfe_get_awb_pingpong_status
-- remove dead code
-- rewrite the following functions to not return structs:
      vfe_parse_interrupt_status
      vfe_get_asf_frame_info
      vfe_get_demosaic_frame_info
      vfe_get_camif_status
      vfe_get_performance_monitor_data
-- in vfe_send_output1_msg, replace memmove with memcpy
-- removed unnecessary spinlocks

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsd8k: camera: clean up of msm_vfe8x.c
Iliyan Malchev [Fri, 2 Oct 2009 05:54:37 +0000 (22:54 -0700)]
[ARM] qsd8k: camera: clean up of msm_vfe8x.c

-- in vfe_config(), structures that can be local in scope were being allocated
   on the heap.
-- added a pr_err() in vfe_release
-- misc cleanup

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm_camera: clean up msm_config_vfe
Iliyan Malchev [Fri, 2 Oct 2009 05:50:06 +0000 (22:50 -0700)]
[ARM] msm_camera: clean up msm_config_vfe

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] qsq8k: camera: fix the return value of vfe_get_af_pingpong_status
Andy Yeh [Wed, 30 Sep 2009 18:48:12 +0000 (11:48 -0700)]
[ARM] qsq8k: camera: fix the return value of vfe_get_af_pingpong_status

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] msm: camera: run through Lindent, make checkpatch happy
Iliyan Malchev [Wed, 23 Sep 2009 21:15:48 +0000 (14:15 -0700)]
[ARM] msm: camera: run through Lindent, make checkpatch happy

Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years ago[ARM] video: mdp: add flag for fg-premultiplied alpha blend
Dima Zavin [Sat, 19 Sep 2009 09:39:33 +0000 (02:39 -0700)]
[ARM] video: mdp: add flag for fg-premultiplied alpha blend

Signed-off-by: Dima Zavin <dima@android.com>