OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
8 years agoMerge "msm: gsi: fix memory corruption from debugfs"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:06 +0000 (12:42 -0700)]
Merge "msm: gsi: fix memory corruption from debugfs"

8 years agoMerge "ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:04 +0000 (12:42 -0700)]
Merge "ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt"

8 years agoMerge "soc: qcom: irq-helper: Add header file of irq-helper"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:02 +0000 (12:42 -0700)]
Merge "soc: qcom: irq-helper: Add header file of irq-helper"

8 years agoMerge "ARM: dts: msm: Update TLMM base address for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:01 +0000 (12:42 -0700)]
Merge "ARM: dts: msm: Update TLMM base address for msmfalcon"

8 years agoMerge "pinctrl: qcom: Update TLMM configuration for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:00 +0000 (12:42 -0700)]
Merge "pinctrl: qcom: Update TLMM configuration for msmfalcon"

8 years agoMerge "pinctrl: qcom: Update SDC pins for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:00 +0000 (12:42 -0700)]
Merge "pinctrl: qcom: Update SDC pins for msmfalcon"

8 years agoMerge "ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:58 +0000 (12:41 -0700)]
Merge "ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt"

8 years agoMerge "usb: phy: qusb: Fix typo with emulation related property name"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:57 +0000 (12:41 -0700)]
Merge "usb: phy: qusb: Fix typo with emulation related property name"

8 years agoMerge "ASoC: msm: qdsp6v2: set correct loopback mode"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:57 +0000 (12:41 -0700)]
Merge "ASoC: msm: qdsp6v2: set correct loopback mode"

8 years agoMerge "ARM: msmcortex_defconfig: Enable NCM function driver"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:56 +0000 (12:41 -0700)]
Merge "ARM: msmcortex_defconfig: Enable NCM function driver"

8 years agoMerge "ASoC: wcd9335: Configure DMIC clock rate for ECPP path"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:55 +0000 (12:41 -0700)]
Merge "ASoC: wcd9335: Configure DMIC clock rate for ECPP path"

8 years agoMerge "drivers: mfd: wcd9xxx: Add support to configure dmic clock"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:55 +0000 (12:41 -0700)]
Merge "drivers: mfd: wcd9xxx: Add support to configure dmic clock"

8 years agoMerge "defconfig: msmcortex: Enable G-Link SPI Transport driver"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:53 +0000 (12:41 -0700)]
Merge "defconfig: msmcortex: Enable G-Link SPI Transport driver"

8 years agoMerge "ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt"

8 years agoMerge "soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport"

8 years agomsm: gsi: fix memory corruption from debugfs
Skylar Chang [Wed, 3 Aug 2016 01:16:59 +0000 (18:16 -0700)]
msm: gsi: fix memory corruption from debugfs

Fix to GSI reset stats logic to clear the correct stats per channel

Change-Id: I94ae8c769ec2868a291e75a2f47c85bd8a449937
CRs-Fixed: 1046484
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
8 years agoMerge "arm64: Select reset controller framework for MSM"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:55 +0000 (23:22 -0700)]
Merge "arm64: Select reset controller framework for MSM"

8 years agoMerge "NFC: IRQ gpio usage modification in nfc_read"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "NFC: IRQ gpio usage modification in nfc_read"

8 years agoMerge "ARM: dts: msm: Fix QOS settings for Venus on msmcobalt"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: Fix QOS settings for Venus on msmcobalt"

8 years agoMerge "msm: vidc: Fix decoder output buffer size issue"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:53 +0000 (23:22 -0700)]
Merge "msm: vidc: Fix decoder output buffer size issue"

8 years agoMerge "msm: ipa: Neutrino IPA offload support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:52 +0000 (23:22 -0700)]
Merge "msm: ipa: Neutrino IPA offload support"

8 years agoMerge "ARM: dts: msm: enabling dynamic FPS for nt35597 video panel"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:51 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: enabling dynamic FPS for nt35597 video panel"

