Commit graph

586301 commits

Author SHA1 Message Date
Meng Wang
3f99ccf50d ASoC: audio-ext-clk: correct pinctrl info for lpass mclk
Pinctrl info is set to ap mclk for all the client. Remove
the wrong assignment.

Change-Id: I95fb16367157fa0cb47a1a25290eadb4472abb51
CRs-Fixed: 2015665
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:29:43 -07:00
Meng Wang
d5e2207b82 ARM: dts:msm: correct clk setting for native playback on SDM660
LPI GPIO 18 is used as a clock for native playback for wcd9335
on SDM660. Correct it as lpass mclk, not ap clk.

CRs-Fixed: 2015665
Change-Id: I1fa5f2dc314a73d139aacbb9689e9a161b9a54ef
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:29:23 -07:00
Bhalchandra Gajare
554b0acd0a ASoC: wcd-spi: pre-allocate buffers used for transfers
Currently, the buffers used for transfers are allocated each time
the transfer is requested. This causes memory allocation failure
for higher order allocations possibly due to fragmentation or no
higher order blocks being available. Fix this by allocating the
buffers during the component bind and re-use the buffers across
transfers.

CRs-fixed: 2014478
Change-Id: I48212678e39d089fbb903d195faf45436f358f4b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2017-03-22 00:29:01 -07:00
Laxminath Kasam
1650f182b6 ASoC: sdm660_cdc: Fix no headset remove event after SSR
Restart mechanical detection as part of SSR device_up
functionality to receive headset events after SSR.

CRs-Fixed: 2015351
Change-Id: I359c701b8c7c086c087ab5fa7714b6bd3f7c4708
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:25:34 -07:00
Meng Wang
0ba15ea7a7 ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback
Backend SLIMBUS_6 Hostless Playback only supports playback, not capture.
Remove capture property to avoid invalid access.

Change-Id: I7cc426a4badb50fbd7e83454fa89e3a0f2a89c23
CRs-Fixed: 2014489
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:23:51 -07:00
Devesh Jhunjhunwala
96e7d2f66e clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk
Add the pinctrl clock for ln_bb_clk to the GCC driver
for MSM8996.

CRs-Fixed: 1063062
Change-Id: If85a0dbb26e350588cbd6614c032bf208a205be2
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2017-03-22 00:23:24 -07:00
Deepak Katragadda
ab0349c601 clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock
Add support for additional frequencies for the qspi_ser_clk_src
on msm8996.

Change-Id: I4efa0ad4dc3f68a0c54bd4cf7ee77b4c78be4be1
CRs-Fixed: 994014
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2017-03-22 00:17:10 -07:00
Mukesh Kumar Savaliya
d34b191ac1 msm_serial_hs: modify uart driver to prevent race between timer calls
In some of the cases when UART submits sps transfer request, BAM finishes
transfer quickly. This results into deletion of Tx timeout timer from an
ISR context whereas in actual timer is not yet started. In such cases
del_timer and mod_timer are meeting to a race where mod_timer finds a
NULL handle due to deletion by del_timer.

Change the timer call sequence to submit the timer first and then do a
BAM transfer.

Change-Id: I1d75a43d928776eb24752fd97d0ef31e0d5b6a51
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-03-22 12:16:16 +05:30
Vijayavardhan Vennapusa
0b3e441877 ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm660
On SDM660, there is a HW bug that could lead to chip damage if
the 3.1V rail (normally provided by PM660 LDO7B) is turned on
while the 1.8V (LDO10A) rail is off. A simple workaround is to
ensure that LDO10A is turned on prior to LDO7B. Achieve this by
making pm660_l10 the parent-supply of the pm6601_l7 regulator.

Change-Id: I748d2b8526066e746002ad007789c10422c12c68
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-03-22 11:55:47 +05:30
Xu Yang
bd26112bb1 msm: mdss: initialize external BL level when fb probe
Initialize external backlight level to -1 when fb probe.
This is to make sure the external backlight level is
invalid the first time overlay kickoff.

CRs-Fixed: 2021142

Change-Id: I973b184903cdb5b378326b23ca5c958e4b868c76
Signed-off-by: Xu Yang <yangxu@codeaurora.org>
2017-03-21 22:48:22 -07:00
Rakesh Pillai
fa3bbdac23 ath10k: change log level for unknown wmi event print to debug
Unknown WMI events are being printed with log level warning.
Change the log level for the unknown wmi event print to debug.

