Commit Graph
263616 Commits
Author SHA1 Message Date
Jeremy Gebben 7faf9ecde6 msm: kgsl: don't clear gpuaddr when unmapping global mappings
Memory mapped through kgsl_mmu_map_global() is supposed to have
the same gpu address in all pagetables. And the memdesc will
persist beyond the lifetime of any single pagetable.
Therefore, memdesc->gpuaddr should not be zeroed for these
memdescs.

Change-Id: I0f46aaee2b9e87f839e78b7978cdf1bb4239d6f5
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2012-03-23 14:05:59 -06:00
Linux Build Service Account 80b6c0a555 Merge "vidc: Migrate to new ION cache ops API." into msm-3.0 2012-03-23 10:51:04 -07:00
Linux Build Service Account e812e74212 Merge "mdm9615: Add calibration data for TSENS" into msm-3.0 2012-03-23 10:51:04 -07:00
Linux Build Service Account 12f8788251 Merge "power: pm8921-bms: calculate rbatt only at resume" into msm-3.0 2012-03-23 10:51:04 -07:00
Linux Build Service Account bfdf4e1ff1 Merge "msm: kgsl: Remove IOCTL_KGSL_DEVICE_REGREAD from msm_kgsl.h" into msm-3.0 2012-03-23 10:51:04 -07:00
Linux Build Service Account cbc4e12cee Merge "msm: camera: IMX091 sensor kernel driver" into msm-3.0 2012-03-23 10:51:04 -07:00
Linux Build Service Account 74b91a3f6a Merge "msm: camera: Fix the stretch issue in Camera Preview" into msm-3.0 2012-03-23 10:51:04 -07:00
Sujit Reddy Thumma 31a45ce6fa mmc: msm_sdcc: Advertise erase capability
SD/MMC card erase functionality is available in core
layer. Enable MMC_CAP_ERASE capability from host side
so that users can use erase, trim, secure erase, secure trim
operations based on the card capability.

Change-Id: Icf35cd3038b0a95d653387d42870357c4c3853c0
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2012-03-23 16:19:11 +05:30
Linux Build Service Account d2dab70680 Merge "msm: fix circular dependency warning when ENABLE_DMM is set" into msm-3.0 2012-03-23 00:44:15 -07:00
Linux Build Service Account e67fdc4c5e Merge "msm: pil: Print error messages when pil_force_{boot,shutdown} fails" into msm-3.0 2012-03-23 00:44:15 -07:00
Linux Build Service Account b196a33156 Merge "msm: pm-boot: Modify PM warmboot sequence instructions" into msm-3.0 2012-03-23 00:44:15 -07:00
Sreesudhan Ramakrish Ramkumar 3381da7e64 msm: camera: IMX091 sensor kernel driver
This driver includes voltage regulator configuration,
clock configuration, sensor gpio settings and sensor
register settings to enable preview and snapshot for
Sony IMX091 sensor.

Change-Id: Ib974e78bdb4310350c27eda20e0cc49e4c34916e
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
2012-03-22 23:50:44 -07:00
Siddartha Mohanadoss 7e25dc1065 mdm9615: Add calibration data for TSENS
MDM9615 has identical configuration for the number
of sensors and slope with MSM8960. Add support to
enable the TSENS for calibrated parts.

Change-Id: Ieb1f118ce916ab5a4f079b18b11541d86c3a5560
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-03-22 22:37:15 -07:00
Linux Build Service Account a5de44ce9a Merge "msm: board-8960: Configure PM8921 SMPS 4 to use auto mode" into msm-3.0 2012-03-22 22:20:23 -07:00
Linux Build Service Account 1692c3613d Merge changes Ie3ad8982,I02ece530,I71f2ec2c,Ia96e2341,I7f25e546 into msm-3.0
* changes:
  msm: board-8930: Allow SMPS 4 to be set to 1.95 V
  msm: board-8930: Configure PM8038 SMPS regulators to use auto mode and LPM
  msm: board: Specify force_mode and sleep_set_force_mode per regulator
  msm: board: Initialize sleep_set_force_mode parameters
  msm: rpm-regulator: Add sleep-set force mode parameter
