OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoARM: dts: msm: Add reserved channel for MSM8998/SDM660/SDM630
Kiran Gunda [Mon, 17 Apr 2017 05:21:28 +0000 (10:51 +0530)]
ARM: dts: msm: Add reserved channel for MSM8998/SDM660/SDM630

Channel 511 is used for debug port on MSM8998/SDM660/SDM630
targets. Reserve the same to avoid the access from other
peripherals.

Change-Id: I928916b7d61793a07e9a3b2e1c2127a247c71730
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoMerge "msm: mdss: add checks to fail solid fill with scaling"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:51 +0000 (09:44 -0700)]
Merge "msm: mdss: add checks to fail solid fill with scaling"

7 years agoMerge "ARM: dts: msm: disable core_ctl for SDM630"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:49 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: disable core_ctl for SDM630"

7 years agoMerge "sched/core_ctl: Fix state_lock spinlock contention"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:48 +0000 (09:44 -0700)]
Merge "sched/core_ctl: Fix state_lock spinlock contention"

7 years agoMerge "drm/msm: Take the mutex before calling msm_gem_new_impl"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:47 +0000 (09:44 -0700)]
Merge "drm/msm: Take the mutex before calling msm_gem_new_impl"

7 years agoMerge "msm: mdss: dp: fix check for audio support on the sink"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:46 +0000 (09:44 -0700)]
Merge "msm: mdss: dp: fix check for audio support on the sink"

7 years agoMerge "net: rmnet_data: Add support to configure custom device name"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:45 +0000 (09:44 -0700)]
Merge "net: rmnet_data: Add support to configure custom device name"

7 years agoMerge "usb: core: Enable xhci irq after starting controller"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:44 +0000 (09:44 -0700)]
Merge "usb: core: Enable xhci irq after starting controller"

7 years agoMerge "arm64: kaslr: use callee saved register to preserve SCTLR across C call"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:44 +0000 (09:44 -0700)]
Merge "arm64: kaslr: use callee saved register to preserve SCTLR across C call"

7 years agoMerge "input: keyboard: add syscore_ops support to gpio_key driver"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:43 +0000 (09:44 -0700)]
Merge "input: keyboard: add syscore_ops support to gpio_key driver"

7 years agoMerge "devfreq_spdm: Handle spurious interrupts during bootup"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:42 +0000 (09:44 -0700)]
Merge "devfreq_spdm: Handle spurious interrupts during bootup"

7 years agoMerge "hwrng: Add quality parameter to msm-rng driver"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:41 +0000 (09:44 -0700)]
Merge "hwrng: Add quality parameter to msm-rng driver"

7 years agoMerge "f_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:40 +0000 (09:44 -0700)]
Merge "f_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled"

7 years agoMerge "ARM: dts: msm: Add support for speed-bin 2 for MSM8996v3"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:40 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: Add support for speed-bin 2 for MSM8996v3"

7 years agoMerge "ARM: dts: msm: add panel physical dimensions for truly panel"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:39 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: add panel physical dimensions for truly panel"

7 years agoMerge "ASoC: msm_sdw: Avoid initial SSR notifications at bootup"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:38 +0000 (09:44 -0700)]
Merge "ASoC: msm_sdw: Avoid initial SSR notifications at bootup"

7 years agoMerge "ASoC: wsa881x: Add mixer control to set WSA PA mute"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:37 +0000 (09:44 -0700)]
Merge "ASoC: wsa881x: Add mixer control to set WSA PA mute"

7 years agoMerge "ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:36 +0000 (09:44 -0700)]
Merge "ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot"

7 years agoMerge "ASoC: swr-wcd: Reduce latency for cold start on speaker"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:36 +0000 (09:44 -0700)]
Merge "ASoC: swr-wcd: Reduce latency for cold start on speaker"

7 years agoMerge "ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:35 +0000 (09:44 -0700)]
Merge "ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec"

7 years agoMerge "ASoC: msm_sdw: Fix random mute on speaker when device switch"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:34 +0000 (09:44 -0700)]
Merge "ASoC: msm_sdw: Fix random mute on speaker when device switch"

7 years agoMerge "ASoC: msm_sdw: Fix compander register setting for speaker"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:33 +0000 (09:44 -0700)]
Merge "ASoC: msm_sdw: Fix compander register setting for speaker"