CRs-Fixed: 2019156
Change-Id: Ice39487c698462d6c845dab2ede93f5c856364c0
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-03-21 22:46:56 -07:00
Linux Build Service Account
630218f710 Merge "diag: Add mutex protection while closing diag channels" 2017-03-21 21:30:35 -07:00
Linux Build Service Account
e084f910fc Merge "firmware: qcom: tz_log: update datatype for int_count" 2017-03-21 21:30:33 -07:00
Linux Build Service Account
afc27e8460 Merge "drivers: soc: qcom: Remove prints from the idle path" 2017-03-21 21:30:32 -07:00
Linux Build Service Account
db71be31d5 Merge "soc: qcom: Do not clear segments if pil boot failed in memory allocation" 2017-03-21 21:30:30 -07:00
Linux Build Service Account
6887b6aad3 Merge "qseecom: check img_len and mdt_len against ion buf len" 2017-03-21 21:30:29 -07:00
Linux Build Service Account
63739565ad Merge "ARM: dts: msm: Change ipa polling parameter in SDM660/630" 2017-03-21 21:30:28 -07:00
Linux Build Service Account
c65465727b Merge "pmic-voter: move to common header location" 2017-03-21 21:30:26 -07:00
Linux Build Service Account
0529101684 Merge "soc: qcom: spcom: spcom_device_read() check filp->private_data" 2017-03-21 21:30:24 -07:00
Linux Build Service Account
0fb8a4413c Merge "usb: pd: Determine dual_role writeable based on PD capability" 2017-03-21 21:30:23 -07:00
Linux Build Service Account
13ad7308cb Merge "msm: mdss: Add lock to avoid release of active session in rotator" 2017-03-21 21:30:22 -07:00
Linux Build Service Account
6d794adaa2 Merge "ARM: dts: msm: Add DDR52 bus speed mode for SDM660" 2017-03-21 21:30:21 -07:00
Linux Build Service Account
fd3a1144c5 Merge "ARM: dts: msm: Enable midframe sampling timer on SDM630" 2017-03-21 21:30:20 -07:00
Linux Build Service Account
79e992c149 Merge "ASoC: msm: add CPE widgets to ignore suspend list" 2017-03-21 21:30:11 -07:00
Linux Build Service Account
2d2b57cdd0 Merge "ASoC: msm8998: add mixer controls for MI2S bit format" 2017-03-21 21:30:10 -07:00
Linux Build Service Account
aba133a2c4 Merge "wil6210: add sysfs for thermal throttling configuration" 2017-03-21 21:30:09 -07:00
Linux Build Service Account
dbc5507289 Merge "wil6210: align to latest auto generated wmi.h" 2017-03-21 21:30:08 -07:00
Linux Build Service Account
c3bae3e0a6 Merge "security: pfe: Adapt ICE engine setup call for eMMC" 2017-03-21 21:30:07 -07:00
Linux Build Service Account
9bcb914dd2 Merge "clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rate" 2017-03-21 21:30:06 -07:00
Linux Build Service Account
719effa8a2 Merge "regulator: cpr3-hmss: Increase fuse combo count" 2017-03-21 21:30:03 -07:00
Linux Build Service Account
321fb5e48e Merge "regulator: cpr3-mmss: Increase fuse combo count" 2017-03-21 21:30:03 -07:00
Pavankumar Kondeti
16aa0854d5 ARM: dts: msm: disable core_ctl for SDM630
core_ctl is needed for SDM660 but not for SDM630. Both targets
share the same defconfig. So it can not be compiled out. Use
core_ctl_disable_cpumask kernel parameter to disable core_ctl
for SDM630.

Change-Id: I35883ac6c03d13268d351fdc707a54cec8569ed3
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-03-22 09:37:33 +05:30
Pavankumar Kondeti
2ab7675364 core_ctl: Bail out early from the boost API when core_ctl is disabled
core_ctl can be completely disabled from a kernel parameter now.
Add a check to bail out early from the boost API.

Change-Id: Ib825500b0cb2c06af2cfcb82e5d79f91e9dd7b3b
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-03-22 09:37:33 +05:30
Pavankumar Kondeti
2d328380d9 core_ctl: Add a kernel parameter to disable core_ctl
Add a kernel parameter called "core_ctl_disable_cpumask" to
specify the CPUs for which core_ctl is not needed. As
core_ctl operates on a cluster basis, all of the CPUs in a
given cluster must be specified to disable core_ctl on that
cluster.

