Commit Graph

264866 Commits

Author SHA1 Message Date
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
Siddartha Mohanadoss
cb6d300f6c hwmon: pm8xxx-adc: Fix Buffer overflow
Use the maximum number of channels added in the
ADC entry list in the board to check for channel
validity. This patch also adds additional checks
in the driver to validate the requested channel.

CRs-Fixed: 339631
Change-Id: I347f0d39a00b6ee12976ec2c24843626b54617d4
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-03-22 22:01:42 -07:00
Sunny Kapdi
d71fbed152 Bluetooth: Wait for smd open before registering with hci
During subsystem restart we need to wait for the WCNSS to come up
and open the smd port before sending any data (command) to it
otherwise the data is lost and it will result in hci_cmd_timeout.

If there was a mechanism in place to issue subsystem_restart on
hci_cmd_timeout, it would result in repetitive subsystem_restart
without this fix.

CRs-fixed: 346227
Change-Id: I5b6098ad017455346953c63e6acef7b12eb44814
Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>
2012-03-22 20:50:53 -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
Rohit Vaswani
c9fdd44a67 msm: watchdog: Add support for VIC based devices
Current driver supports only GIC based devices. Revert
the old changes such that VIC based device can use the existing
driver.

Change-Id: I77bcdc57a001f77538641a62f57d13da4f278bac
Acked-by: Kaushik Sikdar <ksikdar@qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2012-03-22 16:33:43 -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
Ravishangar Kalyanam
fa530308e1 msm_fb: display: Remove base layer for DSI command mode during suspend
Remove RGB base layer pipe for DSI command mode during suspend to
unstage all pipes in Mixer 0 properly

CRs-Fixed: 343233
Change-Id: Icce46ad0969536ed9819d10c0e7e01c63aed147d
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-03-22 14:43:25 -07:00
Tarun Karra
a3049156cf msm: board-8064: Fixed 8064 192mhz GPU clk freq request.
GPU clock frequency was incorrectly requested to be 1920Mhz
instead of 192Mhz. Fixed this to correct value.

Change-Id: I6c5aa2db42b1fcffdc0dbdfcc5f98b863a8a3ee7
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
2012-03-22 12:48:15 -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
Linux Build Service Account
9b7cc77693 Merge "usb: gadget: allow multiple gadgets to be built" into msm-3.0 2012-03-22 03:29:43 -07:00
Linux Build Service Account
e8d707537b Merge changes Id542b083,I564fa01c into msm-3.0
* changes:
  power: pm8921-charger: remove set_usb_power_supply_type
  USB: OTG: remove pm8921_set_usb_power_supply_type
2012-03-22 03:29:43 -07:00
Stephen Boyd
e334aebd27 msm: clock: Migrate to prepare()/unprepare() APIs
Replace calls to clk_enable()/clk_disable() with calls to
clk_prepare_enable()/clk_unprepare_disable(). This is safe to do
because all these calls are made from non-atomic context.

Change-Id: I8bbb2c5df9a23796b808d4f882ffdb04319477ea
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-22 00:17:16 -06:00
Ayaz Ahmad
0fa1984935 radio-tavarua: Send disable event
Send disable event when FM turn off is completed
so that file descriptor can be released safely

CRs-Fixed: 339470
Change-Id: Ib66f4cd79a470498404a07759d730504f6615e33
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
2012-03-22 11:37:17 +05:30
Linux Build Service Account
947fe399e7 Merge "fmem: reinitialize some qcache data upon returning to T-state" into msm-3.0 2012-03-21 22:56:15 -07:00
Linux Build Service Account
da02e43c9c Merge changes I183593a2,I33c9dd42 into msm-3.0
* changes:
  msm: pil: Allow verify_blob() to be optional
  msm: pil: Add name and state sysfs nodes
2012-03-21 22:56:15 -07:00
Joonwoo Park
0332483368 ASoC: wcd9310: Add high impedance headphone detection support
If HPHL and HPHR have relatively high impedance, internal MBHC HPHL
trigger cannot trigger so results in headphone/headset detection
failure.
Utilize MIC trigger as well as HPHL trigger in order to detect headphone
and headset which have high impedance on headphone line.

CRs-fixed: 339390, 337590, 336847, 334339
Change-Id: Ibfd4ba254197233f2b5e253f5d1fa2a98c848c97
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2012-03-21 19:33:02 -07:00
Vamsi Krishna
efbff97e2d mdm: Ignore mdm status interrupt if mdm is not ready
Spurious mdm status interrupt is very early during bootup causing
hsic enumeration and low power mode failures. Ignore status
interrupt if mdm is not booted yet or by checking mdm ready flag.

Change-Id: I5db682e28386e3d9479fccd78c67da593a9f16ec
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
2012-03-21 20:03:42 -06:00
Linux Build Service Account
68447c1109 Merge "ASOC: msm: Add machine driver for mdm9615" into msm-3.0 2012-03-21 19:01:13 -07:00