8 years agoMerge "msm: kgsl: Allow 0 as a valid ion file descriptor"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:47 +0000 (23:22 -0700)]
Merge "msm: kgsl: Allow 0 as a valid ion file descriptor"

8 years agoMerge "msm: kgsl: Make VBIF register dump more generic"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:45 +0000 (23:22 -0700)]
Merge "msm: kgsl: Make VBIF register dump more generic"

8 years agoMerge "msm: crypto: Fix integer over flow check in qcedev driver"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:44 +0000 (23:22 -0700)]
Merge "msm: crypto: Fix integer over flow check in qcedev driver"

8 years agoMerge "qcom: ssr: Fix possible overflow when copying firmware name"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "qcom: ssr: Fix possible overflow when copying firmware name"

8 years agoMerge "msm: vidc: Add Override QP extradata support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "msm: vidc: Add Override QP extradata support"

8 years agoMerge "qseecom: Fix ion memory issue during unload app failure"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:40 +0000 (23:22 -0700)]
Merge "qseecom: Fix ion memory issue during unload app failure"

8 years agoMerge "msm: mdss: free the correct layer_list in compat_atomic_commit"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:39 +0000 (23:22 -0700)]
Merge "msm: mdss: free the correct layer_list in compat_atomic_commit"

8 years agoMerge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:38 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt"

8 years agoARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt
David Collins [Wed, 3 Aug 2016 23:26:38 +0000 (16:26 -0700)]
ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt

Hardware characterization has shown that some parts require
higher voltages in order to operate consistently.  Increase
the ceiling voltage for all corners so that they are able to
operate at higher voltages.  This applies to all CPR revisions
except 0.

Change-Id: Ie9d4e825e5c6040036642cdaf22d1f67b6129685
CRs-Fixed: 1050071
Signed-off-by: David Collins <collinsd@codeaurora.org>
8 years agosoc: qcom: irq-helper: Add header file of irq-helper
Runmin Wang [Fri, 5 Aug 2016 20:38:00 +0000 (13:38 -0700)]
soc: qcom: irq-helper: Add header file of irq-helper

Add header file of irq-helper to export black_list on/off api to
other module.

CRs-Fixed: 1051104
Change-Id: I4737975961b18f1095e3cd78d07a2bca22931291
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
8 years agodefconfig: Enable irq-helper on msmcobalt
Runmin Wang [Sat, 6 Aug 2016 00:02:22 +0000 (17:02 -0700)]
defconfig: Enable irq-helper on msmcobalt

Enable irq-helper on msmcobalt to export apis for user space.

CRs-Fixed: 1051104
Change-Id: I7a623463a142a4db1db7247cf7c5dfeb5b99283c
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
8 years agosoc: qcom: irq-helper: Fix spelling mistake
Runmin Wang [Sat, 6 Aug 2016 00:00:04 +0000 (17:00 -0700)]
soc: qcom: irq-helper: Fix spelling mistake

Change koject to kobject to resolve compilation error.

CRs-Fixed: 1051104
Change-Id: I642d5d4adc6978ddfa84f6d9dc4ae6428efc7894
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
8 years agoregulator: cpr3-mmss-regulator: add support for force highest corner fuse
David Collins [Wed, 3 Aug 2016 23:17:42 +0000 (16:17 -0700)]
regulator: cpr3-mmss-regulator: add support for force highest corner fuse

Add support for the MSMCOBALT force highest corner fuse.  This
fuse is set on parts which can only operate consistently when
the highest corner's voltage is applied to all of the lower
corners.

Change-Id: Ibeef761044deea375dc7684c0a160609b610b8f6
CRs-Fixed: 1050071
Signed-off-by: David Collins <collinsd@codeaurora.org>
8 years agousb: phy: qusb: Fix typo with emulation related property name
Mayank Rana [Fri, 5 Aug 2016 17:44:49 +0000 (10:44 -0700)]
usb: phy: qusb: Fix typo with emulation related property name

