Commit Graph

264866 Commits

Author SHA1 Message Date
Linux Build Service Account
2c9d39cd76 Merge "msm: board-8064: Fixed 8064 192mhz GPU clk freq request." into msm-3.0 2012-03-30 00:28:18 -07:00
Linux Build Service Account
36b3cc34be Merge changes I9adb5865,I1706de84 into msm-3.0
* changes:
  msm: acpuclock-8960: Remove need for first_set_call flag
  msm: acpuclock-8960: Clean up krait rail voltage calculation
2012-03-30 00:28:18 -07:00
Rohit Vaswani
a76e99abc5 Merge branch 'Linux 3.0.21' into msm-3.0
Merge Upstream's stable 3.0.21 branch into msm-3.0
This consists 814 commits and some merge conflicts.

The merge conflicts are because of some local changes to
msm-3.0 as well as some conflicts between google's tree and
the upstream tree.

Conflicts:
	arch/arm/kernel/head.S
	drivers/bluetooth/ath3k.c
	drivers/bluetooth/btusb.c
	drivers/mmc/core/core.c
	drivers/tty/serial/serial_core.c
	drivers/usb/host/ehci-hub.c
	drivers/usb/serial/qcserial.c
	fs/namespace.c
	fs/proc/base.c

Change-Id: I62e2edbe213f84915e27f8cd6e4f6ce23db22a21
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2012-03-30 00:09:34 -07:00
Aravind Venkateswaran
d85b554469 msm_fb: HDMI: Fix bug in mutex handling
The code for HDCP authenticaton has a bug where a mutex is not
freed when the code follows an error path. This change fixes this
issue by correctly handling the mutex.

Change-Id: I4b141a313830cc09e11a5db4b8e464fa4439efd6
CRs-Fixed: 341922
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2012-03-29 23:25:59 -07:00
Sujit Reddy Thumma
6e611f2b86 Revert "mmc: sdio: optimized SDIO IRQ handling for single irq"
This reverts commit 06e8935feb.
With the optimization, the sdio_irq_thread() sends a spurious
interrupt notification to the registered function handler during
ksdioirq thread start up. The function handler may or may not
handle this interrupt gracefully. The correct way to inform
about interrupt is to check CCCR_INTx register for pending
interrupts before calling function driver's irq handler
which is broken with this optimization, hence the revert.

CRs-Fixed: 345547
Change-Id: Ia1525ef439c8d0d36b796f393066065648356635
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2012-03-30 11:50:50 +05:30
Anji jonnala
393ff61278 msm: pm2: Define a variable to update the power collapse status
After coming out of power collapse, QGIC gets reset and there
is no way to restore core1's previous SGI/PPI configuration
before it actually lost the power.

Linux hotplug software uses SGI to wakeup the core1 irrespective of
normal hotplug or power collapse. Since SGI's wont't
work after coming out of power collapse use SPI instead of SGI.
The kernel hotplug software differentiates between waking up the
core1 in normal hotplug vs the power collapse.

Define variable to represent the apps power collapse status sothat
hotplug software can rely on this to send SPI/SGI.

Clear this power collapse variable, once hotplug sw wakes up the core1.

Change-Id: Iba308356fc4a75ee7f9de773b7a87cd0bc40f291
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
2012-03-30 11:04:11 +05:30
Linux Build Service Account
a54734678f Merge "msm: scm-pas: Migrate to clk_prepare/unprepare() APIs" into msm-3.0 2012-03-29 22:23:31 -07:00
Linux Build Service Account
0664b9877f Merge "hwmon: epm: Add file interface support" into msm-3.0 2012-03-29 22:23:31 -07:00
Maheshkumar Sivasubramanian
4ac23762b3 msm: spm-v2: Support to reinitalize SPM registers
On certain devices SPM hardware block doesn't retain its state through
certain low power modes. This commit allows for reinitialization of
control and sequence entry registers on resume.

Change-Id: Ib70ab1e090dc69fa2901d183b9a25416ad433ba0
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2012-03-30 10:50:14 +05:30
Mayank Chopra
5b5f2188eb msm_fb: display: Unstage pipe from Mixer0 H/W on each unset call for 8660
During unset call, mixer0 staging is cleared using stage down
logic which makes the staging update to happen in next vsync
for 8660 platforms. Clearing of mixer0 stage now is done on a
single vsync for 8660 as well.

