Commit Graph

261114 Commits

Author SHA1 Message Date
Linux Build Service Account
eddc1d32f6 Merge "msm: Copper: Add board and device tree support for SPI driver" into msm-3.0 2012-01-19 01:54:26 -08:00
Linux Build Service Account
48448409f2 Merge "msm: sdio: Remove sdio tty ciq device." into msm-3.0 2012-01-19 00:24:15 -08:00
Linux Build Service Account
c5f192c7e2 Merge "msm: rotator: Add pseudo-planar output for interleaved format." into msm-3.0 2012-01-19 00:24:15 -08:00
Linux Build Service Account
bf00c11662 Merge "msm_fb: display: fix underrun seen with big src coordinates" into msm-3.0 2012-01-19 00:24:15 -08:00
Linux Build Service Account
7ed41d531c Merge changes I1dbe1343,If2efa95c,Id299d224,I81fb7eee,Id3a3706d,Iecb7b40a,Icc18437a into msm-3.0
* changes:
  gpu: ion: Refactor debugfs printing
  gpu: ion: Add error message when allocation fails
  gpu: ion: Fix ion client name allocation
  gpu: ion: Add decrement of mapping count
  gpu: ion: Clean up logging messages
  gpu: ion: Fix SCM call message size
  gpu: ion: Add support for adjacent heaps
2012-01-18 21:35:34 -08:00
Linux Build Service Account
76ed95963d Merge "msm: vidc: Remove endianness change for 1080p firmware." into msm-3.0 2012-01-18 21:35:34 -08:00
Gopikrishnaiah Anandan
4d05ed3776 vidc: Enable clocks required for secure playback.
The video driver should enable iommu clocks for vcodec, mdp and
rotator for content protection playback. Expose clocks to video
driver to enable for secure playback.

Change-Id: I2037cf5825d0b9cc7f37cf7fe56396163cb1db24
Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
2012-01-18 18:43:21 -08:00
Linux Build Service Account
089ec2e761 Merge changes Icc72e27b,I4bdddb5d into msm-3.0
* changes:
  thermal: tsens: Change the TSENS min threshold
  thermal: tsens: Add tsens notify callback
2012-01-18 17:01:10 -08:00
Olav Haugan
3d4fe1ac86 gpu: ion: Refactor debugfs printing
Printing to debugfs is done from a centralized location for
all the heaps managed by ion. This architecture is not
sustainable in the long run since different heaps have different
requirements for what should be printed.

Refactor the debugfs printing for ion so that each heap is
responsible for printing its information.

Change-Id: I1dbe13432a4ab07f27ea4756c3be7fa01ad1df92
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:41:56 -08:00
Olav Haugan
35e2f2f14b gpu: ion: Add error message when allocation fails
Add error message when allocation from ion fails.

Change-Id: If2efa95c563c9f076b85958a70ea66afa3983325
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:41:47 -08:00
Olav Haugan
63e5f3bc5a gpu: ion: Fix ion client name allocation
The ion client name used for debugging were being
allocated on the stack for user space clients. This
causes the name to be garbled when later printed.

Instead, allocate the name from the heap.

Change-Id: Id299d224192f127197bef2eeb22d881b3a31795c
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:41:26 -08:00
Olav Haugan
cb9ad9ead5 gpu: ion: Add decrement of mapping count
Add decrement of mapping count when mapping fails
and corresponding SMI release region call.

Change-Id: I81fb7eeee9973c770a65f02236c5358ce313e3a0
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:41:15 -08:00
Olav Haugan
9b2d1c2f8c gpu: ion: Clean up logging messages
Remove duplicate logging message for failure to create
a heap. Add logging message with name, base address, and
size of each heap created.

Change-Id: Id3a3706d914ffa72b0ecd84eb98785a678ceda9a
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:41:04 -08:00
Olav Haugan
41cf3e3363 gpu: ion: Fix SCM call message size
The SCM call message size used to protect and
unprotect memory is incorrect. The interface expects
13 bytes but 16 bytes is sent due to padding of the
message struct.

Pack the message structure to force the size of the
structure to 13 bytes.

Change-Id: Iecb7b40aa7e94454620c19cd70c3106392d2d311
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:40:53 -08:00
Olav Haugan
42ebe71efc gpu: ion: Add support for adjacent heaps
ION has to guarantee that two of the heaps are
adjacent to each other. This is due to a limitation
in the hardware. Add code to ensure these heaps
are adjacent.