7 years agoMerge "ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:33 +0000 (09:44 -0700)]
Merge "ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable"

7 years agoMerge "pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:32 +0000 (09:44 -0700)]
Merge "pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660"

7 years agoMerge "ASoC: audio-ext-clk: correct pinctrl info for lpass mclk"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:31 +0000 (09:44 -0700)]
Merge "ASoC: audio-ext-clk: correct pinctrl info for lpass mclk"

7 years agoMerge "ARM: dts:msm: correct clk setting for native playback on SDM660"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:30 +0000 (09:44 -0700)]
Merge "ARM: dts:msm: correct clk setting for native playback on SDM660"

7 years agoMerge "ASoC: wcd-spi: pre-allocate buffers used for transfers"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:30 +0000 (09:44 -0700)]
Merge "ASoC: wcd-spi: pre-allocate buffers used for transfers"

7 years agoMerge "ASoC: sdm660_cdc: Fix no headset remove event after SSR"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:29 +0000 (09:44 -0700)]
Merge "ASoC: sdm660_cdc: Fix no headset remove event after SSR"

7 years agoMerge "ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:28 +0000 (09:44 -0700)]
Merge "ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback"

7 years agoMerge "clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:27 +0000 (09:44 -0700)]
Merge "clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk"

7 years agoMerge "clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:26 +0000 (09:44 -0700)]
Merge "clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock"

7 years agoMerge "usb: phy: qmp: Add support for fpc re-drive chipset"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:26 +0000 (09:44 -0700)]
Merge "usb: phy: qmp: Add support for fpc re-drive chipset"

7 years agoMerge "ARM: dts: msm: Add fpc re-drive support for SDM630 QRD"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:25 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: Add fpc re-drive support for SDM630 QRD"

7 years agoMerge "ARM: dts: msm: Add fpc re-drive support for SDM660 QRD"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:24 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: Add fpc re-drive support for SDM660 QRD"

7 years agoMerge "ath10k: change log level for unknown wmi event print to debug"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:23 +0000 (09:44 -0700)]
Merge "ath10k: change log level for unknown wmi event print to debug"

7 years agoMerge "iio: adc: tadc: fix leakage problem"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:22 +0000 (09:44 -0700)]
Merge "iio: adc: tadc: fix leakage problem"

7 years agoMerge "msm: camera: cpp: Replace const by macro"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:17 +0000 (09:44 -0700)]
Merge "msm: camera: cpp: Replace const by macro"

7 years agoMerge "msm: camera: add description for laser sensor"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:16 +0000 (09:44 -0700)]
Merge "msm: camera: add description for laser sensor"

7 years agoMerge "qcom: qnovo: Fix property write out of range errors"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:14 +0000 (09:44 -0700)]
Merge "qcom: qnovo: Fix property write out of range errors"

7 years agoMerge "msm: isp: Fix ping pong mismatch issue"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:13 +0000 (09:44 -0700)]
Merge "msm: isp: Fix ping pong mismatch issue"

7 years agoMerge "msm: camera: Add error check for cmd in IOCTL."
Linux Build Service Account [Thu, 23 Mar 2017 16:44:12 +0000 (09:44 -0700)]
Merge "msm: camera: Add error check for cmd in IOCTL."

7 years agoMerge "msm: isp: update logic to reject invalid frame"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:07 +0000 (09:44 -0700)]
Merge "msm: isp: update logic to reject invalid frame"

7 years agoMerge "ARM: dts: msm: Set the rate for camss vfe clock on msm8998"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:06 +0000 (09:44 -0700)]
Merge "ARM: dts: msm: Set the rate for camss vfe clock on msm8998"

7 years agoMerge "msm: common: set clk rate when rate is INIT_RATE"
Linux Build Service Account [Thu, 23 Mar 2017 16:44:05 +0000 (09:44 -0700)]
Merge "msm: common: set clk rate when rate is INIT_RATE"

7 years agoqcom: qnovo: Fix property write out of range errors
Harry Yang [Thu, 23 Feb 2017 22:16:51 +0000 (14:16 -0800)]
qcom: qnovo: Fix property write out of range errors

Update property value ranges, in compliance with qnovo design spec.

