Commit graph

415802 commits

Author SHA1 Message Date
Dinesh K Garg
7bcafc734d msm_rng: Change long to u32 type for buffers reading from RNG HW
Changing the type from long to u32 of the buffer that is used to
read data from the RNG hardware to reflect the size of the HW
register

Change-Id: I54e8eeae40a66c8033637044e627023150d6c411
Acked-by: Baranidharan Muthukumaran <bmuthuku@qti.qualcomm.com>
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2014-08-11 10:21:54 -07:00
Dinesh K Garg
0382d97866 msm_rng: Resolve race condition issues
Resolve race condition between initializing the mutex vs hwrng
register.
Remove the HWRNG FIFO, not required in Software.

Change-Id: I9fa3e5c7e2e9e14feb88a4656dcfab7dec3cbd67
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2014-07-30 10:30:10 -07:00
Dinesh K Garg
bb004d0fe3 msm_rng: Enable/ Disable Bus bandwidth for every RNG read call
This patch adds calls to enable and disable bus bandwidth
for every RNG Read call.

Change-Id: Ia1ac31ffa79a8be2761c243eee9bf87f25422c24
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2014-07-25 19:18:35 -07:00
Linux Build Service Account
e77d502275 Merge "ASoC: msm8994: Remove internal BT SCO on 8994" 2014-07-22 10:40:40 -07:00
Linux Build Service Account
b8902b72b7 Merge "msm: kgsl: Enable frequency cycling for thermal mitigation" 2014-07-22 10:40:37 -07:00
Linux Build Service Account
1154ab1a90 Merge "ARM: dts: msm: Update the vifeed back routing" 2014-07-22 10:40:30 -07:00
Linux Build Service Account
6db63cf32d Merge "usb: dwc3-msm: Unregister bus client upon removal" 2014-07-22 10:40:29 -07:00
Linux Build Service Account
76532530d4 Merge "ARM: dts: msm: remove display bw fudge factor for msm8994" 2014-07-22 10:40:23 -07:00
Linux Build Service Account
8210752013 Merge "power: qpnp-smbcharger: remove wireless insertion work" 2014-07-22 10:40:18 -07:00
Linux Build Service Account
54f3538127 Merge "ARM: dts: msm: Enable CPR for msm8939" 2014-07-22 10:40:07 -07:00
Linux Build Service Account
80c61b0f9c Merge "ARM: dts: msm: Update CPR SW settings for msm8939" 2014-07-22 10:40:06 -07:00
Linux Build Service Account
1e723afac8 Merge "usb: phy: msm: Handle multiport suspend/resume" 2014-07-22 10:39:53 -07:00
Linux Build Service Account
f1e8dfdcf8 Merge "ASoC: wcd: perform trim for only 1.0 HW" 2014-07-22 10:39:52 -07:00
Linux Build Service Account
cae0d941a3 Merge "msm: isp: ISP driver potential outof bound fixes" 2014-07-22 10:39:45 -07:00
Linux Build Service Account
011977ae20 Merge "power: qpnp-fg: report battery resistance" 2014-07-22 10:39:33 -07:00
Linux Build Service Account
f1690b8704 Merge "power: qpnp-fg: add SRAM OCV and temperature readings" 2014-07-22 10:39:33 -07:00
Linux Build Service Account
0af4da69e9 Merge "scsi: ufs-msm-phy: fix false error message" 2014-07-21 23:20:44 -07:00
Linux Build Service Account
a89ecbd608 Merge "power: smb1360: Add logic to decode float" 2014-07-21 23:20:42 -07:00
Yeleswarapu Nagaradhesh
6b5f77a9eb ASoC: wcd: perform trim for only 1.0 HW
PMIC 1.0 hardwares need trimming of 2.2k internal resisitor.
From 2.0 HW trimming is expected to be done at Factory.
So perform trim only for 1.0 HW.

CRs-Fixed: 691749
Change-Id: Ia765962da68ece20770db24b88ce3fde6ecda104
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2014-07-22 11:01:53 +05:30
Anish Kumar
b5cd6f7ae5 ARM: dts: msm: Update the vifeed back routing
Codec clock should be enabled when vifeedback path for speaker
protection is enabled.
Change adds the routing entries to enable the codec clock for
speaker protection vi capture feedback path for 8994.