Change-Id: Icc18437a50e1d872112468d02b61ab47fd70acc9
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:40:39 -08:00
Linux Build Service Account
3110d3fbe0 Merge "tzcom: Add support for modifying specific fields in cmd_buf" into msm-3.0 2012-01-18 15:18:40 -08:00
Linux Build Service Account
b67b56973b Merge "msm: board-8064: Port ION from 8960 to 8064" into msm-3.0 2012-01-18 15:18:40 -08:00
Deva Ramasubramanian
8f920ae2dc msm: defconfig: Enable writeback panel for wfd
For wifi display, the writeback panel is needed to capture the output of
mdp.  Setting this config enables the writeback panel.

Change-Id: I51006b74f63d286af6ca62bd95aa4fe2129f9fe4
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2012-01-18 13:19:28 -08:00
Rajesh Sastrula
284fc85908 msm_fb: display: Fix incorrect goto call
During the probe for writeback panel, for MDP hardware versions
earlier than 4.3 an incorrect goto call un registers the bus scale handle
that primary panel uses. This is causing the boot failures because the
primary panel turn on sequence triggers the bus scale update request on
already unregistered handle.

Change-Id: Ie604b0ba5606d9664d2aeff28b8bea131965de61
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
2012-01-18 13:19:07 -08:00
Linux Build Service Account
6be5d51835 Merge "radio-tavarua: Modify FM Turn Off Sequence." into msm-3.0 2012-01-18 08:32:55 -08:00
Linux Build Service Account
6f0922d20c Merge "msm: board-7x27A: Increase pmem_adsp size" into msm-3.0 2012-01-18 06:21:01 -08:00
Linux Build Service Account
4c8dbf894a Merge "msm: Camera: clear control queue" into msm-3.0 2012-01-18 06:21:01 -08:00
Linux Build Service Account
9b2463db60 Merge "radio: iris: Increase the RT buffer to fit the RT header" into msm-3.0 2012-01-18 04:39:10 -08:00
Linux Build Service Account
5a5986baf5 Merge changes I492c4944,Iaca37c61 into msm-3.0
* changes:
  msm: dsps: read from sleep clock in DSPS_IOCTL_READ_SLOW_TIMER
  msm: timer: add api to read sleep counter
2012-01-18 04:39:10 -08:00
Linux Build Service Account
399efeb501 Merge changes Ic6fc032a,I02413658 into msm-3.0
* changes:
  msm: board-9615: Add HSIC Peripheral support
  usb: gadget: Add HSIC peripheral support.
2012-01-18 04:39:10 -08:00
Linux Build Service Account
35485b5b4f Merge "defconfig: msm8960: disable LEGACY_PTYS" into msm-3.0 2012-01-17 23:37:46 -08:00
Linux Build Service Account
6ccfed8446 Merge "vidc: 1080p: Increase context memory size of the H.264 encoder." into msm-3.0 2012-01-17 23:37:46 -08:00
Linux Build Service Account
bb13504182 Merge "usb: otg: Add support for power supply API for USB charging" into msm-3.0 2012-01-17 23:37:46 -08:00
Linux Build Service Account
81d0139541 Merge "msm: scm-pas: Don't ignore bw requests when dfab clock exists" into msm-3.0 2012-01-17 23:37:46 -08:00
Manogna Reddy Alle
7a068da60a msm: Camera: clear control queue
Clear control queue everytime before entering wait in msm_control as
there might be invalid payloads in the queue and this can lead to
not waiting at all and exit before the valid command completes.

Change-Id: I34991968cb6bb9c2978bcea4d8ce641894cc2453
Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>
2012-01-18 12:19:21 +05:30
Mahesh Lanka
a2f6df1e2b msm: board-7x27A: Increase pmem_adsp size
Increase size of pmem_adsp region to enable high resolution
video decode using neon optimized SW codecs.

Change-Id: I7bbf7d743aac9f2e8cc1cd3227e4dc9fdb6aabe2
Signed-off-by: Mahesh Lanka <mlanka@codeaurora.org>
2012-01-17 21:24:53 -07:00
Adrian Salido-Moreno
fa559f6cb6 msm_fb: display: fix underrun seen with big src coordinates
MDP underrun happens if combination of x + w or y + h exceeds 2048.
To handle such use cases add an offset to the source address instead.

Change-Id: I36a8b687c4e21cac9915b5bf71211c97f6b44ddd
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2012-01-17 17:31:00 -08:00
Venkat Gopalakrishnan
c4093f9ae5 msm: sdio: Remove sdio tty ciq device.
OEM's have requested to remove CIQ support from our sotfware,
hence remove sdio tty ciq device that exposes the SDIO_CIQ channel
to userspace. The channel configuration itself will be removed
from client on the modem side. Also remove the test code related
to SDIO_CIQ channel.