Also, allow the user to set the parameters values in different number
base. While at it, fix the file permission values for all the
parameters to octal representation.

Change-Id: I0d0f14c22457322c7d79b95107e3cbfcd4a8a0b6
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agonet: rmnet_data: Add support to configure custom device name
Subash Abhinov Kasiviswanathan [Fri, 24 Feb 2017 01:24:42 +0000 (18:24 -0700)]
net: rmnet_data: Add support to configure custom device name

rmnet_data assigns device name by the order they are created.
This causes problems which multiple processes are trying to
create devices and leads to random device names.

Assign device name as specified by user.

CRs-Fixed: 2018785
Change-Id: Iab8e053c6ccacbeedaa7763e760d0c12e756b5d0
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
7 years agodrm/msm: Take the mutex before calling msm_gem_new_impl
Jordan Crouse [Wed, 22 Mar 2017 16:03:17 +0000 (10:03 -0600)]
drm/msm: Take the mutex before calling msm_gem_new_impl

Amongst its other duties, msm_gem_new_impl adds the newly created
GEM object to the shared inactive list which may also be actively
modifiying the list during submission.  All the paths to modify
the list are protected by the mutex except for the one through
msm_gem_import which can end up causing list corruption.

Change-Id: Ic0dedbad6b68d4d3db726e0d598d4d21af4b328c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoarm64: kaslr: use callee saved register to preserve SCTLR across C call
Ard Biesheuvel [Mon, 21 Mar 2016 17:35:11 +0000 (18:35 +0100)]
arm64: kaslr: use callee saved register to preserve SCTLR across C call

The KASLR code incorrectly expects the contents of x18 to be preserved
across a call into C code, and uses it to stash the contents of SCTLR_EL1
before enabling the MMU. If the MMU needs to be disabled again to create
the randomized kernel mapping, x18 is written back to SCTLR_EL1, which is
likely to crash the system if x18 has been clobbered by kasan_early_init()
or kaslr_early_init(). So use x22 instead, which is not in use so far in
head.S

