Commit Graph

260258 Commits

Author SHA1 Message Date
Bharath Ramachandramurthy
b8e797f7cb ASoc: msm: Add machine driver for 8064.
Change-Id: Ie1babbf5a3c690b81dd5265e7f3773dc247711a2
Signed-off-by: Bharath Ramachandramurthy <bramacha@codeaurora.org>
2011-12-16 12:07:37 -08:00
Linux Build Service Account
8d3c9501d1 Merge "ARM: Perf: Change event filters depending on profiling mode" into msm-3.0 2011-12-16 10:23:26 -08:00
Linux Build Service Account
1122dbaea8 Merge changes I9b6533ac,Ia49a819d,I19f2fe7a into msm-3.0
* changes:
  msm: kgsl: in postmortem, log powerstate before changing it
  msm: kgsl: adreno_isidle shouldn't BUG()
  msm: kgsl: fix infinite loop in adreno_find_region()
2011-12-16 10:23:26 -08:00
Linux Build Service Account
04551f2530 Merge "slim: msm: Register MSM controller with framework before framer" into msm-3.0 2011-12-16 10:23:26 -08:00
Linux Build Service Account
8b8fbac794 Merge "msm: kgsl: Allow device attributes to be re-created" into msm-3.0 2011-12-16 10:23:26 -08:00
Linux Build Service Account
86810e75f7 Merge changes I711dbd41,I3211a122 into msm-3.0
* changes:
  msm: board-9615: USB SPS Pipes configuration fixes
  usb: gadget: Add SPS BAM-to-BAM support
2011-12-16 10:23:26 -08:00
Linux Build Service Account
187e51291e Merge "msm: vidc: Driver changes to disable demux in core decoder." into msm-3.0 2011-12-16 10:23:26 -08:00
Linux Build Service Account
caacc08f9a Merge "msm: audio: qdsp6v2: Fix warning prints at gpio call." into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
2174f4a08e Merge "radio: iris: Fix the FM FTM Tx set station issue" into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
755c36e12b Merge "arm: mm: Check if movable zone has a nonzero size" into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
56c46ac124 Merge "VFS : mount lock scalability for internal mounts" into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
1e48e609b7 Merge "bluetooth:Clean up in hci device registration while Bt turn off" into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
e1f938b82c Merge "camera: Fix for recording." into msm-3.0 2011-12-16 07:26:21 -08:00
Linux Build Service Account
670efde303 Merge "msm: acpuclock-8960: Add initial support for 8930" into msm-3.0 2011-12-16 05:31:02 -08:00
Linux Build Service Account
359e4ff6f7 Merge "msm: camera: improved mclk drive strength" into msm-3.0 2011-12-16 05:31:02 -08:00
Linux Build Service Account
7848d0c721 Merge "msm_fb: display: Fix DSI cmd mode color swap issue for MDP rev <= 4.1" into msm-3.0 2011-12-16 05:31:02 -08:00
Linux Build Service Account
ed4bd4db6b Merge changes I814b9c85,Ib8d92abd into msm-3.0
* changes:
  msm: smd_tty: Add DATA11 port
  msm: smd_tty: Refactor to remove duplicate code
2011-12-16 05:31:02 -08:00
Linux Build Service Account
853c592472 Merge "msm: kgsl: Eventually transition to SLUMBER" into msm-3.0 2011-12-16 05:31:02 -08:00
Linux Build Service Account
ba978cf96b Merge "hwmon: pm8xxx-adc: Limit BTM interval period" into msm-3.0 2011-12-16 05:31:02 -08:00
Stephen Boyd
d471e7ac29 msm: clock-8960: Enable hw clock gating
Dynamic hardware clock gating is supported for most multimedia
ahb clocks on 8960v2 and axi clocks are supported on 8960v3.
Detect the SoC version and put the ahb and axi clocks into
hardware control appropriately.

Change-Id: I6cfe06d725b87f868159027c07f260107920c1a1
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-12-15 22:46:52 -08:00
Stephen Boyd
a52d7e369d msm: clock: Add hardware gating support to branch clocks
Add support for hardware clock gating on branch clocks. Do this
in a few steps:

 o At clock registration time, check to see if the branch is not
   in hardware gated mode and fix up the branch data structure
   as appropriate

 o When a clk_reset() is asserted take the branch out of
   hardware control so the reset can propagate if the clock
   is enabled

 o When a clk_reset() is deasserted put the branch back into
   hardware control