Change-Id: I8b38c3f42265307a6adc46e7f86df078b47f65fd
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-07-21 22:07:29 -07:00
Abhijeet Dharmapurikar
413244203b power: qpnp-smbcharger: remove wireless insertion work
The stark based wireless charger need not delay drawing current from
DC path. The wireless insertion work was created just to provide the
delay after the pad was detected to be present.

Remove this code.
Change-Id: I952d395fe77c6e07012f491691598b3feac1303f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2014-07-21 18:28:22 -07:00
Linux Build Service Account
eb1bce7340 Merge "msm: camera: Modify flash driver to look for new propert name" 2014-07-21 17:15:33 -07:00
Linux Build Service Account
26dc221ca7 Merge "slim_msm: support non-blocking writes from slimbus MSM controller" 2014-07-21 17:15:30 -07:00
Linux Build Service Account
a36315c46e Merge "ASoC: wcd9330: Remove the qfuse default setting" 2014-07-21 17:15:23 -07:00
Tirupathi Reddy
784841f3a6 ARM: dts: msm: Enable CPR for msm8939
Enable the CPR controller to control the APC
voltage.

Change-Id: I68fcb0b220af09ba93157673e8c6d2127f660ad4
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2014-07-22 05:16:30 +05:30
Tirupathi Reddy
fb7dfda7ad ARM: dts: msm: Update CPR SW settings for msm8939
MSM8939 has CPR for controlling voltage on VDD_APC.
Also, VDD_APC is supplied from external buck regulator.
Update voltage step_size and CPR step_quotient values
according to external buck regulator in use.

Change-Id: I31af6c26a3d1e54da5cc89f1e663d2f85f604cd9
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2014-07-22 05:16:13 +05:30
Yaniv Gardi
d52c4e89d4 scsi: ufs-msm-phy: fix false error message
This change fixes error message that falsely was printed out
unconditionally.
A fix condition is now added.

Change-Id: I8d70d7f27c7dc122ecda64bea1a51f0044047e5b
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
2014-07-22 01:26:39 +03:00
Ingrid Gallardo
40f24dfce1 ARM: dts: msm: remove display bw fudge factor for msm8994
Remove fudge factor for 8994 platforms

Change-Id: I48c22cb7e0dd83c57b7e0b02e98e6eabd87ee1e6
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2014-07-21 14:46:46 -07:00
Linux Build Service Account
528a33e396 Merge "net: danipc: Cleanup driver code" 2014-07-21 14:00:59 -07:00
Linux Build Service Account
513f0c17e8 Merge "msm: display: set up vsync_retire_handler in commit thread" 2014-07-21 14:00:54 -07:00
Linux Build Service Account
8ce79a6d9e Merge "msm: iommu: Support privileged read write mode" 2014-07-21 14:00:46 -07:00
Linux Build Service Account
9c3c543329 Merge "ARM: dts: msm: enable clk_div check based on hw version" 2014-07-21 14:00:27 -07:00
Linux Build Service Account
01c6ec278e Merge "avtimer: msm: allow driver to register to SSR framework" 2014-07-21 14:00:26 -07:00
Linux Build Service Account
6a82b5cfaa Merge "ASoC: wcd: enable EXT_PRECHRG_SEL for fast micbias rampup" 2014-07-21 14:00:21 -07:00
Linux Build Service Account
b38f0dd491 Merge "ARM: dts: msm: Add SPI Ethernet support for msm8992" 2014-07-21 14:00:15 -07:00
Linux Build Service Account
4717e08447 Merge "ARM: dts: msm: Route writeback clients to NRT Port by default." 2014-07-21 14:00:13 -07:00
Linux Build Service Account
f35808c3a7 Merge "msm: mdss: Restrict vote for bandwidth by histogram based on dts" 2014-07-21 14:00:07 -07:00
Linux Build Service Account
afb3c0d2fe Merge "arm64: Add support for DMA_ATTR_STRONGLY_ORDERED" 2014-07-21 14:00:04 -07:00
Linux Build Service Account
48a53bab13 Merge "ASoC: soc-pcm: fix the invalid access of the memory" 2014-07-21 14:00:01 -07:00
Linux Build Service Account
857fb2a126 Merge "ARM: dts: msm: enable CPR operation for VDD_APC0 and VDD_APC1 on msm8994" 2014-07-21 13:59:54 -07:00
Linux Build Service Account
9e0eeff09b Merge "ASoC: msm: fix the audio mute issue post SSR" 2014-07-21 13:59:51 -07:00
Linux Build Service Account
36c4c09874 Merge "coresight: use %pa for printing physical address" 2014-07-21 13:59:49 -07:00
Linux Build Service Account
8b49da6c7c Merge "coresight: fix uninitialized variable warning" 2014-07-21 13:59:48 -07:00
Viswanadha Raju Thotakura
1ff77d17aa msm: camera: Modify flash driver to look for new propert name
Property name for led flash and torch is modifed, change in
flash driver to support new property, also maintain
backward compatibility.