Change-Id: Ib6b11728944be89ee6ba5b5d58c470c05cb9f41b
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2012-03-30 10:12:19 +05:30
Anirudh Ghayal
714780109d msm: 8064: Increase pull-up strength for pmic gpio-keys
Increase the pull up strength (current source pulls) from
1.5uA to 30uA for devices (MTP and XPM) which do not have
external pull-ups.

Also, fix the pmic gpio number for HOME key (pm gpio 27)
which was earlier being configured to 37.

Change-Id: Iedf734efd6fac107cae590ff0bdd5e79017e73e8
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2012-03-30 10:00:05 +05:30
Eric Holmberg
da31d046ba msm: smd: Do not use wakelock for local DEM notifications
Notify local SMSM callback clients without using a wakelock since SMSM
signaling is used by power management during power-down/-up sequencing
on DEM-based targets.  Grabbing a wakelock in this case will abort
power-down sequencing.

Change-Id: I08de41480a9713f8ac52b563c7df8213d465466d
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2012-03-29 22:25:33 -06:00
Linux Build Service Account
51dac98e28 Merge changes Idf3aff7d,I090d1914 into msm-3.0
* changes:
  msm: smem_log: Initialize SMEM_LOG SMEM entries independent of modem
  msm: smd: Add notifier chain to generate SMSM driver state notifications
2012-03-29 18:18:42 -07:00
Linux Build Service Account
77a8d62f49 Merge changes Ia5afcf33,Ibd380f8e,Icec5b28f into msm-3.0
* changes:
  msm_fb: display: Add IOMMU support to MDP and rotator driver
  msm_fb: display: Wait for external vsync before turning off DTV
  msm_fb: display: Enable timing generator during first update
2012-03-29 18:18:42 -07:00
Linux Build Service Account
c6d372b4c7 Merge changes I16f522e7,Ifa5b3bc2 into msm-3.0
* changes:
  Merge branch 'google-android' into msm-3.0
  locking, kprobes: Annotate the hash locks and kretprobe.lock as raw
2012-03-29 18:18:42 -07:00
Olav Haugan
16cdb41acb gpu: ion: Map a range into the IOMMU
Instead of mapping 1 4K page at a time into the IOMMU create a
scatterlist and map everything at once. This will be more efficient.

Change-Id: I8e83066869dd6f7a479bad22a66e4c70cc5973b5
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-03-29 17:02:06 -07:00
Mayank Rana
9e9a2acd1c USB: OTG: Migrate to devm_regulator_get()
Clean up some error paths and simplify the code by
moving to devm_regulator_get().

Change-Id: I782569d2d5aec077ea18516db7eba92897698bce
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2012-03-30 04:39:52 +05:30
Linux Build Service Account
880a922634 Merge "ARM: local timers: Add A15 architected timer support" into msm-3.0 2012-03-29 14:17:01 -07:00
Linux Build Service Account
2e5bbd87af Merge changes I3984d747,I9a436f63 into msm-3.0
* changes:
  msm: board-8930-pmic: Add default configuration for LED anode power source
  power: pm8921-charger: Add feature to use charger LED
2012-03-29 14:17:01 -07:00
Linux Build Service Account
3eff85619c Merge "msm: 9x15: Don't build PIL (Peripheral Image Loader) driver" into msm-3.0 2012-03-29 14:17:01 -07:00
Linux Build Service Account
9ee0aed63f Merge "msm: board-8064: Place the movable zone" into msm-3.0 2012-03-29 14:17:01 -07:00
Linux Build Service Account
3321da6833 Merge changes I2cabb2d6,Idffba143 into msm-3.0
* changes:
  ASoC: msm8960: properly protect external mclk control function
  ASoC: wcd9310: Add plug detection through mechanical switch
2012-03-29 14:17:01 -07:00
Tianyi Gou
65c536a172 msm: clock-8960: program PLL15 on 8930
Bootloader does not configure PLL15 since PLL15 is only
enabled/disabled by linux kernel code. Therefore, configure
PLL15 during clock init.

Change-Id: I536325362a9ab9f054b6f65390052a3b8c720e08
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2012-03-29 13:21:47 -07:00
Stephen Boyd
5bc44d5599 msm: clock: Hook into clock tracepoints
Tracepoints already exist for clk_enable(), clk_disable(), and
clk_set_rate(). Add callbacks for these tracepoints so that we
can easily trace clock operations in the kernel.

