Rebecca Schultz [Tue, 12 Feb 2008 04:01:06 +0000 (11 20:01 -0800)]
msm_fb: Added support for hw accelerated blit copy,rotate,alpha blend,yuv2rgb
Added blit support. The api to use the blit acceleration from userspace is in
inclue/linux/msm_mdp.h. Currently src and dst images must be in the
framebuffer.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 15 Feb 2008 10:02:35 +0000 (15 02:02 -0800)]
msm: fix clock bugs on 6066 -- silly cut'n'paste-o and erroneous early exit
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 14 Feb 2008 01:15:17 +0000 (13 17:15 -0800)]
usb_function: msm_hsusb: correctly handle short setup control IN responses
When replying to a setup control IN request, if the response
is shorter than the requested size and a multiple of the ep0
max packet size, we must send a zero-length packet to terminate
the transaction.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Wed, 13 Feb 2008 02:23:43 +0000 (12 18:23 -0800)]
synaptics_i2c_rmi: Add platform data to configure driver.
Inactive area, fuzz, rotation and power hook is now specified in
platform data.
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Mon, 11 Feb 2008 22:15:08 +0000 (11 14:15 -0800)]
msm: rpc: updates for compatibility with 6066
msm_rpcpm: Update RPC call numbers to match 6066
msm_rpcservers: Update RPC call numbers to match 6066
Signed-off-by: San Mehat <san@android.com>
San Mehat [Mon, 11 Feb 2008 21:23:11 +0000 (11 13:23 -0800)]
msm_rpcrouter: Add 'enhanced' flow control support for 6066
Signed-off-by: San Mehat <san@android.com>
Brian Swetland [Tue, 12 Feb 2008 20:18:24 +0000 (12 12:18 -0800)]
usb_function: diag function driver
Used to route the MSM7K DIAG packets between the A9 (via SMD) and USB.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Tue, 12 Feb 2008 20:16:34 +0000 (12 12:16 -0800)]
msm: smd: channel 1 is also a packet channel
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Sat, 9 Feb 2008 07:04:26 +0000 (8 23:04 -0800)]
msm: smd: remove chatty debug printk
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 8 Feb 2008 22:49:38 +0000 (8 14:49 -0800)]
msm_fb: request mdp clock enable in non-6056 builds
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 8 Feb 2008 22:47:37 +0000 (8 14:47 -0800)]
msm: clock: use proc_comm for clock control when AMSS!=6056
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 8 Feb 2008 03:21:42 +0000 (7 19:21 -0800)]
msm: smd: support proc_comm low-level ipc
The proc_comm ipc avoids the complexity of ONCRPC and is usable
from any context (including interrupt).
Signed-off-by: Brian Swetland <swetland@google.com>
Rebecca Schultz [Sat, 9 Feb 2008 01:08:24 +0000 (8 17:08 -0800)]
msm_fb: adding ioctl for writing the mdp_grp_disp_id from the framebuffer driver
Needed for synchronization between the GPU and the MDP.
Probably should actually be in the hw3d driver.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 8 Feb 2008 04:06:08 +0000 (7 20:06 -0800)]
synaptics_i2c_rmi: Retry read if error bit is set.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 8 Feb 2008 02:50:22 +0000 (7 18:50 -0800)]
synaptics_i2c_rmi: Add suspend/resume and fix build warnings.
Enter deep sleep mode on suspend and normal mode with 80 reports per second on resume.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 7 Feb 2008 23:59:40 +0000 (7 15:59 -0800)]
msm: Remove timeout on power collapse.
APPS_SLEEP does not allow an infinite timeout, but power collapse does.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 7 Feb 2008 23:51:26 +0000 (7 15:51 -0800)]
msm: remove 6046 and 6059 compatibility, provide 6056 compatibility
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Wed, 6 Feb 2008 07:36:29 +0000 (5 23:36 -0800)]
gpio_input: Add wakeup support on gpio inputs.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Wed, 6 Feb 2008 07:34:26 +0000 (5 23:34 -0800)]
gpio_input: Fix random gpio config bug.
The current output field was initilized to -1. This was used to
find a gpio number to drive on the first keyboad scan.
current_output is now set to noutputs which is what the scan code expects
to start a new scan.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Wed, 6 Feb 2008 01:33:42 +0000 (5 17:33 -0800)]
msm: Select initial sleep mode from a config option.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Wed, 6 Feb 2008 01:07:44 +0000 (5 17:07 -0800)]
msm: Enable wakeup on smd interrupts.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Tue, 5 Feb 2008 02:21:48 +0000 (4 18:21 -0800)]
msm: halibut: Suspend mddi bridge chip and turn backlight off.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Tue, 5 Feb 2008 01:14:40 +0000 (4 17:14 -0800)]
msm: Add FFA keymap to halibut.
Add board_halibut.ffa=1 to the kernel command line to use it.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:17:29 +0000 (6 16:17 -0800)]
msm: Use power collapse.
Add a module paramter to support five different sleep modes. Default is power collapse.
Arve Hjønnevåg [Fri, 7 Dec 2007 00:04:42 +0000 (6 16:04 -0800)]
msm: Add power collapse.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:03:23 +0000 (6 16:03 -0800)]
msm: Enable gpio wakeup from apps sleep or power collapse.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:05:43 +0000 (6 16:05 -0800)]
msm: Add some sleep related functions.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:16:59 +0000 (6 16:16 -0800)]
msm: Add shadow registers for type and polarity and restore them in resume.
This is needed to recover from power collapse.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 03:21:57 +0000 (6 19:21 -0800)]
msm: Allow acpuclk_set_rate to be called with locking and pll change disabled.
This allows us to ramp down the cpu clock from pm_enter.
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Thu, 31 Jan 2008 22:07:45 +0000 (31 14:07 -0800)]
msm: rpc_router: major cleanup and improvements
oncrpc_router: Remove support for multiple transports
oncrpc_router: Include server address in platform device
oncrpc_router: Remove unsupported IOCTL definitions
oncrpc_router: Linux style cleanups to source and headers
rpc_tlmm: Updated driver to no longer open xport or get destination
rpc_tlmm: Linux style cleanups
rpc_clkctl: Updated driver to no longer open xport or get destination
rpc_clkctl: Linux style cleanups
rpc_pm: Updated driver to no longer open xport or get destination
rpc_pm: Linux style cleanups
rpc_servers: Updated driver to no longer open xport
msm_smd: Evaluate smem heap for new channels on both smd and smsm
irqs as well as on driver startup
Signed-off-by: San Mehat <san@android.com>
Robert Love [Thu, 31 Jan 2008 20:52:26 +0000 (31 15:52 -0500)]
msm_serial: Fix corrupted interrupt handler names.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 31 Jan 2008 05:56:03 +0000 (30 21:56 -0800)]
msm_fb: Move msm_fb.h so board files can use it.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 31 Jan 2008 04:23:29 +0000 (30 20:23 -0800)]
msm_fb: Add mddi_client_power hook
mddi_client_power is called before probing the mddi client and
panel_power is called when the mddi is link available.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 25 Jan 2008 03:16:17 +0000 (24 19:16 -0800)]
msm_fb: Stop lcd dma when sleeping and repaint screen when coming back.
May not work correctly if userspace code used double buffering and
partial updates.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Wed, 30 Jan 2008 00:54:19 +0000 (29 16:54 -0800)]
msm: smd: fix issues with dynamic / platform device allocation
- smsm irq does not get sent on all shared memory allocations,
so we have to check in the smd interrupt
- adjust device name synthesis to avoid mis-numbering devices
when they are allocated out-of-order
- fix some minor kernel style violations
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Wed, 30 Jan 2008 00:50:19 +0000 (29 16:50 -0800)]
msm: rpcrouter: don't call kmalloc while holding a spinlock
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Tue, 29 Jan 2008 01:55:47 +0000 (28 17:55 -0800)]
msm: smd: cleanup and move to platform devices
Move all smd drivers to platform drivers.
Cleanup kconfig and makefiles for smd modules.
Only check for new entries when the smem heap size has changed.
Provide a generic method of exporting smem channels as platform devices
Collapse 2 kmallocs into 1.
Use delayed pdev creation.
Remove debugging.
Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 24 Jan 2008 21:18:08 +0000 (24 13:18 -0800)]
msm: clock: remove last traces of the old chardev debug code
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Wed, 23 Jan 2008 22:12:19 +0000 (23 14:12 -0800)]
msm: provide debugfs interface to clocks
Expose all the MSM7K clocks via clk/%s in debugfs.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Wed, 23 Jan 2008 22:09:25 +0000 (23 14:09 -0800)]
msm: provide msm_reset_hook() for board files to install reset handler
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Mon, 21 Jan 2008 01:42:06 +0000 (20 17:42 -0800)]
msm: smd: provide debugfs version file
Useful for checking the version of the shared memory interface
exported by the AMSS software running on the ARM9.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Mon, 21 Jan 2008 01:41:22 +0000 (20 17:41 -0800)]
msm: halibut: add hsusb platform_data
- provide PHY init sequence to work around ULPI lockup bug
- provide product/vendor/name data
Signed-off-by: Brian Swetland <swetland@google.com>
Mike Lockwood [Mon, 21 Jan 2008 01:40:18 +0000 (20 17:40 -0800)]
usb_function: msm_hsusb: pick up device descriptor information from platform data
Signed-off-by: Brian Swetland <swetland@google.com>
Mike Lockwood [Mon, 21 Jan 2008 01:39:38 +0000 (20 17:39 -0800)]
msm: expand msm_hsusb_platform data to include fields for device descriptor
Signed-off-by: Brian Swetland <swetland@google.com>
Mike Lockwood [Fri, 18 Jan 2008 08:03:48 +0000 (18 00:03 -0800)]
msm: gpio: include asm-generic/gpio.h - stubs for gpio*_cansleep calls.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 17 Jan 2008 01:38:44 +0000 (16 17:38 -0800)]
msm_nand: Add support for 16bit hynix flash.
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Fri, 11 Jan 2008 00:07:23 +0000 (10 16:07 -0800)]
msm: rpcrouter: fix a bug in the backwards-compatibility work-around
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Sat, 12 Jan 2008 02:03:49 +0000 (11 18:03 -0800)]
msm: rpcrouter: fix up header
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Sun, 13 Jan 2008 03:03:09 +0000 (12 19:03 -0800)]
msm: rpc_servers: fix a bug in sending an RPC reply
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Mon, 14 Jan 2008 02:23:31 +0000 (13 18:23 -0800)]
usb_function: msm_hsusb: watchdog to detect PHY failure
The PHY can (and sadly does) get into a non-responsive state.
Hopefully there will be a better way to detect and recovery,
but to start with we spin up some delayed work to try to read
the PHY interrupt status register every 5 seconds. In the
event of a read timeout (indicating the PHY is wedged), we
force a USB reset (which will reset the PHY provided the
appropriate hook is provided in platform_data).
Also provide an interlock (the running flag) to prevent
two resets from stepping on each other and a tally of the
number of PHY failure & resets that have occurred in the
"status" debugfs file.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Sun, 13 Jan 2008 05:28:04 +0000 (12 21:28 -0800)]
msm: remove hsusb init from common config
PHY configuration and reset functionality are board-specific.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Sun, 13 Jan 2008 05:27:26 +0000 (12 21:27 -0800)]
usb_function: msm_hsusb: use platform data for PHY reset and config
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Sun, 13 Jan 2008 05:26:44 +0000 (12 21:26 -0800)]
msm: define platform data for msm_hsusb
Allow board files to specify a sequence of register writes to
setup the ULPI PHY as well as a function to reset the PHY.
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Thu, 10 Jan 2008 18:59:07 +0000 (10 10:59 -0800)]
msm: rpc_router: cleanup and 6059 support
- Add support for AMSS 6059 (set CONFIG_MSM7X00A_6059_COMPAT)
- Add kernel notification callback for when a client receives a msg
- Implement proper timeouts for kernel side read operations
- Linux style cleanups
Signed-off-by: San Mehat <san@android.com>
Brian Swetland [Tue, 8 Jan 2008 23:03:46 +0000 (8 15:03 -0800)]
usb_function: msm_hsusb: simplify queueing model
To avoid strange workarounds for hardware/software interaction, change
the queueing model so that we never modify an endpoint's queue if that
endpoint is active. Instead, we defer until the endpoint is no longer
active and queue any pending transfers in the completion interrupt.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Tue, 8 Jan 2008 23:21:50 +0000 (8 15:21 -0800)]
msm: smd/rpcrouter - 6046 compat and proc_comm constants
- provide a build option to build for (obsolete) 6046 AMSS firmware
- provide constants for proc_comm low level interface
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Fri, 4 Jan 2008 20:52:58 +0000 (4 12:52 -0800)]
msm_rpcrouter: Don't allocate a new xport until we've checked for dups
Signed-off-by: San Mehat <san@android.com>
Brian Swetland [Wed, 2 Jan 2008 16:59:26 +0000 (2 08:59 -0800)]
usb_function: msm_hsusb debugging work
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 4 Jan 2008 15:53:25 +0000 (4 07:53 -0800)]
msm: halibut needs to define correct resources for serial0
Signed-off-by: Brian Swetland <swetland@google.com>
Robert Love [Wed, 2 Jan 2008 23:09:09 +0000 (2 15:09 -0800)]
msm: improved serial driver
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 4 Jan 2008 17:28:36 +0000 (4 09:28 -0800)]
msm: enable DEBUG_FS in msm_defconfig
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 3 Jan 2008 02:34:35 +0000 (2 18:34 -0800)]
msm: smd: provide debug info via debugfs
Stop abusing sysfs and use debugfs instead.
- smd/stat provides general status and arm9 diag message
(in the event of fatal errors)
- smd/mem provides a dump of the shared memory heap state
- smd/ch provides a dump of state from all stream channels
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Mon, 31 Dec 2007 21:11:28 +0000 (31 13:11 -0800)]
msm_rpc: support rpc servers
- time_remote_mtoa server receives notification of time bases
- dog_keepalive server to handle watchdog events
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Sat, 29 Dec 2007 23:16:21 +0000 (29 15:16 -0800)]
msm_rpc: recategorize a bunch of printk()s, disable debug print.
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Fri, 28 Dec 2007 00:43:08 +0000 (27 16:43 -0800)]
msm_rpc: add kernel api for registering servers
1. new kernel api for registering and deregistering RPC servers
2. rename rpc_request_hdr::{proceedure --> procedure}
3. move code to keep track of source address of message from
rpcrouter_read to kernel thread
4. added extern to function prototypes in headers
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Fri, 21 Dec 2007 01:48:58 +0000 (20 17:48 -0800)]
msm: adsp: more checks for app dma buffers
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Thu, 20 Dec 2007 02:42:50 +0000 (19 18:42 -0800)]
msm: add aDSP driver
Provide necessary access to aDSP memory from userspace.
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Thu, 20 Dec 2007 02:41:34 +0000 (19 18:41 -0800)]
msm_rpc: fixes and improvements to the rpc router
1. ioctl --> unlocked_ioctl
2. added poll
3. added a single dump_rpc_pkt which knows how to dump rpc calls and
replies
4. when creating a local server, do not create a /dev/oncrpc/ entry.
5. RPCROUTER_CB_WORKAROUND: a hack to work around the fact that arm9's
rpc router sends RPC calls to callback servers to the client ID of
the registering client
6. RPCROUTER_BW_COMP: a hack to work around the fact that in backwards-
compatibility mode, the arm9 rpc router sends RPC calls to local
servers *before* they are registered by the arm11
7. rpcrouter_kernapi_read: added a field to advice of the length of
the user's buffer; when -1, it's ignored
8. for ioctls RPC_ROUTER_IOCTL_REGISTER_SERVER and
RPC_ROUTER_IOCTL_UNREGISTER_SERVER: use the correct structures
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Tue, 18 Dec 2007 00:04:30 +0000 (17 16:04 -0800)]
msm_rpc: Create new 'callback' read/write routines
Signed-off-by: San Mehat <san@android.com>
San Mehat [Mon, 17 Dec 2007 23:18:27 +0000 (17 15:18 -0800)]
msm_rpc: rpcrouter userspace writes now imply destination
Signed-off-by: San Mehat <san@android.com>
San Mehat [Mon, 17 Dec 2007 21:51:04 +0000 (17 13:51 -0800)]
msm_rpc: Modified rpc router to manage pacmarks internally
msm: Fix kernel RPC drivers to use new kernel interface
Signed-off-by: San Mehat <san@android.com>
San Mehat [Mon, 17 Dec 2007 17:23:09 +0000 (17 09:23 -0800)]
msm_rpc: Client IDs are now allocated based on client address ptr
Signed-off-by: San Mehat <san@android.com>
Brian Swetland [Wed, 19 Dec 2007 10:46:27 +0000 (19 02:46 -0800)]
msm: increase max partitions accepted from bootloader
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Thu, 13 Dec 2007 21:23:46 +0000 (13 13:23 -0800)]
msm: TLMM driver framework -- MUX configuration via rpc
Signed-off-by: San Mehat <san@android.com>
San Mehat [Tue, 11 Dec 2007 18:36:35 +0000 (11 10:36 -0800)]
msm: Initial support for voltage regulator RPC request driver
Signed-off-by: San Mehat <san@android.com>
San Mehat [Tue, 11 Dec 2007 17:58:46 +0000 (11 09:58 -0800)]
msm: remote return processing from clk_enable RPC call
According to QC it should return void
Signed-off-by: San Mehat <san@android.com>
Brian Swetland [Thu, 13 Dec 2007 22:42:39 +0000 (13 14:42 -0800)]
usb_function: msm_hsusb: work around queueing issue
- The procedure described in the datasheet to add transactions
to the queue is not working as expected. Add a workaround
while we try to get to the bottom of this.
- remove a chatty printk
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 13 Dec 2007 21:43:04 +0000 (13 13:43 -0800)]
usb_function: msm_hsusb: ulti_{read,write}() support
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 13 Dec 2007 21:41:23 +0000 (13 13:41 -0800)]
usb_function: adb: support unbinding
Brian Swetland [Thu, 13 Dec 2007 21:41:11 +0000 (13 13:41 -0800)]
usb_function: zero: support unbinding
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 13 Dec 2007 21:40:57 +0000 (13 13:40 -0800)]
usb_function: null: support unbinding
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Thu, 13 Dec 2007 21:40:35 +0000 (13 13:40 -0800)]
usb_function: extend api to provide an unbind hook
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 13 Dec 2007 02:12:31 +0000 (12 18:12 -0800)]
synaptics_i2c_rmi: Code style cleanup.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 13 Dec 2007 02:05:41 +0000 (12 18:05 -0800)]
synaptics_i2c_rmi: Calculate inactive area and include it in reported range.
This allows the userspace code to convert the reported positions (within
the active area) to screen coordinates.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 13 Dec 2007 02:02:20 +0000 (12 18:02 -0800)]
synaptics_i2c_rmi: Enable No Clip Z feature.
With this positions will be reported before the finger touches the screen.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Thu, 13 Dec 2007 01:57:33 +0000 (12 17:57 -0800)]
synaptics_i2c_rmi: Fix reporting at left or bottom edge.
In the RMI protocol a 0-value means beyond left or bottom edge, not
unknown as in MEP. We now use the z value to determine if x1 and y1
is valid and the finger value to determine if x2 and y2 is valid.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Sat, 8 Dec 2007 01:44:08 +0000 (7 17:44 -0800)]
msm: Add sched_clock.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:11:45 +0000 (6 16:11 -0800)]
msm: Increase min_delta_ns so that we don't get stuck if running at low speed.
Limit number of alarm-already-expired messages.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 06:04:01 +0000 (6 22:04 -0800)]
msm_fb: Wait for dma to finish before entering suspend.
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:01:26 +0000 (6 16:01 -0800)]
msm_fb: Add timeout to prevent lockup when exiting sleep if the dma is stuck.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Fri, 7 Dec 2007 01:50:51 +0000 (6 17:50 -0800)]
msm: improve serial init code and remove obsolete workaround for UART3
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Fri, 7 Dec 2007 00:38:50 +0000 (6 16:38 -0800)]
msm_i2c: Revert code style cleanup (
3e464d7070ba54df0c20100be5d9d01819722ef8) of msm_i2c_wait_status. Fixes i2c.
San Mehat [Thu, 6 Dec 2007 01:51:59 +0000 (5 17:51 -0800)]
msm: rpc_router header cleanup
- Move non smd-rpcrouter private definitions into an arch include
- Fixup rpc_clkctl to use new includes & remove old definitions
from private smd_rpcrouter.h
Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Wed, 5 Dec 2007 05:37:53 +0000 (4 21:37 -0800)]
msm: disable all gpio interrupts at boot to avoid lockup
Badly behaved bootloaders may leave some GPIO interrupts enabled,
which can really confuse things. Forcibly disable them during GPIO
init to make sure we're in a known state.
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Tue, 4 Dec 2007 23:50:18 +0000 (4 15:50 -0800)]
msm: rpc and clkctl cleanup
- Remove 'get_next_xid' and 'get_next_pacmarkid' in favor of
'rpcrouter_kernapi_setup_request'
- Switch clkctl driver to use new API
Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Tue, 4 Dec 2007 20:16:16 +0000 (4 12:16 -0800)]
msm: clock framework cleanup
Tidy up and simplify clock framework.
Fix ACPU clock rate changing to stay on 1 PLL
Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Brian Swetland <swetland@google.com>
San Mehat [Tue, 4 Dec 2007 20:15:35 +0000 (4 12:15 -0800)]
msm: Fix bug in ACPU clock switching
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Tue, 4 Dec 2007 06:07:01 +0000 (3 22:07 -0800)]
msm: DEBUG_LL UART options
Provide the ability to select UART1/2/3/NONE for where DEBUG_LL
messages get routed.
Signed-off-by: Brian Swetland <swetland@google.com>
Brian Swetland [Sun, 2 Dec 2007 05:10:52 +0000 (1 21:10 -0800)]
msm: updated msm_defconfig
Signed-off-by: Brian Swetland <swetland@google.com>
Arve Hjønnevåg [Sun, 2 Dec 2007 04:32:46 +0000 (1 20:32 -0800)]
msm: power management - add wakeup support and implement suspend to ram as wait for interrupt
Signed-off-by: Brian Swetland <swetland@google.com>