2012-03-22 22:20:23 -07:00
Linux Build Service Account dfb7e6c82b Merge "msm: msm_iomap: Unify iomap for 7x30 with 7K & 8K" into msm-3.0 2012-03-22 22:20:23 -07:00
Linux Build Service Account 4948d2f31c Merge "video: msm: wfd: Set SPS/PPS per IDR frame as default" into msm-3.0 2012-03-22 22:20:23 -07:00
Linux Build Service Account 531fc4dc25 Merge "msm: Display: Remove backlight/Panel-reset control from PMIC init function." into msm-3.0 2012-03-22 22:20:23 -07:00
Linux Build Service Account 60cd2cc8ba Merge "msm: pil-gss: Remove GSS QGIC bus workaround from pil_gss_reset_trusted()" into msm-3.0 2012-03-22 19:52:47 -07:00
Linux Build Service Account 8168d774fa Merge "msm: rpm: panic() on an rpm error interrupt" into msm-3.0 2012-03-22 19:52:47 -07:00
Linux Build Service Account b15f1d4c71 Merge "msm: msm_bus: Fix the check for gateway fabrics" into msm-3.0 2012-03-22 19:52:47 -07:00
Linux Build Service Account be3d365741 Merge "msm: clock: Migrate to prepare()/unprepare() APIs" into msm-3.0 2012-03-22 15:52:14 -07:00
Linux Build Service Account b1d9ce3f02 Merge "msm: 8930: Increase pull-up strength for pmic gpio-keys" into msm-3.0 2012-03-22 15:52:14 -07:00
Linux Build Service Account 423f32879d Merge "msm: board-8064: Add RTB support" into msm-3.0 2012-03-22 15:52:14 -07:00
Linux Build Service Account c3dddea389 Merge "msm_camera: Skip the frame when ping-pong register status is not proper." into msm-3.0 2012-03-22 15:52:14 -07:00
Linux Build Service Account f241e16031 Merge changes Ibfd4ba25,Ifc6054cd into msm-3.0
* changes:
  ASoC: wcd9310: Add high impedance headphone detection support
  ASoC: jack: Add API report sock jack without DAPM sync
2012-03-22 15:52:14 -07:00
Linux Build Service Account 3678d986fd Merge "i2c: qup: Add Device tree support for Qualcomm I2C controller" into msm-3.0 2012-03-22 15:52:14 -07:00
Linux Build Service Account 17f5150328 Merge changes I16c7c3b8,I3553fcf6 into msm-3.0
* changes:
  msm: camera: handle mediaserver crash elegantly.
  msm: camera: add fields to msm_stats_buf for cache operations.
2012-03-22 10:55:12 -07:00
Linux Build Service Account 08ee264139 Merge changes Icba083e8,Ib84e2733,Iae4a3636 into msm-3.0
* changes:
  spi_qsd: Fix compilation warning
  power: ccadc: Initialize voltage_uv to fix compilation warning
  msm: cpuidle: Fix pm.h include path.
2012-03-22 10:55:12 -07:00
Linux Build Service Account 04331509fe Merge "msm: qdsp5: Convert to new clk_prepare/unprepare API" into msm-3.0 2012-03-22 10:55:12 -07:00
Linux Build Service Account 5547d999df Merge "msm: msm_dcvs: Add msm_dcvs manager" into msm-3.0 2012-03-22 10:55:12 -07:00
Linux Build Service Account 069cbac25e Merge changes Ic6cfa7fb,I260ae216,Ib0c17763 into msm-3.0
* changes:
  mmc: core: Remove BROKEN_CLK_GATING quirk for WCN1314 cards
  mmc: msm_sdcc: fixup for enabling MMC_CLKGATE feature for SDIO cards
  mmc: core: Export mmc_set_ios so that host drivers can use it
2012-03-22 10:55:12 -07:00
Linux Build Service Account a7bb217eac Merge "msm: kgsl: Remove unused debugfs files" into msm-3.0 2012-03-22 10:55:12 -07:00
Linux Build Service Account 796e0fce54 Merge changes Idd19dd86,I99a9948c into msm-3.0
* changes:
  msm_fb: Handle flags for updating AR GC lookup table (LUT)
  msm_fb: Restructure PCC and AR-GC code for clean implementation
2012-03-22 10:55:12 -07:00
Linux Build Service Account 321069f3ea Merge "msm_fb: display: check dtv_pipe before unset it" into msm-3.0 2012-03-22 10:55:12 -07:00
Linux Build Service Account 1e6cd7fb53 Merge "msm: acpuclock-8960: Increase bus bandwidth for 8930" into msm-3.0 2012-03-22 10:55:12 -07:00
Linux Build Service Account 46a55fc681 Merge changes Ifb15a715,I3e0786f7 into msm-3.0
* changes:
  Bluetooth: Only clear AMP/L2CAP connection after all channels deleted
  Bluetooth: Fix channel disconnect when logical link already exists
2012-03-22 10:55:12 -07:00
Linux Build Service Account 4d9aad3e57 Merge "power: pm8921-charger: add adaptive current limiting" into msm-3.0 2012-03-22 10:55:12 -07:00
Matt Wagantall b54fe5e73e msm: pil-gss: Remove GSS QGIC bus workaround from pil_gss_reset_trusted()
This workaround is now handled in secure context within the call
to pas_auth_and_reset(). Remove the unnecessary code. With recent
secure image builds, the accesses performed by the removed code
had no effect anyway, since the registers involved are protected
behind an XPU.

