Commit Graph

265195 Commits

Author SHA1 Message Date
Yan He
ce596c19ff platform-drivers: msm: sps: return number of unused descriptors
Client driver has a new feature requirement to acquire the number
of unused descriptors in the descriptor FIFO of a pipe; Add this
support in SPS driver.

Change-Id: Idf02308f6011973c2ad4fea2a50134b48062b953
Signed-off-by: Yan He <yanhe@codeaurora.org>
2012-04-09 09:15:15 -07:00
Linux Build Service Account
3cd338619a Merge "Revert "USB: gadget: Enable streaming mode support in hardware"" into msm-3.0 2012-04-09 08:47:57 -07:00
Linux Build Service Account
c5d316f4e7 Merge "msm: idle-v7: SMP and AMP mode programming for 8x25 target" into msm-3.0 2012-04-09 06:09:38 -07:00
Linux Build Service Account
fe4ffd28bb Merge "ARM: 7089/1: L2X0: add explicit cpu_relax() for busy wait loop" into msm-3.0 2012-04-09 06:09:38 -07:00
Linux Build Service Account
987f4034e4 Merge changes I105abad2,I545cb46f into msm-3.0
* changes:
  msm: rotator: Add Rotator device & bus scale data for 8064/8960/8930
  msm: display: Use local HDMI as primary flags for 8960/8064 targets
2012-04-09 06:09:38 -07:00
Murali Nalajala
93f2999ca7 msm: idle-v7: SMP and AMP mode programming for 8x25 target
Program the Auxiliary Control Regiater(ACTLR.SMP) to switch
from Symmetric MultiProcessing Mode(SMP) to Asymmetric Multi
Processing Mode(AMP) while entering into the GDFS power mode.
This enables the CPU to be taken out of coherency by preventing
the CPU from receiving cache and TLB maintenance operations
broadcast by other CPUs in the system.

Change-Id: I74285e445e86cdb78a85705347550c762e47a0e2
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2012-04-09 12:48:41 +05:30
Ravishangar Kalyanam
319a83c4b9 msm: rotator: Add Rotator device & bus scale data for 8064/8960/8930
Add Rotator device & bus scale data for supporting individual
targets 8960/8064/8930

CRs-Fixed: 344144
Change-Id: I105abad23717f1d42861d9808e0e2d41d776e90c
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-04-08 21:25:44 -07:00
Ravishangar Kalyanam
fda36c4d64 msm: display: Use local HDMI as primary flags for 8960/8064 targets
Replace the global flag for HDMI as primary flag by local ones to
8960 and 8064 targets to avoid compilation issues for separate
target configs enabled

CRs-Fixed: 344144
Change-Id: I545cb46f51ed32e036fc2de3946e8a4b7a9d93e4
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-04-08 21:25:38 -07:00
Sathish Ambley
39a1dc4fed msm: copper: Update PHYS_OFFSET and image load address
RUMI address offsets are in 0x20200000 range, update the
PHYS_OFFSET and zreladdr to match this. This would also
change the offsets for the simulation to match that of
RUMI platform so as to allow the same image to be used on
both platforms.

Change-Id: Id422a537e02299571e185b3f0d24930e56fa2b59
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2012-04-08 21:19:40 -07:00
Linux Build Service Account
65904c3322 Merge "msm: display: Add boot param support for 7x27A/8x25" into msm-3.0 2012-04-08 09:33:32 -07:00
Linux Build Service Account
d02ab65caa Merge "msm: acpuclock-krait: Initial commit with msm-copper support" into msm-3.0 2012-04-08 07:20:36 -07:00
Linux Build Service Account
b2938b9ba3 Merge "msm_serial_hs: Fix the issue with device unregister/register" into msm-3.0 2012-04-08 07:20:33 -07:00
Padmanabhan Komanduru
92f9a725b1 msm: display: Add boot param support for 7x27A/8x25
Add support for dynamic detection of panels on 7x27A/8x25
through fastboot param.

Change-Id: I46965a8a3cc3c847bc1cca6393264b22ae9ff072
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2012-04-08 19:47:21 +05:30
Murali Nalajala
867f848c67 msm: pm-boot: Compile "msm_pm_write_boot_vector" always
Currently "msm_pm_write_boot_vector" is under CONFIG_MSM_SCM
configuration. Which is true for targets having TZ. But this
functionality is required for 8625 traget as well hence moving
this function outside of the configuration.

Change-Id: Ia37f2688525d22e4c463cb10b75badcb1a6ed442
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2012-04-08 14:54:22 +05:30
Steve Muckle
730ad7abaa msm: pm: clean msm_pm_pc_pgd in the cache after writing
Since a CPU will read the msm_pm_pc_pgd value as it comes
up from power collapse when caches are disabled, it needs
to be guaranteed that the value has been written to memory
before any CPU power collapses.