Change-Id: I6a79b0c3b2e2306d080406c7f617483f6f1519b0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-commit: d5e5743797adc26e09db262e7a4b6b81d8c0f45c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[neeraju@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agodevfreq_spdm: Handle spurious interrupts during bootup
Dilip Kota [Wed, 16 Dec 2015 12:29:36 +0000 (17:59 +0530)]
devfreq_spdm: Handle spurious interrupts during bootup

Terminate the interrupts triggered before the intitalisation
itself.

Change-Id: I7c005134ecbdae38b58e4312f9e294f5b59c2510
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
7 years agoARM: dts: msm: Add support for speed-bin 2 for MSM8996v3
Odelu Kukatla [Sun, 13 Nov 2016 07:15:07 +0000 (12:45 +0530)]
ARM: dts: msm: Add support for speed-bin 2 for MSM8996v3

Add speed-bin 2 to support the fmax of 1.9GHz and 1.5GHz
for perf and power clusters respectively.
Also add speed-bin 2 to support the fmax of 560MHz for GPU clock.

Change-Id: I9bc547b0f8a2f2c7cad04ec8c967ed580755ae75
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
7 years agoinput: keyboard: add syscore_ops support to gpio_key driver
Shantanu Jain [Thu, 5 Jun 2014 08:53:04 +0000 (14:23 +0530)]
input: keyboard: add syscore_ops support to gpio_key driver

Add syscore_ops support for gpio-keys driver to service
wakeable irq handler before the CPUs resume after
suspend state.

Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Change-Id: I7fe266661abfd469c68309a66aed0cb0fa2de33e

7 years agof_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled
Vijayavardhan Vennapusa [Tue, 21 Mar 2017 08:01:41 +0000 (13:31 +0530)]
f_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled

When CONFIG_USB_F_QCRNDIS is enabled to support RNDIS over BAM2BAM
to IPA, it needs to compile rndis.c driver as well. Otherwise
will see compilation error. Hence compile rndis.c along with f_qc_rndis.c
when CONFIG_USB_F_QCRNDIS is enabled. Disable CONFIG_USB_F_GSI as both
configs can't be enabled at a time as that would cause compilation errors
and warnings seen due to same misc device name registration.

Change-Id: Ie11fba25be53e158811b05c7054bbdf126689c36
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoASoC: msm_sdw: Avoid initial SSR notifications at bootup
Laxminath Kasam [Sun, 19 Mar 2017 10:50:24 +0000 (16:20 +0530)]
ASoC: msm_sdw: Avoid initial SSR notifications at bootup

In MSM soundwire codec, avoid initial bootup SSR
notifications after registration of notifier.

Change-Id: I06b1ffedf3b7247baa1d3ffe92a66584a321e624
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: wsa881x: Add mixer control to set WSA PA mute
Laxminath Kasam [Sun, 19 Mar 2017 09:38:17 +0000 (15:08 +0530)]
ASoC: wsa881x: Add mixer control to set WSA PA mute

Add mixer control to allow set WSA speaker PGA mute
when required for any usecase.

Change-Id: Ic02a5973ec25b4c5b613b42129fdab9c0d7a2133
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot
Laxminath Kasam [Sun, 19 Mar 2017 05:05:45 +0000 (10:35 +0530)]
ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot

After boot, insert headphone and play 44.1 clip fails to play
first time sometimes. Since at bootup MCLK is acquired at
9.6MHz and not reset. And for 44.1MHz, request for 11.2896MHz
is done causes overwrite of frequency request at DSP which is not
allowed and causes playback to fail. At bootup regacache call for
digital codec result in additional vote for MCLK if int_mclk0_enabled
flag is false. Change the order in device_down call from analog codec
and also avoid notifier call for SUBSYS_DOWN at bootup.

Change-Id: Ifc0540826d38c5adf8b068ea87d5a5f71a4ac674
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: swr-wcd: Reduce latency for cold start on speaker
Laxminath Kasam [Mon, 13 Mar 2017 13:40:36 +0000 (19:10 +0530)]
ASoC: swr-wcd: Reduce latency for cold start on speaker

In SDM660 WSA speaker using MSM over soundwire version,
observe high cold start latency. As interrupt is disabled,
broadcast ack is not received which results in 200ms higher
latency. Reduce latency impact by blocking only for 10ms
for MSM over soundwire version.

Change-Id: Ic0e659d7c443c1462aba4da2f8bf9471031d02d2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec
Laxminath Kasam [Tue, 14 Mar 2017 07:07:20 +0000 (12:37 +0530)]
ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec

Enable digital clock bits before digital codec reset.
Also update HD2 settings as per latest HW sequences.

CRs-Fixed: 2018603
Change-Id: I270a324ffebc8b84ef23ff6b209efcde724f9b37
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agohwrng: Add quality parameter to msm-rng driver
AnilKumar Chimata [Fri, 10 Jul 2015 12:16:30 +0000 (17:46 +0530)]
hwrng: Add quality parameter to msm-rng driver

With the recent changes in upstream, certain parameters
are updated in the core random number generator driver.
So update HW rng driver to provide the quality estimation
of true entropy in RNG's bitstream. Value 700 corresponds
to 70% an arbitrary value, which is taken from 3.10.

Change-Id: I0d27e44a05473bcbc84af82c79565f87329b9ae7
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
7 years agoASoC: msm_sdw: Fix random mute on speaker when device switch
Laxminath Kasam [Sat, 18 Mar 2017 07:07:30 +0000 (12:37 +0530)]
ASoC: msm_sdw: Fix random mute on speaker when device switch

Observe random mute on speaker during device switch on
secondary images. Avoid reading previous register
read when SWR slave read and overwrite of previous register
when SWR slave write, by adjusting delays in respective APIs.

Change-Id: I302968ad8e774598c8414e05ba669f90bf39b82c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: msm_sdw: Fix compander register setting for speaker
Laxminath Kasam [Wed, 15 Mar 2017 16:34:26 +0000 (22:04 +0530)]
ASoC: msm_sdw: Fix compander register setting for speaker

Observe compander for one speaker is not working.
Update offset in config compander API to set compander registers
as expected.

CRs-Fixed: 2019754
Change-Id: Ib75e01016e6a9fd39a953da40f36babc3beaec13
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: wcd-mbhc: Fix list del entry issue on mbhc variable
Laxminath Kasam [Thu, 16 Mar 2017 07:31:33 +0000 (13:01 +0530)]
ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable

Without re-init timeout completion of btn_press object
waiting in correct_plug_swch work, if mbhc_deinit and mbhc_start
happens again, it results in crash. In mbhc_deinit,
cancel correct_plug_swch work to handle this.

CRs-Fixed: 2018976
Change-Id: Ic26edea18f5a8554f4dff3bf6ad49ec039493a64
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agopinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660
Meng Wang [Tue, 14 Mar 2017 09:16:30 +0000 (17:16 +0800)]
pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660

Register offset for LPI_GPIO_16/17 should be 0x5040/0x5050.
Correct the offset to make sure LPI_GPIO_16/17 work.

CRs-Fixed: 2019608
Change-Id: Iac0bc2b434b23094c297e69eabea4d72bfd1eb8b
Signed-off-by: Meng Wang <mwang@codeaurora.org>
7 years agoASoC: audio-ext-clk: correct pinctrl info for lpass mclk
Meng Wang [Tue, 7 Mar 2017 01:44:05 +0000 (09:44 +0800)]
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>
7 years agoARM: dts:msm: correct clk setting for native playback on SDM660
Meng Wang [Tue, 7 Mar 2017 01:28:17 +0000 (09:28 +0800)]
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>
7 years agoASoC: wcd-spi: pre-allocate buffers used for transfers
Bhalchandra Gajare [Wed, 15 Mar 2017 00:03:04 +0000 (17:03 -0700)]
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>
7 years agoASoC: sdm660_cdc: Fix no headset remove event after SSR
Laxminath Kasam [Fri, 10 Mar 2017 12:46:57 +0000 (18:16 +0530)]
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>
7 years agoASoc: msm: remove capture property for SLIMBUS_6 Hostless playback
Meng Wang [Fri, 10 Mar 2017 01:46:30 +0000 (09:46 +0800)]
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>
7 years agoclk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk
Devesh Jhunjhunwala [Wed, 31 Aug 2016 00:26:30 +0000 (17:26 -0700)]
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>
7 years agoclk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock
Deepak Katragadda [Thu, 24 Mar 2016 22:15:54 +0000 (15:15 -0700)]
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>
7 years agoath10k: change log level for unknown wmi event print to debug
Rakesh Pillai [Tue, 14 Mar 2017 09:51:30 +0000 (15:21 +0530)]
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>
7 years agoMerge "diag: Add mutex protection while closing diag channels"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:35 +0000 (21:30 -0700)]
Merge "diag: Add mutex protection while closing diag channels"