Add three new ops to the clk_ops structure to support the above.

	void (*enable_hwcg)(struct clk *clk);
	void (*disable_hwcg)(struct clk *clk);
	int (*in_hwcg_mode)(struct clk *clk);

{enable,disable}_hwcg() should enable and disable hardware clock
gating if possible. in_hwcg_mode() should return either a
non-zero value or a zero indicating whether the clock is
currently in hardware gating mode or not in hardware gating mode
respectively.

Use in_hwcg_mode() to detect when to skip the halt checks for a
branch and when to disable/enable hardware gating mode while
measuring clocks. This is particularly important for measurement
because we don't want to put a clock into hardware gating mode
accidentally after we measure the clock if the clock wasn't in
hardware gating mode to begin with.

Also expose a debugfs node indicating whether or not this clock
supports hardware gating. This should aid in debugging problems
due to hardware gating.

Change-Id: Id9b2d83adcc6dabe2544f48ef0b4d752d9a5c5c1
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-12-15 22:46:52 -08:00
Stephen Boyd
7bf2814e9e msm: clock-local: Implement rcg_clk_reset
Instead of duplicating the simple soc_clk_reset() function for
each SoC's rcg clock, implement a generic rcg clock reset
function. 7x30 is different, but that's ok because we already
have a separate reset function for 7x30.

Change-Id: Ib9e63d5f7361ed0e89392c5773d7e30f62e153a8
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-12-15 22:46:51 -08:00
Azam Sadiq Pasha Kapatrala Syed
f73442c614 camera: Fix for recording.
In back to back recording for an error case, the state is not
handled properly and the system hangs. So for graceful exit,
in error case ensure that the state is set properly.

Change-Id: Ibd7334909cbd33db266dc6908b332187ed74d310
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
2011-12-15 22:16:17 -08:00
Linux Build Service Account
167763fa84 Merge "msm: pil-8660: Break off Q6v3 boot code into platform driver" into msm-3.0 2011-12-15 21:14:30 -08:00
Linux Build Service Account
08023afd7d Merge "msm_fb: HDMI: Remove Audio Packet Ctrl Reg Setup" into msm-3.0 2011-12-15 21:14:30 -08:00
Linux Build Service Account
c5dfa94ca7 Merge "board: 8960: Add IO Expander for LiQUID" into msm-3.0 2011-12-15 21:14:30 -08:00
Linux Build Service Account
2856429607 Merge "msm: Configure Krait-specific settings" into msm-3.0 2011-12-15 21:14:30 -08:00
Linux Build Service Account
37a51f0dc5 Merge "wcnss: Handle bite IRQ from Riva watchdog" into msm-3.0 2011-12-15 21:14:30 -08:00
Linux Build Service Account
f7b0c4bf33 Merge "msm: timer: Fix racy sched_clock last_ns behavior" into msm-3.0 2011-12-15 21:14:30 -08:00
Srinivasa Rao Uppala
d2ec468dc6 radio: iris: Fix the FM FTM Tx set station issue
The get station parameters command failed during FM Tx as this is
specific to Fm Rx.Add the check before issuing the get station
parameters command

CRs-Fixed: 323778
Change-Id: Ie1a00fe5bf742c2c8158cff563c56d7fea44a21e
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-12-16 10:35:06 +05:30
Ravishangar Kalyanam
89d519ca92 msm_fb: display: Fix DSI cmd mode color swap issue for MDP rev <= 4.1
Fix DSI cmd mode color swap issue for MDP rev <= 4.1

CRs-Fixed: 323479
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Change-Id: Ic9841f0eb89df7afea7ec1c9486e8cb0e6bbb58d
2011-12-15 17:33:15 -08:00
Tianyi Gou
7c6b81ffe0 msm: acpuclock-8960: Add initial support for 8930
Add freq and L2 tables for 8930 using the slow part voltage data.
Need to update regulators, voltage and bus bandwidth in later
patches.

Change-Id: I847d9b5c1119206eb29cbd79e021d0154f6edd11
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2011-12-15 15:39:26 -08:00
Lucille Sylvester
43deede066 msm: kgsl: Eventually transition to SLUMBER
Even if a core is ACTIVE during an early_suspend call make
sure it switches off eventually with lack of use.