Change-Id: I7f6358a001255f9bac99a6378532c96fd460f82b
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2012-04-08 14:52:49 +05:30
Steve Muckle
c25a936123 msm: pm: clean boot vector in outer cache after writing
The boot vector will need to be cleaned in the outer cache
after being written to ensure that it can be read by a CPU
which is waking up from power collapse. Calling
v7_flush_dcache_all is not sufficient on targets which
have an outer cache.

There is currently no requirement for the boot vector write to
happen in an assembly environment, and moving it to C makes
cleaning the outer cache easier.

Change-Id: I64c2577c9159adf25b26995a7e3ac0285d01d0d6
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2012-04-08 14:51:28 +05:30
Steve Muckle
fcece057c3 msm: pm: save registers to noncached area before pc
The power collapse path is simplified if a noncached area is
used for the purpose of saving register state prior to power
collapsing. This is especially beneficial in the case of targets
with an outer cache, where the process of cleaning the register
state would require complex operations.

Change-Id: I9edac28e4091548e2843fc87c89e3451df2b6ae9
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2012-04-08 14:50:17 +05:30
Olav Haugan
e6a0acd4f3 msm: 9615: Add support for ION
ION is a memory manager used by kernel and user
space clients to efficiently share buffers.

Add support for ION to 9615 target, as it is needed
for audio and power collapse. This commit will reserve
a total of 1mb of system memory (as reservations are
rounded up to megabyte boundaries).

A corresponding change to power management boot code
is also needed with this. When ION is enabled, the
method previously used by the PM code to allocate and
map the boot area for 9x15 does not work anymore. That
area must be allocated with a different API.

Change-Id: Id4354362dc9eccabd78943317a9e45d6844b3bd2
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-04-08 14:48:50 +05:30
Linux Build Service Account
0a356dcefa Merge "msm_fb: display: MSM V4l2 video overlay driver" into msm-3.0 2012-04-08 01:25:55 -07:00
Barry Song
7f5910a95e ARM: 7089/1: L2X0: add explicit cpu_relax() for busy wait loop
using cpu_relax in busy loops is a well-known idiom in the kernel.
It's more for documentation purposes than technically needed here.

Change-Id: Ia594afa78070e9d115ee06017c2e935ea72b60d6
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2012-04-08 12:27:53 +05:30
Linux Build Service Account
a82a933d55 Merge "video: msm: wfd: Allow client to specify multiple slices per frame" into msm-3.0 2012-04-07 23:31:21 -07:00
Linux Build Service Account
f80a46c0e1 Merge "ARM: 7009/1: l2x0: Add OF based initialization" into msm-3.0 2012-04-07 20:11:33 -07:00
Linux Build Service Account
0edb882b54 Merge "qup_i2c: Set the clock rate before enabling the clock." into msm-3.0 2012-04-07 20:11:32 -07:00
Linux Build Service Account
26b5d07ff1 Merge "msm: clock-local: Make .is_local assignments optional" into msm-3.0 2012-04-07 20:11:30 -07:00
Alhad Purnapatre
c55856c548 msm_fb: display: MSM V4l2 video overlay driver
Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
or the PPP interface (MDP3) to overlay frames on top of display
framebuffer.

Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org>
Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee
2012-04-07 17:06:38 -07:00
Linux Build Service Account
ee2c76e889 Merge "msm_fb: hdmi: CEC re-transmission improvements." into msm-3.0 2012-04-07 05:46:00 -07:00
Linux Build Service Account
73d8d0b15d Merge "msm: kgsl: Add KGSL_IOCTL_SETPROPERTY" into msm-3.0 2012-04-07 05:45:58 -07:00
Rob Herring
78ae8b19d9 ARM: 7009/1: l2x0: Add OF based initialization
This adds probing for ARM L2x0 cache controllers via device tree. Support
includes the L210, L220, and PL310 controllers. The binding allows setting
up cache RAM latencies and filter addresses (PL310 only).

Change-Id: I61bc73cc0047512f3128748237c314f303c94772
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2012-04-07 16:27:28 +05:30
Linux Build Service Account
e354ed8cdb Merge "msm: Remove the pmem audio devices." into msm-3.0 2012-04-07 02:19:28 -07:00
Linux Build Service Account
0760ac5ef0 Merge "ASoC: msm: Remove hardcoded frame size dependency on sample rate." into msm-3.0 2012-04-07 02:19:25 -07:00
Ajay Singh Parmar
aabbf2b21c msm_fb: hdmi: CEC re-transmission improvements.
Adding some improvements to HDMI CEC code flow to
reduce the risk of system crash and compliance
failure by proper CEC resiters settings and positions
in code flow.