7 years agoMerge "firmware: qcom: tz_log: update datatype for int_count"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:34 +0000 (21:30 -0700)]
Merge "firmware: qcom: tz_log: update datatype for int_count"

7 years agoMerge "drivers: soc: qcom: Remove prints from the idle path"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:32 +0000 (21:30 -0700)]
Merge "drivers: soc: qcom: Remove prints from the idle path"

7 years agoMerge "soc: qcom: Do not clear segments if pil boot failed in memory allocation"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:31 +0000 (21:30 -0700)]
Merge "soc: qcom: Do not clear segments if pil boot failed in memory allocation"

7 years agoMerge "qseecom: check img_len and mdt_len against ion buf len"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:30 +0000 (21:30 -0700)]
Merge "qseecom: check img_len and mdt_len against ion buf len"

7 years agoMerge "ARM: dts: msm: Change ipa polling parameter in SDM660/630"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:29 +0000 (21:30 -0700)]
Merge "ARM: dts: msm: Change ipa polling parameter in SDM660/630"

7 years agoMerge "pmic-voter: move to common header location"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:27 +0000 (21:30 -0700)]
Merge "pmic-voter: move to common header location"

7 years agoMerge "soc: qcom: spcom: spcom_device_read() check filp->private_data"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:24 +0000 (21:30 -0700)]
Merge "soc: qcom: spcom: spcom_device_read() check filp->private_data"

7 years agoMerge "usb: pd: Determine dual_role writeable based on PD capability"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:23 +0000 (21:30 -0700)]
Merge "usb: pd: Determine dual_role writeable based on PD capability"

7 years agoMerge "msm: mdss: Add lock to avoid release of active session in rotator"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:22 +0000 (21:30 -0700)]
Merge "msm: mdss: Add lock to avoid release of active session in rotator"