Driver is using "qcom,emu-init-seq" for finding length of property
but using "qcom,qemu-init-seq" instead of "qcom,emu-init-seq" to
get passed values from device tree. With this, length of property
comes as expected but values are not received. This results into
programming zeros as values with offset as zero instead of expected
<value, offset> passed through devicetree.

CRs-Fixed: 1051115
Change-Id: I1809fcef844d275175814e636591b87e91432609
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
8 years agoARM: dts: msm: Enable the GPU QDSS STM for msmcobalt
Jonathan Wicks [Tue, 26 Jul 2016 18:23:17 +0000 (12:23 -0600)]
ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt

Add the QDSS STM property to the device tree so
that data can be logged from the GPU to the debug
bus when available.

CRs-Fixed: 1031648
Change-Id: I754c85a2ed02d0b1e40fd1e27b10ff84c463ac83
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
8 years agoARM: dts: msm: Update TLMM base address for msmfalcon
Neeraj Upadhyay [Wed, 15 Jun 2016 03:05:22 +0000 (20:05 -0700)]
ARM: dts: msm: Update TLMM base address for msmfalcon

Update TLMM base address to match new address.

Change-Id: Ie0c46cbbcbc3edabd5e0f867b4393a27e55db9f5
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
8 years agopinctrl: qcom: Update TLMM configuration for msmfalcon
Neeraj Upadhyay [Tue, 26 Jul 2016 09:44:07 +0000 (02:44 -0700)]
pinctrl: qcom: Update TLMM configuration for msmfalcon

Update TLMM configuration for msmfalcon, to match new
HW definitions.

Change-Id: I61d99454dab2fa90b4ed6577d1a58685088eb968
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
8 years agopinctrl: qcom: Update SDC pins for msmfalcon
Neeraj Upadhyay [Wed, 15 Jun 2016 03:05:22 +0000 (20:05 -0700)]
pinctrl: qcom: Update SDC pins for msmfalcon

Add SDC1 related pin configuration and update addresses for
SDC2 pins, to match TLMM addresses in new HW definitions.

Change-Id: If39ad62cc591565793cd1d8a0f2a454e0b7d5c58
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
8 years agoNFC: IRQ gpio usage modification in nfc_read
Gaurav Singhal [Fri, 8 Jul 2016 13:50:33 +0000 (19:20 +0530)]
NFC: IRQ gpio usage modification in nfc_read

Modified condition to ensure data is read
only after interrupt has occurred.

Spurious interrupt handling is done in nfc_read
instead of irq handler.

Change-Id: Ie2362610fe922e792e6358b4386c828fdd754fa8
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
8 years agoMerge "ASoC: wcd934x: Enable smart boost on WCD9340 codec"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:49 +0000 (21:39 -0700)]
Merge "ASoC: wcd934x: Enable smart boost on WCD9340 codec"

8 years agoMerge "icnss: pass fw version to wlan driver"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:48 +0000 (21:39 -0700)]
Merge "icnss: pass fw version to wlan driver"

8 years agoMerge "soc: qcom: pil: Add error codes to error logs"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:47 +0000 (21:39 -0700)]
Merge "soc: qcom: pil: Add error codes to error logs"

8 years agoMerge "msm: kgsl: Allocate global buffers through paged memory"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:46 +0000 (21:39 -0700)]
Merge "msm: kgsl: Allocate global buffers through paged memory"

8 years agoMerge "socinfo: Export API for getting SOC serial number"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:45 +0000 (21:39 -0700)]
Merge "socinfo: Export API for getting SOC serial number"

8 years agoMerge "ARM: dts: msm: Add dmic clock rate on ECPP path for 8996"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:44 +0000 (21:39 -0700)]
Merge "ARM: dts: msm: Add dmic clock rate on ECPP path for 8996"