For example:
 # pwd
 /sys/kernel/debug/tracing
 # echo 1 > events/power/clock_enable/enable
 # cat trace
 <lots of clock enables>

Change-Id: I3b845653be427ff4b33bb31b5b82f73c4695d230
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-29 11:15:35 -07:00
Linux Build Service Account
470fbb0abd Merge "msm: copper: Add Android USB platform device" into msm-3.0 2012-03-29 11:07:44 -07:00
Linux Build Service Account
8f3f359b57 Merge "USB: Set AHB HPROT Mode to allow posted data writes" into msm-3.0 2012-03-29 11:07:44 -07:00
Linux Build Service Account
f0353df688 Merge "msm: mpm-8625: Disable interrupts for Idle PC" into msm-3.0 2012-03-29 11:07:44 -07:00
Linux Build Service Account
83ae04f8d8 Merge changes I5e18b610,I3ab9288f into msm-3.0
* changes:
  mmc: msm_sdcc: data CRC errors are expected during HS200 tuning
  mmc: core: capture performance numbers only when asked
2012-03-29 11:07:44 -07:00
Ravishangar Kalyanam
6bc448aefa msm_fb: display: Add IOMMU support to MDP and rotator driver
Add IOMMU support to MDP and rotator driver for operating with
virtual addresses instead of physical addresses

Change-Id: Ia5afcf33220e0e75e92948649c2bd4d7ef32917d
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-03-29 10:13:06 -07:00
Ravishangar Kalyanam
87260cdaef msm_fb: display: Wait for external vsync before turning off DTV
Wait for external vsync interrupt before turning off the timing generator
for DTV display

CRs-Fixed: 341400
Change-Id: Ibd380f8e20a7ebb250669fcabf4233e9e526d22f
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-03-29 10:12:58 -07:00
Ravishangar Kalyanam
4a9d338287 msm_fb: display: Enable timing generator during first update
During first display update through pan_display or overlay_play,
enable the timing generator for pull modes like LCDC, DSI Video
and DTV interfaces

Change-Id: Icec5b28f0df04a1223119222a1aad5129111f676
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-03-29 10:12:49 -07:00
Karthikeyan Ramasubramanian
867a929616 msm: smem_log: Initialize SMEM_LOG SMEM entries independent of modem
SMEM_LOG SMEM entries are allocated by modem and consumed by APPs.
In modem-less SoCs, SMEM logs can be used between APPs and other
subsystems. Hence allow APPs SMEM log driver to allocate and initialize
the SMEM_LOG SMEM entries once APPs SMSM is initialized.

CRs-Fixed: 338264
Change-Id: Idf3aff7df0dba910a7cf1351ac6d8f57c0b29144
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2012-03-29 10:35:38 -06:00
Karthikeyan Ramasubramanian
7069c48b9d msm: smd: Add notifier chain to generate SMSM driver state notifications
This enables drivers to register for and receive any SMSM driver state
change notifications, including the initialization of SMSM driver.

CRs-Fixed: 338264
Change-Id: I090d19140f3bc46205566cd0431ed90edf440c02
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2012-03-29 10:21:04 -06:00
Laura Abbott
6988cef8c6 msm: board-8064: Place the movable zone
Locating the unstable zone and placing the movable zone need
to be coupled together to get correct system behavior. The
placing of the movable zone was missing on 8064. Place the
movable after locating the unstable zone to ensure consistency
of the system.

Change-Id: I3fdbd5fc6d5bf996d6187d6b64cf8d50eefd3ff4
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2012-03-29 09:14:26 -07:00
Linux Build Service Account
1c0db13b2c Merge "msm: display: Backlight control on 8x25 EVB" into msm-3.0 2012-03-29 09:01:01 -07:00
Linux Build Service Account
c287b95f15 Merge changes Iffd004ca,Idc0042ee into msm-3.0
* changes:
  Revert "msm: Disable PM2 for 8625 bringup"
  msm: pm2: Convert architecture define macros to 'cpu_is_xxx' calls.