Change-Id: If2c34517e290f44a41980c9812fff1f21e8052b7
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
2012-03-22 10:31:27 -07:00
Stephen Boyd 01c02c1058 msm: pil: Print error messages when pil_force_{boot,shutdown} fails
If a peripheral is not registered and a driver calls
pil_force_{boot,shutdown}() the function silently returns an
error value or void. Print an error message so that log analysis
can find these problems more easily.

Change-Id: I6b535c2e7ac548b502941f37306f61890ef9b569
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-22 10:22:36 -07:00
Stephen Boyd f61255e087 msm: rpm: panic() on an rpm error interrupt
If the RPM triggers the LOW interrupt it means the RPM has error
fataled. Handle this case so we don't sit spinning on the RPM to
respond until our watchdog times out. We also check this while
polling the ack interrupt in msm_rpm_busy_wait_for_request_completion().

This should allow us to have a nice panic output in the logs
whenever the RPM has crashed and is no longer responsive.

Change-Id: Ia40b95eaffe5bbaa10b62f85ae849eb36b1384e6
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-22 10:21:08 -07:00
David Collins 09c8f73f4b msm: board-8960: Configure PM8921 SMPS 4 to use auto mode
Change the RPM regulator configuration data for PM8921 SMPS 4 on
MSM8960 so that RPM requests are made with force mode = auto
instead of force mode = none. Auto mode allows the regulator to
switch automatically between HPM and LPM in hardware based on
real time current load.

Change-Id: Ide406ab8e353dcb79ab76832221deeec09f4e706
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:15:02 -07:00
David Collins 226f2517d8 msm: board-8930: Allow SMPS 4 to be set to 1.95 V
Change the min_uV constraint for PMIC 8038 SMPS 4 to 1.95 V
and change the Sitar configuration data to utilize this new
lower value. All Apps use cases should be able to function
properly with SMPS 4 set to 1.95 V. Therefore, the lower voltage
should be used in order to save power.

Change-Id: Ie3ad89828aabd28234f2c953ec06be3b62e2dc13
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:13:48 -07:00
David Collins 3d2b945e63 msm: board: Specify force_mode and sleep_set_force_mode per regulator
Modify the macros and initialization tables in the 8960, 8930,
and 8064 board files so that force_mode and sleep_set_force_mode
are specified individually for SMPS regulators.

Several SMPS regulators on each of these targets will need to be
set to use Auto mode instead of no force mode.

Change-Id: I71f2ec2cad347ce7cbf11cff4c9d75cc7fc02f72
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:13:48 -07:00
David Collins c4208cccaa msm: board-8930: Configure PM8038 SMPS regulators to use auto mode and LPM
Change the RPM regulator configuration data for PM8038 SMPS
regulators on MSM8930 so that active set RPM requests are made
with force mode = auto instead of force mode = none. Also change
force mode to LPM for sleep set requests.

Auto mode allows a regulator to switch automatically between
HPM and LPM in hardware based on real-time current load. Forced
LPM is utilized in the sleep set because it allows for
additional power savings beyond auto mode.

Change-Id: I02ece53063d50d80ad62f33d62899ef631d731aa
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:13:48 -07:00
David Collins 15789045b0 msm: board: Initialize sleep_set_force_mode parameters
Fill in the sleep_set_force_mode parameter in the configuration
macros for all targets that use the rpm-regulator driver. The
sleep-set value should match the active-set value for now. This
ends up being "none" in all cases.

Change-Id: Ia96e2341b651ffcb49438a6d6ec51374e2330079
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:13:47 -07:00
David Collins d1b7aeaa5e msm: rpm-regulator: Add sleep-set force mode parameter
Add a new sleep_set_force_mode parameter into the rpm-regulator
driver platform data structure. Modify sleep-set requests to use
this value for force mode.

This parameter is intended to be used to capture platform
specific mode requirements for certain regulators which cannot
be managed by modifying peak current (ip) alone.

Change-Id: I7f25e546ae7feef1b5e8312a4198e855312a58c7
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-03-22 09:13:47 -07:00
Raju P.L.S.S.S.N a24bb1d75c msm: camera: Enable V4l2 support for camera
enable V4l2 (video for linux 2) support for camera in
7627a and 8625 targets.

Change-Id: I2c2413272dcd46505832054b13f74fb9e2aff2b9
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2012-03-22 07:22:29 -06:00
Linux Build Service Account e1fc3a122f Merge "msm: platsmp: Release secondary cores out of reset for copper" into msm-3.0 2012-03-22 03:29:43 -07:00
Linux Build Service Account eec2a60c6a Merge "msm: kgsl: Add GMEM size configuration in gpu list" into msm-3.0 2012-03-22 03:29:43 -07:00