8 years agoMerge "ASoC: msm8996: Add independent clock support on codec"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:43 +0000 (21:39 -0700)]
Merge "ASoC: msm8996: Add independent clock support on codec"

8 years agoMerge "mdss: display-port: add support to use common EDID parser"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:42 +0000 (21:39 -0700)]
Merge "mdss: display-port: add support to use common EDID parser"

8 years agoMerge "input: touchpanel: Goodix GT915 driver cleanup"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:41 +0000 (21:39 -0700)]
Merge "input: touchpanel: Goodix GT915 driver cleanup"

8 years agoMerge "input: touchscreen: reduce lpm current of avdd reg for ITE tech"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:40 +0000 (21:39 -0700)]
Merge "input: touchscreen: reduce lpm current of avdd reg for ITE tech"

8 years agoMerge "input: touchscreen: add delay after enabling regulators"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:40 +0000 (21:39 -0700)]
Merge "input: touchscreen: add delay after enabling regulators"

8 years agoMerge "ARM: dts: msm: Add battery data for QRD SKUK device"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:39 +0000 (21:39 -0700)]
Merge "ARM: dts: msm: Add battery data for QRD SKUK device"

8 years agoARM: msmcortex_defconfig: Enable NCM function driver
Hemant Kumar [Fri, 5 Aug 2016 02:22:48 +0000 (19:22 -0700)]
ARM: msmcortex_defconfig: Enable NCM function driver

Enables configfs supported NCM function driver

Change-Id: Ic23796c5a1388c41d533ca0f4fad04d01fe9e965
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
8 years agosoc: qcom: pil: Add error codes to error logs
Puja Gupta [Fri, 29 Jul 2016 22:27:27 +0000 (15:27 -0700)]
soc: qcom: pil: Add error codes to error logs

To help better understand error logs, print error codes along with error
logs.

CRs-Fixed: 1050153
Change-Id: Ic7fd560133d836ef15015ff0ebcdd3fdb13ff6cb
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
8 years agomsm: vidc: Fix decoder output buffer size issue
Praneeth Paladugu [Wed, 13 Apr 2016 04:30:51 +0000 (21:30 -0700)]
msm: vidc: Fix decoder output buffer size issue

Decoder YUV buffer size should be derived based on current
resolution using Venus MACROS. This the only size that
clients are aware of. Using the size from FW will make
buffer sizes mismatches and unnecessary failures.

By not using buffer size from Venus, driver can avoid
unnecessary buffer requirement calls. This will reduce the
start-up latency.

CRs-Fixed: 1011881
Change-Id: I90762967e8b7888a775ce4771b6cdb08528b6513
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
8 years agoASoC: msm: qdsp6v2: set correct loopback mode
Shiv Maliyappanahalli [Thu, 4 Aug 2016 19:16:54 +0000 (12:16 -0700)]
ASoC: msm: qdsp6v2: set correct loopback mode

FM audio playback is failing as the loopback mode
is hardcoded to EC mode which is incorrect for
FM audio playback usecase.
Change it to default loopback mode.

Change-Id: I36b60ba2283b0bbe36f492e1410603b8c2050cc4
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
8 years agoASoC: wcd934x: Enable smart boost on WCD9340 codec
Sudheer Papothi [Tue, 2 Aug 2016 00:35:42 +0000 (06:05 +0530)]
ASoC: wcd934x: Enable smart boost on WCD9340 codec

During playback, enabling smart boost feature changes the threshold
of the playback signal based on the amplitude of the signal without
clipping the signal. Change enables smart boost on WCD9340 codec.

Change-Id: Ic4c5e3cc071898f376070b853112c5014d61272c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
8 years agomsm: crypto: Fix integer over flow check in qcedev driver
Zhen Kong [Fri, 29 Jul 2016 22:32:31 +0000 (15:32 -0700)]
msm: crypto: Fix integer over flow check in qcedev driver