Change-Id: I476e8a14a0d7e90a8ed8b8c05d0cf5ed88632cad
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2011-12-15 16:37:25 -07:00
Rajakumar Govindaram
7fb409eb07 msm: camera: improved mclk drive strength
On platform with long traces, the existing drive strength
is not sufficient. Drive strength is increased to 8mA.

Change-Id: I0ff30008de2b5cac227004863bd5038eef174488
Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>
2011-12-15 14:23:58 -07:00
Amir Samuelov
755616d87e board: 8960: Add IO Expander for LiQUID
Add sx1508q IO Expander for LiQUID.

Change-Id: I182362b7b1ca4054c1d3c224f4fe6dcfa37dd649
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2011-12-15 13:24:40 -07:00
Abhijeet Dharmapurikar
ed8e5fb089 power: pm8xxx-ccadc: remove sanity checks for ccadc calibration
Currently the code checks that the voltage readings for 0volts and
25mV are within a certain range. If it falls outside this range, the
code limits the value.

This limiting leads to error in calculating the battery current. Remove
the checks.

Change-Id: I581a45fe2f1fa8853a597e6ffdfefc7671d19f51
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-12-15 11:58:41 -08:00
Stephen Boyd
3acc9e4ab3 msm: pil-8660: Break off Q6v3 boot code into platform driver
Create a platform driver to manage the Q6v3 instead of having a
module that exists for any 8660 target. This allows us to add
platform devices when the device really exists.

Change-Id: I6eb0f235334388e9a2fe3f9028504c8ca099ba41
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-12-15 10:57:39 -07:00
Linux Build Service Account
e9109d3df6 Merge "mmc: msm_sdcc: set max segments to max SPS decsriptors" into msm-3.0 2011-12-15 09:52:15 -08:00
Linux Build Service Account
ab9cb83169 Merge "usb: qcserial: explicitly set the tty mode to raw" into msm-3.0 2011-12-15 09:52:15 -08:00
Linux Build Service Account
41dae9ffed Merge "ASOC: qdsp6: Fix for validation of supported bitrates." into msm-3.0 2011-12-15 09:52:15 -08:00
Linux Build Service Account
7936d56976 Merge "ARM: 6996/1: mm: Poison freed init memory" into msm-3.0 2011-12-15 09:52:15 -08:00
Linux Build Service Account
100b63b7df Merge "msm: board-msm7x27a: Udpate regulator voltage shared by AR6003 WIFI Chip." into msm-3.0 2011-12-15 09:52:15 -08:00
Linux Build Service Account
60fa0fd91d Merge "ARM: 7017/1: Use generic BUG() handler" into msm-3.0 2011-12-15 09:52:15 -08:00
Jeremy Gebben
a4d97ee181 msm: kgsl: in postmortem, log powerstate before changing it
Change-Id: I9b6533acbe99c5094d51ac4fb12a23a280cc07c7
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-15 10:16:04 -07:00
Jeremy Gebben
aeb23871d8 msm: kgsl: adreno_isidle shouldn't BUG()
If the ringbuffer isn't idle, the GPU is probably in
SLUMBER or SUSPEND which are very idle states. This
function probably still shouldn't be called, so WARN
instead.

Change-Id: Ia49a819d935d6dce9cae2c193aff8e9de87d8af6
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-15 10:16:03 -07:00
Jeremy Gebben
775d48b639 msm: kgsl: fix infinite loop in adreno_find_region()
If postmortem dump tried to parse a context switch
buffer for any context except the current context
this function would never return.

Change-Id: I19f2fe7afda5796180cdf5f81c17fad960e84f05
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-15 10:16:03 -07:00
Eric Holmberg
be1dc5fc46 msm: smd_tty: Add DATA11 port
Adds smd11 device for SMD DATA11 port.

Change-Id: I814b9c8561dc27286fee985fec098217c977db8d
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2011-12-15 09:22:25 -07:00
Eric Holmberg
513ad58654 msm: smd_tty: Refactor to remove duplicate code
Refactors duplicate initialization code into
a table and initialization loop to improve maintenance
and readability.

Change-Id: Ib8d92abd95f1115427d52b20a247ff7ec3582954
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2011-12-15 09:22:25 -07:00
Linux Build Service Account
8c3347c235 Merge "9615: board-regulator: Add regulator supply line for AR6003 driver" into msm-3.0 2011-12-15 07:10:54 -08:00
Linux Build Service Account
d402685b42 Merge "msm-camera: power enable support for autofocus actuator" into msm-3.0 2011-12-15 07:10:54 -08:00