Commit graph

573210 commits

Author SHA1 Message Date
Linux Build Service Account
0131aa1988 Merge "msm: kgsl: Make VBIF register dump more generic" 2016-08-07 23:22:44 -07:00
Linux Build Service Account
a181961095 Merge "msm: crypto: Fix integer over flow check in qcedev driver" 2016-08-07 23:22:44 -07:00
Linux Build Service Account
2ef02c02c4 Merge "qcom: ssr: Fix possible overflow when copying firmware name" 2016-08-07 23:22:43 -07:00
Linux Build Service Account
a010a65c23 Merge "msm: vidc: Add Override QP extradata support" 2016-08-07 23:22:42 -07:00
Linux Build Service Account
2b3049ef40 Merge "qseecom: Fix ion memory issue during unload app failure" 2016-08-07 23:22:40 -07:00
Linux Build Service Account
5306d48b29 Merge "msm: mdss: free the correct layer_list in compat_atomic_commit" 2016-08-07 23:22:39 -07:00
Linux Build Service Account
438e42ee1d Merge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt" 2016-08-07 23:22:38 -07:00
Amir Levy
be8c1c07e8 msm: ipa3: update BCR Regsiter values for IPA v3.1 and v3.5
Change BCR value for IPAv3.1 according to updated value from HPG.
Add IPAv3.5 to receive BCR initialization according to HPG.

CRs-Fixed: 1051371
Change-Id: If2a7eaf11ad05ced3c52ff87be934745b7dc713b
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2016-08-07 17:28:51 +03:00
David Collins
0388b2a99f 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>
2016-08-05 17:10:36 -07:00
Runmin Wang
1fd42a381d 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>
2016-08-05 17:08:57 -07:00
Runmin Wang
e6c2ce5418 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>
2016-08-05 17:08:48 -07:00
Runmin Wang
ac6a7bb200 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>
2016-08-05 17:08:06 -07:00
David Collins
e239c7f541 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>
2016-08-05 16:41:32 -07:00
Hemant Kumar
2ea19f766c usb: gadget: f_fs: Add support for ipc logging
Log function entry and exit and dump relevant values
into ipc log buffer. This allows to debug various
race conditions and stability issues.

Change-Id: I15011d79fc2f054e64f8bbd1f8f5db8944b46ada
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-05 15:22:52 -07:00
Mayank Rana
67d5a900d4 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>
2016-08-05 10:44:49 -07:00
Jonathan Wicks
a88c5f841f 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>
2016-08-05 08:39:16 -07:00
Shantanu Jain
96b8c89a7c input: touchscreen: correct function and variable names in ITE tech driver
Correct function and variable names in ITE tech driver from upper case
to lower case, and use underscore instead of camel-case in their names.
This change makes the driver as per kernel coding standards and similar
to other touch drivers.

This is a propagation patch from 3.18 kernel 'commit c1fe9ac38d93 ("input:
touchscreen: correct function and variable names in ITE tech driver")'

CRs-Fixed: 982219
Change-Id: Ic8b66317f414fe3bfcd0f9c5b03369cc304edb55
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:46:21 +05:30
Shantanu Jain
44965431f6 input: touchscreen: correct return values in ITE tech driver
Correct return values of the functions in ITE tech driver.
Use valid integer error and success values instead of boolean
values.

This is a propagated patch from 3.18 kernel 'commit a68ff7e23d20
("input: touchscreen: correct return values in ITE tech driver")'

CRs-Fixed: 982219
Change-Id: Iba07517fd32dbeb3079df9c0346ea0c044b88f63
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:41:30 +05:30
Shantanu Jain
6f2d5a5fc1 input: touchscreen: remove global variable from ITE tech touch driver
Remove the use of global variable from ITE tech touch driver,
and use the internal driver structure passed as function argument.
This change makes the driver complied to kernel coding standards
and similar to other touch driver.

This is a propagated patch from 3.18 patch 'commit 041f90ddeb5e ("input:
touchscreen: remove global variable from ITE tech touch driver")'

CRs-Fixed: 982219
Change-Id: Ib609d6e76ea70cd3b49c4ea6f09c75bf52521aa8
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:36:37 +05:30
Shantanu Jain
f8168ee5bf input: touchscreen: identify ITE tech controller until ready
Identify the ITE tech controller until it is ready to do any
i2c transaction. This is needed for dynamic detection and to check
if ITE tech controller is connected or not.

This is a propagated patch from 3.18 kernel 'commit eb37d1174948
("input: touchscreen: identify ITE tech controller until ready")'

CRs-Fixed: 980427
Change-Id: I9f69eb541e31de6a04db7468ca12a04a837d2b40
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:30:50 +05:30
Shantanu Jain
fdcb967e7e input: touchscreen: correct condition checks in ITE tech touch driver
Correct the return value check of kstrtoint function.
Also correct the platform_data parsing check in ITE tech
touch driver.

This is a propagated patch from 3.18 kernel
'commit 9a1496537aeb ("input: touchscreen: correct condition checks
in ITE tech touch driver")'

Change-Id: I792c043ca4d85e236c209605e80392a05d26b983
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:26:29 +05:30
Shantanu Jain
28181fbc4c input: touchscreen: don't allow ITE tech driver to do infinite i2c checks
Don't allow ITE tech driver to check the status of the controller forever
before any i2c read/write, instead make it to 10 times only.
In case of firmware flashing and external calibration features, this is
made to 500 times.