Integer overflow check always fails when ULONG_MAX is used,
as ULONG_MAX is 2^64-1, while req->data[i].len and total
are uint32_t. Make change to use U32_MAX instead of
ULONG_MAX.

CRs-fixed: 1046507
Change-Id: Iccf9c32400ecc7ffc0afae16f58c38e5d78a5b64
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
8 years agoASoC: wcd9335: Configure DMIC clock rate for ECPP path
Sudheer Papothi [Thu, 19 May 2016 15:14:15 +0000 (20:44 +0530)]
ASoC: wcd9335: Configure DMIC clock rate for ECPP path

DMIC clock on ECPP(Echo Cancellation Ping-Pong) hardware path
can run at lower clock rate to avoid power consumption. Select
ECPP dmic clock rate when decimator is connected only to ECPP
path.

CRs-fixed: 1022917
Change-Id: I968e1fe6b099ebf5334eadb209219181293b207f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agodrivers: mfd: wcd9xxx: Add support to configure dmic clock
Sudheer Papothi [Thu, 19 May 2016 14:59:13 +0000 (20:29 +0530)]
drivers: mfd: wcd9xxx: Add support to configure dmic clock

DMIC clock on ECPP(Echo Cancellation Ping-Pong) path can be set to
lower clock rate to avoid power consumption. Change configures the
DMIC clock rate on ECPP path based on device tree settings.

CRs-fixed: 1022917
Change-Id: I03e1a7f5ef3cf1b1907c03a3d38965ce3a611bc4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agoARM: dts: msm: Add dmic clock rate on ECPP path for 8996
Sudheer Papothi [Thu, 19 May 2016 14:48:49 +0000 (20:18 +0530)]
ARM: dts: msm: Add dmic clock rate on ECPP path for 8996

DMIC clock on ECPP(Echo cancellation Ping-Pong) path can
run at 1.2MHz. Change configures DMIC clock rate for ECPP
path in codec device node.

CRs-fixed: 1022917
Change-Id: Ie7a0a5c57af608cdb42fac9f0f95fe427de8ea1d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agoASoC: msm8996: Add independent clock support on codec
Sudheer Papothi [Thu, 12 May 2016 19:10:35 +0000 (00:40 +0530)]
ASoC: msm8996: Add independent clock support on codec

WCD9335 codec has single master clock supply widget for both
playback and recording paths. Adding separate clock supply
for playback and recording paths will help handle low power
audio recording usecases without affecting playback usecases.
Change is to enable separate clock supply widgets for playback
and recording paths.

CRs-fixed: 1022917
Change-Id: I3978d2c53f2b04104d9d279f8acad60326f9405c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agosocinfo: Export API for getting SOC serial number
Yuanyuan Liu [Thu, 28 Jul 2016 17:55:59 +0000 (10:55 -0700)]
socinfo: Export API for getting SOC serial number

Export API for getting SOC serial number so that other modules
can use it.

CRs-Fixed: 1050491
Change-Id: I24f735159a38dffdc4f44babacc4d758cd0a8365
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
8 years agodefconfig: msmcortex: Enable G-Link SPI Transport driver
Karthikeyan Ramasubramanian [Tue, 2 Aug 2016 23:15:50 +0000 (17:15 -0600)]
defconfig: msmcortex: Enable G-Link SPI Transport driver

Enable G-Link SPI Transport driver to enable off-chip communication
over SPI bus.

CRs-Fixed: 1045916
Change-Id: I268d96f04b034edad2fadea8ef2c14fe8d8de251
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
8 years agoARM: dts: msm: Add G-Link SPI Transport device for msmcobalt
Karthikeyan Ramasubramanian [Wed, 29 Jun 2016 21:17:12 +0000 (15:17 -0600)]
ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt

G-Link SPI Transport is used to communicate with external audio codec.
Add G-Link SPI Transport device to support that configuration.