CRs-fixed: 336541
Change-Id: I8fb3510190e5c4ff83b3785c51bade139f20692c
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2012-04-07 13:25:00 +05:30
Jordan Crouse
ed7dd7f660 msm: kgsl: Add KGSL_IOCTL_SETPROPERTY
Add KGSL_IOCTL_SETPROPERTY to allow certain features to be enabled in
the kernel driver via userspace.

Change-Id: Ic0dedbadcbf3bfd451db947cec5d997261b12915
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2012-04-07 01:19:22 -06:00
Linux Build Service Account
c25ee431a6 Merge "usb: mdm_bridge: Fix premature auto suspend on Rx data path" into msm-3.0 2012-04-07 00:15:16 -07:00
Linux Build Service Account
f95caca1fb Merge "ASoC: wcd9310: Fix suspend failure after headset insertion" into msm-3.0 2012-04-06 20:32:25 -07:00
Linux Build Service Account
f84a890e07 Merge changes Idc835296,If1788246 into msm-3.0
* changes:
  video: msm: wfd: Remove the need for scratch buffer by VSG
  msm: vidc: Remove vcd restriction of duplicate input buffer queue
2012-04-06 20:32:23 -07:00
Linux Build Service Account
74055292ac Merge "ASoC: WCD9304: Add 15ms delay during slimbus port shutdown" into msm-3.0 2012-04-06 20:32:21 -07:00
Linux Build Service Account
41ed1b28cb Merge "msm: kgsl: Fix type0 packet parsing" into msm-3.0 2012-04-06 20:32:19 -07:00
Linux Build Service Account
61ba869ccd Merge "msm: kgsl: Dump the entire ringbuffer to the snapshot" into msm-3.0 2012-04-06 20:32:16 -07:00
Linux Build Service Account
bad9401e80 Merge "msm: kgsl: Store process mem entries in a rbtree" into msm-3.0 2012-04-06 20:32:15 -07:00
Linux Build Service Account
fb1db2cd54 Merge "msm: clock: Make sure clock parents are set before handoff" into msm-3.0 2012-04-06 20:32:10 -07:00
Linux Build Service Account
e949b1a002 Merge "msm: kgsl: Create a separate pool for mapping kgsl allocations" into msm-3.0 2012-04-06 20:32:09 -07:00
Linux Build Service Account
9343b215c1 Merge "msm: kgsl: Add markers to identify IB sequence start and end" into msm-3.0 2012-04-06 20:32:06 -07:00
Bharath Ramachandramurthy
4a3fa9136d msm: Remove the pmem audio devices.
Ifdef the pmem audio device under USE_ION config so
that audio doesn't exercise any pmem related devices.

Change-Id: I786573ce5d3b6378733a796a231ec6557d5c37ff
Signed-off-by: Bharath Ramachandramurthy <bramacha@codeaurora.org>
Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
2012-04-06 20:18:35 -06:00
Asish Bhattacharya
b3568cfec8 ASoC: msm: Remove hardcoded frame size dependency on sample rate.
The driver has hardcoded dependency for period size on sample rate.
This restricts driver from being used for all sample rate and period
size combinations.

The driver also introduces an unnecessary delay in giving the first
buffer to dsp both for playback and record case. resulting in delay
in start of session.

Change-Id: I9e0eb9b426e4f77c161dc7ef72b152d081979013
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2012-04-07 07:29:42 +05:30
Linux Build Service Account
b5380b64e4 Merge "ASoC: msm: Fix NULL pointer dereference issue." into msm-3.0 2012-04-06 18:49:34 -07:00
Linux Build Service Account
ff6c23d920 Merge "msm: Display: Add support for backlight control on 8930 chipset." into msm-3.0 2012-04-06 18:49:31 -07:00
Linux Build Service Account
609d1b9502 Merge changes I27832682,I0bd93951 into msm-3.0
* changes:
  power: pm8921-bms: calibrate ocv only when it changes
  power: pm8921-bms: approach fcc if outside the scope
2012-04-06 18:49:27 -07:00
Linux Build Service Account
71ebe3dd29 Merge "msm: msm_bus: Avoid exceeding allocated buffer space in debugfs" into msm-3.0 2012-04-06 18:49:21 -07:00
Linux Build Service Account
bb1ed5ec37 Merge "power: pm8921-bms: scale rbatt with temperature and soc" into msm-3.0 2012-04-06 18:49:18 -07:00
Linux Build Service Account
932410e2e0 Merge "msm: acpuclock-7x30: Prepare PLLs during init" into msm-3.0 2012-04-06 18:49:17 -07:00