Change-Id: Id9284aed9b75dca0dbf52491a3fcceb5491a5783
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
2014-07-21 13:48:05 -07:00
Jack Pham
fc017bf32e usb: phy: msm: Handle multiport suspend/resume
On some platforms the SSPHY and HSPHY are actually shared
multi-port PHYs that are paired with separate DWC3 controllers.
In this case suspending into low power mode must not be allowed
unless all instances are suspended. Add reference counting to
keep track of when all ports have suspended before allowing PHY
to be placed in low power mode.

The approaches used for the SS versus the HS PHY are slightly
different, so the reference counting semantics differ as follows:
- The HS PHY instances can be operated more or less indepedently,
  as each port has its own set of QSCRATCH registers. The only
  exception is the PHY reset, which is managed by the primary
  instance. So the reference counter is added as a static global
  to keep track across multiple instances of when to allow reset.
- The SS PHY instances can share a single device driver instance,
  as only the primary controller QSCRATCH registers are useful.
  Both controllers can then share the same PHY device, so reference
  counting is added within the instance structure and is used to
  prevent powering off the PHY until all instances have called
  set_suspend(0).

Change-Id: Ia5a03ff711d60da84bec8bd9086b70c386de0b93
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2014-07-21 11:23:02 -07:00
David Keitel
f177133208 power: qpnp-fg: report battery resistance
Add support to report the battery resistance which
is a half float point encoded value as the following
power supply property:

  * POWER_SUPPLY_PROP_RESISTANCE

Change-Id: I6630c276579d7166a64c665cdfde99fc1d0d247e
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2014-07-21 10:29:37 -07:00
David Keitel
93090ab4bb power: qpnp-fg: add SRAM OCV and temperature readings
Add code to periodically update the readings of the following
power supply properties:

  * POWER_SUPPLY_PROP_VOLTAGE_NOW
  * POWER_SUPPLY_PROP_VOLTAGE_OCV
  * POWER_SUPPLY_PROP_TEMP
  * POWER_SUPPLY_PROP_CURRENT_NOW

The properties are updated in 30 second increments, unless
a fg_power_get_property happens prior, then a pending work
queue is canceled and the work is scheduled within 1 second
of the request.

Note that if a client abuses the userspace the work sync
will not be able to be rescheduled and thus may lead
to stale cached values.

Change-Id: I3b13c91253f67d6545a2119764098a44a86338bf
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2014-07-21 10:24:22 -07:00
Linux Build Service Account
286b0d283d Merge "ARM: dts: msm: Add dummy regulator support for msm8992" 2014-07-21 04:17:08 -07:00
Linux Build Service Account
face014889 Merge "ARM: dts: msm: Remove blsp1_uart2 device from msm8992" 2014-07-21 04:17:08 -07:00
Linux Build Service Account
4ae099e7f9 Merge "ARM: dts: msm: Fix blsp1_uart5 clock on msm8992" 2014-07-21 04:17:07 -07:00