2012-03-29 09:01:01 -07:00
Linux Build Service Account
3a7cb017c9 Merge "USB: gadget: Kconfig: Change Max VBUS power usage default value" into msm-3.0 2012-03-29 09:01:01 -07:00
Linux Build Service Account
5475117d1d Merge changes I193bbe64,Icbf441cf into msm-3.0
* changes:
  defconfig: msm8960: Enable cache error reporting
  msm: board: Add cache error reporting devices
2012-03-29 09:01:01 -07:00
Vijayavardhan Vennapusa
5f32d7ac13 USB: Set AHB HPROT Mode to allow posted data writes
Currently writing 0x0 into AHBMODE register which means both data
transactions and QH and TD descriptors are non-posted writes to
system memory. As per HW team recommendation, should write 0x08 value
to set AHB HPROT mode into the AHBMODE register which allows posted
data writes to system memory and will improve the throughput numbers.

Change-Id: Ib44a8cfe11c6ff96ff712643227532e24548e706
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2012-03-29 17:47:09 +05:30
Pavankumar Kondeti
8c4473852c msm: copper: Add Android USB platform device
commit d092f2d(usb: gadget: allow android gadget to bind/unbind
several times) moves android composite driver registration to
platform driver probe function.  Hence add android USB platform
device to get USB working on copper.

Change-Id: I7a21e86bc1c06701502bd5f7379afa0cf282398e
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2012-03-29 14:10:53 +05:30
Jeevan Shriram
2aa111c008 msm_fb: display: Initialize work queue for MIPI command mode panels
Initialize workqueue for MIPI command mode panels for s/w refresher
mechanism to work in x-window type architectures.

Change-Id: Id67c54452aa0b02a39f480709fc4bcd6c7bde2eb
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2012-03-29 02:37:01 -06:00
Taniya Das
960fec49fd msm: mpm-8625: Disable interrupts for Idle PC
While entering the Idle power collapse state, we should go ahead and
disable all the interrupts, but this needs to be done after we have saved
the gic state.

Change-Id: Iddd6733e26e7ac2cb705cf0cd6177c04d684d9cc
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2012-03-29 13:56:01 +05:30
Padmanabhan Komanduru
224d5fa264 msm: display: Backlight control on 8x25 EVB
Enable backlight control on 8x25 EVB for WVGA panel.

Change-Id: Ib293440829c39e2230cc5a288037e2d5d7806dc3
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2012-03-29 11:55:03 +05:30
Murali Nalajala
a3f23f9bf9 Revert "msm: Disable PM2 for 8625 bringup"
Enable the basic PM feature like simple SWFI on both the cores

This reverts commit ced4728f31.

Change-Id: Iffd004ca202bbe47522758640e96a039cae765bd
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2012-03-29 10:31:33 +05:30
Murali Nalajala
1bc1d7c52d msm: pm2: Convert architecture define macros to 'cpu_is_xxx' calls.
Remove the architecture specific define macros and convert
them to 'cpu_is_xxx()' calls to find out the target at runtime.

Change-Id: Idc0042eea619b8f8f22e914370aaaf8132d54da1
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2012-03-29 10:30:38 +05:30
Siddartha Mohanadoss
eb90c92bb7 hwmon: epm: Add file interface support
Add IOCTL to initialize the I2C expander and SPI
initialization for ADS ADC. Clients issue a request
to initialize and enable the device before issuing
requests to perform an ADC read.

The file interface is necessary since it takes
considerable amount of time to initialize the
I2C expander and the ADS ADC device for every
ADC read transaction.

Change-Id: I9e830232592288cbc41554070c70882f05c842ce
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-03-28 19:25:26 -07:00
Linux Build Service Account
6ffb7b5197 Merge "vidc: Move metadata shared input mem to firmware heap." into msm-3.0 2012-03-28 19:21:46 -07:00
Linux Build Service Account
0005d1114f Merge "USB: OTG: msm: Add debugfs entry to read otg_state" into msm-3.0 2012-03-28 19:21:46 -07:00
Linux Build Service Account
69d2d48b3b Merge "board-msm7627a: display: Add support for 8x25 QRD device" into msm-3.0 2012-03-28 19:21:46 -07:00
Deepak Kotur
6a72f522d4 vidc: memset only for non secure sesion
The buffers are memset only if its a non secure
session.

Change-Id: Idf74a6b54f39012bbe69fb5b5d27f2764d0017af
Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>
2012-03-28 17:44:07 -07:00