CRs-Fixed: 1045916
Change-Id: I97ca857c21d8873574a180d289e2fbca29c8a891
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
8 years agosoc: qcom: glink_spi_xprt: Add support for GLink SPI Transport
Karthikeyan Ramasubramanian [Thu, 23 Jun 2016 18:09:45 +0000 (12:09 -0600)]
soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport

GLink SPI Transport enables point-to-point communication with an
external subsystem that uses SPI bus to interface. This enables
multiplexing multiple logical channels over the SPI bus.

CRs-Fixed: 1045916
Change-Id: I1936bb0542bcd531726bf987ef806969ce96d498
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
8 years agoMerge "msm: mdss: Enable dynamic FPS support for msmcobalt"
Linux Build Service Account [Thu, 4 Aug 2016 15:22:41 +0000 (08:22 -0700)]
Merge "msm: mdss: Enable dynamic FPS support for msmcobalt"

8 years agoMerge "arm64: dma-mapping: don't clear dma ops on bypass detach"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:52 +0000 (21:12 -0700)]
Merge "arm64: dma-mapping: don't clear dma ops on bypass detach"

8 years agoMerge "Revert "arm64: dma-mapping: Attach IOMMUs as groups""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "Revert "arm64: dma-mapping: Attach IOMMUs as groups""

8 years agoMerge "ARM: dts: msm: Remove bogus stream ID from PCIe IOMMU"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: Remove bogus stream ID from PCIe IOMMU"

8 years agoMerge "ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:50 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt"

8 years agoMerge "soc: qcom: gladiator_erp_v2: initialize return value"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:49 +0000 (21:12 -0700)]
Merge "soc: qcom: gladiator_erp_v2: initialize return value"

8 years agoMerge "qcom-charger: qpnp-smb2: use values from hardware for default settings"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:48 +0000 (21:12 -0700)]
Merge "qcom-charger: qpnp-smb2: use values from hardware for default settings"

8 years agoMerge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:47 +0000 (21:12 -0700)]
Merge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure""

8 years agoMerge "leds: qpnp-flash-v2: add support to query battery parameters"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:46 +0000 (21:12 -0700)]
Merge "leds: qpnp-flash-v2: add support to query battery parameters"

8 years agoMerge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT"

8 years agoMerge "soc: qcom: core_ctl: Fix possible null-pointer dereference"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "soc: qcom: core_ctl: Fix possible null-pointer dereference"

8 years agoMerge "defconfig: arm64: msm: Re-enable qtaguid"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:44 +0000 (21:12 -0700)]
Merge "defconfig: arm64: msm: Re-enable qtaguid"

8 years agoMerge "ASoC: wcd9335: Add support to enable low power mode on codec"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:43 +0000 (21:12 -0700)]
Merge "ASoC: wcd9335: Add support to enable low power mode on codec"

8 years agoMerge "msm: mdss: add support for adaptive variable refresh feature"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:42 +0000 (21:12 -0700)]
Merge "msm: mdss: add support for adaptive variable refresh feature"

8 years agoMerge "msm: sde: Correct rotator irq handler to acknowledge irq once"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:41 +0000 (21:12 -0700)]
Merge "msm: sde: Correct rotator irq handler to acknowledge irq once"

8 years agoMerge "msm: gsi: do not register to inter ee irq"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:33 +0000 (21:12 -0700)]
Merge "msm: gsi: do not register to inter ee irq"

8 years agoMerge "msm: camera_v2: Fix a return code issue in smmu mapping"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:32 +0000 (21:12 -0700)]
Merge "msm: camera_v2: Fix a return code issue in smmu mapping"

8 years agoqcom: ssr: Fix possible overflow when copying firmware name
Srinivasarao P [Mon, 6 Jun 2016 07:03:50 +0000 (12:33 +0530)]
qcom: ssr: Fix possible overflow when copying firmware name

Array overflow can occur in firmware_name_store(), if the variable
buf contains the string larger than size of subsys->desc->fw_name