7 years agoMerge "ARM: dts: msm: Add DDR52 bus speed mode for SDM660"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:21 +0000 (21:30 -0700)]
Merge "ARM: dts: msm: Add DDR52 bus speed mode for SDM660"

7 years agoMerge "ARM: dts: msm: Enable midframe sampling timer on SDM630"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:20 +0000 (21:30 -0700)]
Merge "ARM: dts: msm: Enable midframe sampling timer on SDM630"

7 years agoMerge "ASoC: msm: add CPE widgets to ignore suspend list"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:12 +0000 (21:30 -0700)]
Merge "ASoC: msm: add CPE widgets to ignore suspend list"

7 years agoMerge "ASoC: msm8998: add mixer controls for MI2S bit format"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:11 +0000 (21:30 -0700)]
Merge "ASoC: msm8998: add mixer controls for MI2S bit format"

7 years agoMerge "wil6210: add sysfs for thermal throttling configuration"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:10 +0000 (21:30 -0700)]
Merge "wil6210: add sysfs for thermal throttling configuration"

7 years agoMerge "wil6210: align to latest auto generated wmi.h"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:09 +0000 (21:30 -0700)]
Merge "wil6210: align to latest auto generated wmi.h"

7 years agoMerge "security: pfe: Adapt ICE engine setup call for eMMC"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:08 +0000 (21:30 -0700)]
Merge "security: pfe: Adapt ICE engine setup call for eMMC"

7 years agoMerge "clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rate"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:06 +0000 (21:30 -0700)]
Merge "clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rate"

7 years agoMerge "regulator: cpr3-hmss: Increase fuse combo count"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:04 +0000 (21:30 -0700)]
Merge "regulator: cpr3-hmss: Increase fuse combo count"

7 years agoMerge "regulator: cpr3-mmss: Increase fuse combo count"
Linux Build Service Account [Wed, 22 Mar 2017 04:30:03 +0000 (21:30 -0700)]
Merge "regulator: cpr3-mmss: Increase fuse combo count"

7 years agoARM: dts: msm: disable core_ctl for SDM630
Pavankumar Kondeti [Tue, 21 Mar 2017 08:57:50 +0000 (14:27 +0530)]
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>
7 years agocore_ctl: Bail out early from the boost API when core_ctl is disabled
Pavankumar Kondeti [Tue, 21 Mar 2017 08:51:21 +0000 (14:21 +0530)]
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>
7 years agocore_ctl: Add a kernel parameter to disable core_ctl
Pavankumar Kondeti [Tue, 21 Mar 2017 08:30:09 +0000 (14:00 +0530)]
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>
7 years agousb: phy: qmp: Add support for fpc re-drive chipset
Liangliang Lu [Fri, 24 Feb 2017 10:53:52 +0000 (18:53 +0800)]
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>
7 years agoiio: adc: tadc: fix leakage problem
Abhijeet Dharmapurikar [Mon, 20 Mar 2017 21:25:57 +0000 (14:25 -0700)]
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>
7 years agoMerge "profiler: Add a communication interface between userspace and tz services"
Linux Build Service Account [Tue, 21 Mar 2017 20:29:06 +0000 (13:29 -0700)]
Merge "profiler: Add a communication interface between userspace and tz services"

7 years agoMerge "msm_11ad: enable PCIe L1/L1SS during 11AD device reset"
Linux Build Service Account [Tue, 21 Mar 2017 20:29:05 +0000 (13:29 -0700)]
Merge "msm_11ad: enable PCIe L1/L1SS during 11AD device reset"

7 years agoMerge "drivers: GICv3: Check IRQ state in gic_set_affinity()"
Linux Build Service Account [Tue, 21 Mar 2017 20:29:04 +0000 (13:29 -0700)]
Merge "drivers: GICv3: Check IRQ state in gic_set_affinity()"

7 years agoMerge "NFC: Disable i2c write failure log"
Linux Build Service Account [Tue, 21 Mar 2017 20:29:03 +0000 (13:29 -0700)]
Merge "NFC: Disable i2c write failure log"

7 years agoMerge "iommu: interchange the vmid order passed to hyp_assign"
Linux Build Service Account [Tue, 21 Mar 2017 20:29:02 +0000 (13:29 -0700)]
Merge "iommu: interchange the vmid order passed to hyp_assign"