This is a propagated patch from 3.18 kernel
'commit 5e8c98c6705b ("input: touchscreen: don't allow ITE tech driver
to do infinite i2c checks")'

Change-Id: I88e024700de43cc9f712fd7fa509fcb387f9cd21
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-05 20:22:47 +05:30
Neeraj Upadhyay
41ed6f074e 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>
2016-08-05 06:14:54 -07:00
Neeraj Upadhyay
998bcdcde3 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>
2016-08-05 06:14:08 -07:00
Neeraj Upadhyay
15578f64c6 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>
2016-08-05 06:13:02 -07:00
Shantanu Jain
fb07736a10 input: touchscreen: increase number of checks for touch controller status
Before doing any i2c read/write, driver needs to check the value
of QUERY buffer to know if the controller is in ready or busy state.
Sometime, it takes more number of checks to know the status.
So this change increases the number of checks to know the ITE tech
touch controller status.

This is a propagated patch from 3.18 kernel 'commit 60589278b8e7 ("input:
touchscreen: increase number of checks for touch controller status")

Change-Id: I30dd0cf0b15538e67f50725754d5059e2fe721d0
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-08-05 17:09:43 +05:30
Gaurav Singhal
f2e141460b 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>
2016-08-04 23:54:16 -07:00
Linux Build Service Account
28352998de Merge "ASoC: wcd934x: Enable smart boost on WCD9340 codec" 2016-08-04 21:39:48 -07:00
Linux Build Service Account
0cd21ace7b Merge "icnss: pass fw version to wlan driver" 2016-08-04 21:39:47 -07:00
Linux Build Service Account
286ce4f15c Merge "soc: qcom: pil: Add error codes to error logs" 2016-08-04 21:39:47 -07:00
Linux Build Service Account
5d249813cd Merge "msm: kgsl: Allocate global buffers through paged memory" 2016-08-04 21:39:46 -07:00
Linux Build Service Account
132ea5885a Merge "socinfo: Export API for getting SOC serial number" 2016-08-04 21:39:45 -07:00
Linux Build Service Account
8716a4c3eb Merge "ARM: dts: msm: Add dmic clock rate on ECPP path for 8996" 2016-08-04 21:39:44 -07:00
Linux Build Service Account
0bf28c0fae Merge "ASoC: msm8996: Add independent clock support on codec" 2016-08-04 21:39:43 -07:00
Linux Build Service Account
0643e955c6 Merge "mdss: display-port: add support to use common EDID parser" 2016-08-04 21:39:42 -07:00
Linux Build Service Account
5c66997cc1 Merge "input: touchpanel: Goodix GT915 driver cleanup" 2016-08-04 21:39:41 -07:00
Linux Build Service Account
0b3e75a92b Merge "input: touchscreen: reduce lpm current of avdd reg for ITE tech" 2016-08-04 21:39:40 -07:00
Linux Build Service Account
bf02aa69f5 Merge "input: touchscreen: add delay after enabling regulators" 2016-08-04 21:39:39 -07:00
Linux Build Service Account
70683f96aa Merge "ARM: dts: msm: Add battery data for QRD SKUK device" 2016-08-04 21:39:39 -07:00
Hemant Kumar
46f649456d ARM: msmcortex_defconfig: Enable NCM function driver
Enables configfs supported NCM function driver

Change-Id: Ic23796c5a1388c41d533ca0f4fad04d01fe9e965
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-04 19:22:48 -07:00
Aravind Venkateswaran
48cb8afa7b msm: mdss: dsi: fix lcd mode selection gpio config when display is off
When display is turned off, ensure that the lcd mode selection GPIO is
set to output LOW. This would prevent any current leakage from that GPIO
whenever display is off.

Change-Id: I91f636b2c1cc1890b4ca28f52e5190561bc5d927
CRs-Fixed: 1050785
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-04 17:37:29 -07:00
Puja Gupta
d5e763cc2e soc: qcom: pil: Add flag to know if modem SSR happened.
Introduce a flag to know if modem is restarting from cold boot or from
SSR.
Use this flag to decide if modem memory needs to be assigned back to
linux. After cold boot linux already owns modem memory and trying to
assign it back from modem is incorrect.

CRs-Fixed: 1050153
Change-Id: I1c1ef35ea7ef6c2552a22b85c5af260ade413777
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-08-04 17:10:11 -07:00
Puja Gupta
e701779833 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>
2016-08-04 16:46:28 -07:00
Praneeth Paladugu
5703768add 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>
2016-08-04 14:22:03 -07:00
Shiv Maliyappanahalli
f91ccf8631 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>
2016-08-04 12:18:24 -07:00
Sudheer Papothi
976c5443ca 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>
2016-08-05 00:07:29 +05:30
Amar Singhal
1aaca3af99 msm: wlan: Update db.txt for some countries
Update TX power for countries Dominica, Dominican Republic,
Egypt, El Salvador, India, Israel, Kuwait, Malaysia,
Morocco, Namibia, Panama, Russia, Saint Kitts, Saint Lucia,
Tunisia and Uzbekistan.

CRs-Fixed: 1049984
Change-Id: I6dda3b5e8b314d392e51f492b23ce0342e47800a
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2016-08-04 11:25:39 -07:00
Zhen Kong
61623fad50 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>
2016-08-04 11:08:48 -07:00
Sudheer Papothi
c199c86a61 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>
2016-08-04 11:05:51 -07:00
Sudheer Papothi
c5ee57ee2b 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>
2016-08-04 11:05:31 -07:00