CRs-Fixed: 1050153
Change-Id: Ice39d7a1eb0b5f53125cc5d528021a99b9f7ff90
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
8 years agosoc: qcom: gladiator_erp_v2: initialize return value
Runmin Wang [Wed, 3 Aug 2016 20:57:47 +0000 (13:57 -0700)]
soc: qcom: gladiator_erp_v2: initialize return value

Initialize the return value before it is used in the driver to
make sure valid return value is returned.

CRs-Fixed: 1050136
Change-Id: I3e2c524ac87d57ae33cd0f28b9c62b2a39ee79ad
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
8 years agoregulator: cpr3-mmss-regulator: update msmcobalt partial binning
David Collins [Wed, 3 Aug 2016 22:25:03 +0000 (15:25 -0700)]
regulator: cpr3-mmss-regulator: update msmcobalt partial binning

Update the algorithm applied to open-loop voltage partial binning
values so that it only affects the lowest two fused corners (i.e.
MinSVS and SVS).  These values correspond to valid voltages for
the highest two fused corners (i.e. Nominal and Turbo).

Change-Id: Ifa54325a1364f10b6f1760c52ad029612114759c
CRs-Fixed: 1050071
Signed-off-by: David Collins <collinsd@codeaurora.org>
8 years agoARM: dts: msm: Fix QOS settings for Venus on msmcobalt
Praneeth Paladugu [Tue, 26 Jul 2016 22:46:25 +0000 (15:46 -0700)]
ARM: dts: msm: Fix QOS settings for Venus on msmcobalt

QOS values are programmed wrongly for msmcobalt. This can
affect Venus performance. This change fixes the same.

CRs-Fixed: 1046678
Change-Id: I6d474c2279422abe63ad625f35809fe156e8c465
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
8 years agomsm: ipa: Neutrino IPA offload support
Sunil Paidimarri [Thu, 7 Jul 2016 18:46:55 +0000 (11:46 -0700)]
msm: ipa: Neutrino IPA offload support

Add support for Neutrino IPA offload data path.

Change-Id: Id03f608ecce341684239cf17998d05af4aa55fb5
CRs-Fixed: 1019913
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
8 years agoclk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT
Deepak Katragadda [Wed, 3 Aug 2016 20:41:46 +0000 (13:41 -0700)]
clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT

The set_rate requests from the display port clocks should always
make their way upto the DP PLL. Add the NO_RATE_CACHE flag to
clocks in that path in order to let this happen.

CRs-Fixed: 1050007
Change-Id: I6a848b04756b92f9b1149705176e8f4088b2a945
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
8 years agosoc: qcom: core_ctl: Fix possible null-pointer dereference
Olav Haugan [Wed, 3 Aug 2016 18:37:06 +0000 (11:37 -0700)]
soc: qcom: core_ctl: Fix possible null-pointer dereference

Ensure we don't try to call online/offline functions with a
null-pointer.

CRs-fixed: 1049957
Change-Id: I6fa8f9bde5d5fd0680b5c571ba3cc99bd1f508b1
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
8 years agodefconfig: arm64: msm: Re-enable qtaguid
Bryse Flowers [Wed, 6 Jul 2016 18:11:09 +0000 (11:11 -0700)]
defconfig: arm64: msm: Re-enable qtaguid

Re-enable QTAGUID so that bandwidth control is possible from
userspace now that stability issues have been resolved by
picking upstream commits.

Change-Id: If3b0be88f28da82a08dc4cc67006e8ee8ced5a72
CRs-Fixed: 1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
8 years agoleds: qpnp-flash-v2: add support to query battery parameters
Devesh Jhunjhunwala [Fri, 8 Jul 2016 01:09:08 +0000 (18:09 -0700)]
leds: qpnp-flash-v2: add support to query battery parameters

Register a notifier callback with the power_supply framework
to detect when the bms power_supply is available so that
it can be used to query the battery properties required from
the fuel gauge for the maximum current query algorithm.