Change-Id: Idfdc5b3aa9f54bafe20489e5ded9d96da6eff21c
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-03-22 09:37:33 +05:30
Liangliang Lu
41dcf70d69 usb: phy: qmp: Add support for fpc re-drive chipset
In the cases that have FPC cable between main board and sub-board, USB
connector located on sub-board, add re-drive chipset on sub-board to
make sure the signal of rx/tx for super-speed is good enough.

Change-Id: I4a778b0eb6ba43a35a88425f2279041ba038da95
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2017-03-22 09:14:07 +08:00
Abhijeet Dharmapurikar
ecbdcaa216 iio: adc: tadc: fix leakage problem
There is a leakage path in the TADC block while the device is shutdown
or is in deep sleep mode. To fix this hw problem, the driver needs to
disable hw conversions and enable direct test mode while charger is
plugged out, kernel goes to suspend or device shuts down. The driver
needs to undo those changes when charger is plugged in, kernel resumes
or device powers up.

Moreover while disabling hw conversions it is advisable to wait until
the current conversion is complete.

To realize this
* create a tadc_disable_votable, where the three usecases viz. charger
  presence, suspend/resume and shutdown will vote. Enabling it will
  disable hw conversions and enable direct test mode and vice versa for
  disabling case.
* update complete to complete all since the disable path may be waiting
  for conversion to complete.
* create a power supply notifier hook to get the usb presence/absence
  notifications.
* add suspend,resume and shutdown driver callbacks that vote for
  enabling/disabling tadc.
* prevent more requests coming in when the tadc is disabled.
* skip printing an error reading a channel for requests coming after
  tadc is disabled. Return -ENODATA error for these situations.
* since we are introducing a secure write well beyond 0x3652, update the
  code to treat everything beyond 0x3652 as locked.

CRs-Fixed: 2021456
Change-Id: Ifa92764d11f0b717558f3b7169313f5bcb1f507e
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-03-21 17:22:16 -07:00
Linux Build Service Account
c1ef16be6d Merge "profiler: Add a communication interface between userspace and tz services" 2017-03-21 13:29:06 -07:00
Linux Build Service Account
0cbb4359bb Merge "msm_11ad: enable PCIe L1/L1SS during 11AD device reset" 2017-03-21 13:29:04 -07:00
Linux Build Service Account
5a54ca071c Merge "drivers: GICv3: Check IRQ state in gic_set_affinity()" 2017-03-21 13:29:03 -07:00
Linux Build Service Account
09ddd6a693 Merge "NFC: Disable i2c write failure log" 2017-03-21 13:29:03 -07:00
Linux Build Service Account
b4c85a83b1 Merge "iommu: interchange the vmid order passed to hyp_assign" 2017-03-21 13:29:02 -07:00
Linux Build Service Account
202f816129 Merge "msm: mdss: fix race condition in mdp debugfs" 2017-03-21 13:29:01 -07:00
Linux Build Service Account
f4ec231edf Merge "regulator: cpr3: Use scaled gate count for aging measurements" 2017-03-21 13:29:00 -07:00
Linux Build Service Account
020e6e02af Merge "ARM: dts: msm: set VDD_APCC CPR IRQ affinity for CPU0/1 on msm8996pro" 2017-03-21 13:28:59 -07:00
Linux Build Service Account
bf0c24864a Merge "ARM: dts: msm: reduce CPU LDO headroom voltage for msm8996pro" 2017-03-21 13:28:58 -07:00
Linux Build Service Account
b88bf593cd Merge "ARM: dts: msm: update APCC/GFX CPR regulator configuration for msm8996pro" 2017-03-21 13:28:55 -07:00
Linux Build Service Account
3ba6a45bc5 Merge "ARM: dts: msm: Add APC CPR configuration for MSM8996 speed-bin 2" 2017-03-21 13:28:54 -07:00
Linux Build Service Account
9f7e569e9f Merge "power: qcom: Modify APM timeout value for msm8953" 2017-03-21 13:28:53 -07:00
Linux Build Service Account
c50fa5a158 Merge "regulator: spm-regulator: Fix the usage of the 'uV' variable" 2017-03-21 13:28:51 -07:00
Linux Build Service Account
75dc6ab1e7 Merge "media: platform: msm: dvb: video frame event notification changes" 2017-03-21 13:28:51 -07:00