Change-Id: I47702dd024d9aa549b55b713b12732838fb665a8
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2012-01-17 14:40:40 -08:00
Harini Jayaraman
5f98dbbdc2 msm: Copper: Add board and device tree support for SPI driver
This patch describes the basic attributes in the device tree
for the MSM SPI driver. Support for specifying the GPIO pins
associated with SPI is not yet present.

Change-Id: Idcb5cc28d84a2fa59463e698628da48cb058c652
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2012-01-17 15:16:10 -07:00
Olav Haugan
7c6aa74dbe msm: board-8064: Port ION from 8960 to 8064
Port ION changes made to 8960 to 8064 board file.

Change-Id: I6bacc24803397458aab2c47bec460b60368db27d
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-17 13:50:42 -08:00
Linux Build Service Account
7756577620 Merge changes I99f8604d,I50a535e8 into msm-3.0
* changes:
  msm: v4l2: add ISP support for more formats.
  msm: v4l2: fix support for test app.
2012-01-17 12:27:40 -08:00
Linux Build Service Account
956e5be694 Merge "spi_qsd: Add support for new QUPe controller." into msm-3.0 2012-01-17 10:52:54 -08:00
Deepika Pepakayala
e0e9e92051 msm: vidc: Remove endianness change for 1080p firmware.
Endianness change is no longer required for 1080p
firmware starting with Nov 30th 2011 firmware version.

Change-Id: I309d63b7efb544f80b44c6fc13955f186ece934b
Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
2012-01-17 10:35:17 -08:00
Linux Build Service Account
7b10397037 Merge changes I8b0f5d25,I2835dacf,Idef697db,I34c6a1f5,Ie3340d07 into msm-3.0
* changes:
  irq: irqdomain: Add API to find free irq range
  arm: gic: Check for error code on irq_domain_add
  irq: irqdomain: Change irq_domain_add to detect errors
  arm: gic: Register irqdomain after adding it
  irq: irqdomain: Add support for dynamic irq_desc allocations
2012-01-17 09:24:09 -08:00
Linux Build Service Account
67272e1a35 Merge "tracing: Clean up tb_fmt to not give faulty compile warning" into msm-3.0 2012-01-17 09:24:09 -08:00
Linux Build Service Account
257f2091ea Merge "msm: pm-8x60: Check for SPM status to verify CPU_DEAD" into msm-3.0 2012-01-17 09:24:09 -08:00
Linux Build Service Account
cbb79ea8a1 Merge "msm: clock-8960: Remove QDSS clock support" into msm-3.0 2012-01-17 07:14:34 -08:00
Linux Build Service Account
c230e1186c Merge "input: atmel_mxt_ts: Release irq and reset gpios" into msm-3.0 2012-01-17 07:14:34 -08:00
Linux Build Service Account
8086b13484 Merge "ASoC: msm: Update the in_frame_info structure definition" into msm-3.0 2012-01-17 04:17:08 -08:00
Linux Build Service Account
2b72427ff5 Merge "msm: board-msm7627a-camera: Create separate board file for camera" into msm-3.0 2012-01-17 04:17:08 -08:00
Linux Build Service Account
e6734ed99a Merge changes Iab87561f,Id5d9a4d2 into msm-3.0
* changes:
  ASoC: msm: update SLIMBUS_0_TX DAI to support 4 and 3 channels
  ASoC: wcd9310: Update Tabla Tx DAI to support 4 channels
2012-01-17 04:17:08 -08:00
Amit Blay
0f7edf7796 usb: otg: Add support for power supply API for USB charging
With this commit, USB Driver will start using Power Supply
API rather than calling direct pmxxx driver API for USB charging.
This will allow hiding specific charger model (such as
external LTC4088 charger used for MDM9x15) from USB driver.

In case the power supply API is not support, fallback to legacy
API which uses pm8921 driver.

Change-Id: Ic0f302e3aa8aa60f6483a0fdeec9389a0ded1fac
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2012-01-17 13:36:15 +02:00
Venkateshwarlu Domakonda
31f45dafe0 radio-tavarua: Modify FM Turn Off Sequence.
Flush the event and work queues prior to queuing READY event.

Change-Id: I95584006d252b2284bf15562edbca50fa5593384
CRs-Fixed: 327151, 326855
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
2012-01-17 11:24:15 +05:30
Srinivasa Rao Uppala
6983984c30 radio: iris: Increase the RT buffer to fit the RT header
Increase the RDS Radio text buffer size to fit the RT header.
And also limit the Radio text to maximum allowed length

Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-17 11:17:19 +05:30
Mayank Chopra
732dcd668f msm: rotator: Add pseudo-planar output for interleaved format.
Rotator gives pseudo-planar H2V1 output for interleaved
H2V1 input format.

Change-Id: I2a7af3243dfb1175ea14d6649b4cec87029fec38
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2012-01-17 09:54:13 +05:30