CRs-Fixed: 1043718
Change-Id: Icd535025a2f888e188f89841f32ac5b822f9b20d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
8 years agoMerge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset"
Linux Build Service Account [Wed, 3 Aug 2016 17:53:37 +0000 (10:53 -0700)]
Merge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset"

8 years agosoc: qcom: glink: Receive remote rx_intent with a cookie
Karthikeyan Ramasubramanian [Wed, 20 Apr 2016 18:10:48 +0000 (12:10 -0600)]
soc: qcom: glink: Receive remote rx_intent with a cookie

Currently the remote rx_intent is stored with the primary information.
The transport cannot provide a cookie to be retrieved and used later during
transmission.

Add support to receive a remote rx_intent with a cookie.

CRs-Fixed: 1045916
Change-Id: Id5f204647205b2fde9e5cb422a3ddc8cc4f3a5a0
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
8 years agomsm: kgsl: Allow 0 as a valid ion file descriptor
Carter Cooper [Mon, 20 Jun 2016 21:25:45 +0000 (15:25 -0600)]
msm: kgsl: Allow 0 as a valid ion file descriptor

Treat 0 as a valid fd instead of treating it as an error.

CRs-Fixed: 1030098
Change-Id: I4a1b14fcbca617bc2a43b30af7256edc3920f04c
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
8 years agomsm: kgsl: Make VBIF register dump more generic
Hareesh Gundu [Thu, 23 Jun 2016 09:00:13 +0000 (14:30 +0530)]
msm: kgsl: Make VBIF register dump more generic

Make VBIF register dump more generic to avoid adding new entry
for every VBIF revision. There will not be any change in register
mapping and address for new VBIF revision. AHB reads are permitted
throughout entire VBIF range. For all unoccupied registers read
values driven to 0 by HW but should not be relied upon.

CRs-Fixed: 1021711
Change-Id: I5aada474389e9189abcd38f1bc4854ada91dea87
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
8 years agomsm: kgsl: Remove event worker
Jordan Crouse [Tue, 31 May 2016 17:24:30 +0000 (11:24 -0600)]
msm: kgsl: Remove event worker

Scheduling issues were occurring with the GPU event worker after
b7be807 (msm: kgsl: Unbind the kgsl-event workqueue) was merged.
In certain conditions, it seems that the kgsl-event workqueue
was conflicting with the KGSL worker and slowing it down.

It turns out that everywhere we schedule the event worker
and the dispatcher worker at the same time.  Since the worker
is singlethread, the event worker and the dispatcher run
synchronously anyway, so it makes sense to run the event processor
from within the dispatcher and save the extra schedule.

CRs-Fixed: 1043509
Change-Id: Ic0dedbad67eb04d41afb6add4477f146dfff9784
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Read HLSQ SP/TP registers through debug aperture
Harshdeep Dhatt [Wed, 15 Jun 2016 23:28:49 +0000 (17:28 -0600)]
msm: kgsl: Read HLSQ SP/TP registers through debug aperture

Use crash dumper to read HLSQ SP/TP registers through debug ahb
aperture during device snapshot.

CRs-Fixed: 1019957
Change-Id: I3b18fd0d1eab28b6b3e5d314539cfbc15210f675
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
8 years agomsm: kgsl: Don't read CP_RB_RPTR register without clock
Hareesh Gundu [Fri, 3 Jun 2016 09:36:51 +0000 (15:06 +0530)]
msm: kgsl: Don't read CP_RB_RPTR register without clock

For A3xx we get GPU read pointer from the CP_RB_RPTR
register instead of rptr scratch memory address. In
retire_cmdbatch() and _retier_maraker() GPU clock will
be off, so avoid reading CP_RB_RPTR register. Also hold
device mutex in sendcmd() to access GPU registers.

CRs-Fixed: 1024730
Change-Id: Ifa5e9d3f892301685cb48a227ce4967d895499b1
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>