Commit graph

578906 commits

Author SHA1 Message Date
Linux Build Service Account
7afb1a9d65 Merge "msm: sensor: Fix to read the parameters from slave info" 2016-12-19 00:44:33 -08:00
Linux Build Service Account
2d28ff0953 Merge "clk: qcom: add common clock framework support for MDSS PLL" 2016-12-18 14:48:01 -08:00
Linux Build Service Account
4d86efbfe8 Merge "ARM: dts: msm: Remove write of acc register for MSMFalcon/Triton/8998" 2016-12-18 14:48:00 -08:00
Linux Build Service Account
f58596e5e4 Merge "soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5" 2016-12-18 14:47:59 -08:00
Linux Build Service Account
4639e34368 Merge "ARM: dts: msm: Move boot_rom_ahb_clk to proxy voted for msm8998" 2016-12-18 14:47:58 -08:00
Linux Build Service Account
4eadfaf5f8 Merge "msm: kgsl: Add Bind objects to dispatcher draw queue" 2016-12-18 14:47:58 -08:00
Linux Build Service Account
7a9eaaea15 Merge "soc: qcom: pil: Initialize variable to avoid invalid access" 2016-12-18 14:47:57 -08:00
Sameer Thalappil
58a7b9f532 icnss: Do not collect MSA0 dump during Modem WDOG bite
During modem WDOG bite scenarios, error handlers are not executed
in modem. So Adrastea may not be in reset when SSR notifications
are received in HLOS. Remapping MSA0 during SSR could cause SMMU
fault at Adrastea, as it may be still accessing it. Skip collecting
MSA0 dump in WDOG bite scenarios.

CRs-Fixed: 1102057
Change-Id: I9082d4d40b70d0ca8cc8fbc6aadf14b2f0aedd0c
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2016-12-16 11:53:16 -08:00
Satya Durga Srinivasu Prabhala
ef124ecde2 soc: qcom: ssr: add crash status to know why subsys crashed
In some specific cases, clients may want to know why subsystem
crashed, for example, in case of watch dog bite, subsystem may not
be able to execute error handling. Which would need different code
paths to be exercised on the apps processor.

Change-Id: I073733b8a56b57f14906b25cba08012c2f0b414a
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-12-16 10:53:56 -08:00
Sandeep Panda
6a21dcc9bf clk: qcom: add common clock framework support for MDSS PLL
Model and configure MDSS DSI PLL using upstream clock framework
APIs. Add changes to define and register vco, divider, mux clcoks
as per common clock infrastructure.

Change-Id: Idc51070e2bb36d1a757d2714d2875a99901321a7
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-12-16 15:51:27 +05:30
Syed Rameez Mustafa
3366a508ff Revert "sched/cputime: Fix steal time accounting vs. CPU hotplug"
This reverts commit 2a8225ef46
("sched/cputime: Fix steal time accounting vs. CPU hotplug").

The commit introduces a bug in scheduler book-keeping whereby if a CPU
is hotplugged out for a small duration of time, subsequent time spent
executing tasks gets mis-attributed to interrupts. This in turn results
in unfair scheduling whereby a task can keep executing for a very long
time without any update to it's vruntime. This revert has no side
effects for msm based systems.

Change-Id: Ibb506824c4223551bceb449594ac99f9dfd8064b
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-12-14 14:56:27 -08:00
Gaurav Kohli
f03bf11b39 ARM: dts: msm: Remove write of acc register for MSMFalcon/Triton/8998
Remove the write of acc strap register by default value during Q6 reset
as per Hardware Programming Guide.

Change-Id: Id5b8aaae0783893290e95626b394841a7d3808a3
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-12-14 17:22:21 +05:30
Gaurav Kohli
19740f9d53 soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5
Update the reset sequence to read each write while enabling QDSP6 memory
bank one at a time. This will make sure whether write is complete or not.
Also add logs during Mss shutdown, It will help to debug Mss restart
and shutdown case.

Change-Id: I9f2cb058a7e59b573fc64662ee7b5bff49b18ea7
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-12-14 01:02:53 -08:00
Kuirong Wang
73c975d6fd ARM: dts: msm: update speaker left and right GPIOs for APQ8998
Update speaker left and right GPIOs for APQ8998 platform since it
uses different GPIOs from MSM8998 platform.

CRs-Fixed: 1099656
Change-Id: Idecd865b7a11e4cd30737f5d800673c87807592c
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-12-13 17:32:17 -08:00
Linux Build Service Account
3162449f7d Merge "USB: dwc3: msm: Fail probe if core-clk-rate is not passed from dts" 2016-12-13 12:18:07 -08:00
Linux Build Service Account
2b66512ac3 Merge "USB: dwc3-msm: Check endpoint status and request queued or not first" 2016-12-13 12:18:06 -08:00
Linux Build Service Account
b574f42cd7 Merge "USB: dwc3-msm: Initialize DBM ep before BAM pipe reset" 2016-12-13 12:18:05 -08:00
Linux Build Service Account
0aaea76517 Merge "ARM: msm: dts: Add regulator changes for msm8998-v2.1-interposer" 2016-12-13 12:18:05 -08:00
Linux Build Service Account
4cfe3d17f6 Merge "ARM: dts: msm: Add bluetooth node for msmfalcon" 2016-12-13 12:18:04 -08:00
Linux Build Service Account
1dcf06662e Merge "ARM: dts: msm: add camera focus and snapshot nodes for MSMFALCON" 2016-12-13 12:18:03 -08:00
Linux Build Service Account
a9d2a4230a Merge "ARM: dts: msm: Add GPU mempools properties for msmfalcon" 2016-12-13 12:18:02 -08:00
Linux Build Service Account
41a3d6a427 Merge "clk: qcom: Update fmax tables and few frequencies clocks of MSMfalcon" 2016-12-13 12:18:02 -08:00
Linux Build Service Account
7acd465532 Merge "defconfig: arm64: msm: Enable USB RMNET & RNDIS using IPA over BAM2BAM" 2016-12-13 12:18:01 -08:00
Linux Build Service Account
f25d55e62e Merge "qpnp-fg-gen3: Use the correct property name to get fastcharge current" 2016-12-13 12:18:00 -08:00
Linux Build Service Account
127197b2bf Merge "ARM: dts: msm: rename battery profile used for msm8998 QRD" 2016-12-13 12:17:59 -08:00
Linux Build Service Account
6243ed9ad2 Merge "usb: dwc3-msm: Set PROP_BOOST_CURRENT for direct attach devices" 2016-12-13 12:17:59 -08:00
Linux Build Service Account
d18c993351 Merge "icnss: Remove dev reference" 2016-12-13 12:17:58 -08:00
Linux Build Service Account
db080b80dc Merge "msm: dvb: demux: compilation error fix for 32 bit version" 2016-12-13 12:17:57 -08:00
Linux Build Service Account
ccb490b3dc Merge "smb-lib: revert the boost back workaround for dc path" 2016-12-13 12:17:56 -08:00
Linux Build Service Account
6524cc4515 Merge "dwc3: gadget: Increase TXFIFO size as 3KB with endless USB IN endpoint" 2016-12-13 12:17:56 -08:00
Linux Build Service Account
10114703d2 Merge "spcom: check buf size for send modified command" 2016-12-13 12:17:55 -08:00
Linux Build Service Account
ef451d15bb Merge "spcom: check buf_size validity for user send command" 2016-12-13 12:17:54 -08:00
Linux Build Service Account
d3fdecd206 Merge "NFC: Inform CLF whenever eSE is powered off" 2016-12-13 12:17:53 -08:00
Linux Build Service Account
3263de1fee Merge "spcom: check user space command size" 2016-12-13 12:17:53 -08:00
Mayank Rana
de7e98f381 defconfig: arm64: Enable USBNET driver
This change enables USBNET driver which allows USB ethernet class
driver to register USB ethernet device as network device with Linux
Network Stack and allows USB IOs with USB Host Controller driver.

Change-Id: Iba036ce43656979df0b9ea228b57bc980c4c53bc
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-12-13 08:57:03 -08:00
Andrey Markovytch
f28a6750a8 ARM: dts: msm: specify a flag to control encryption key size on msm8998
This is required to control the FDE/FBE key size from kernel.
Same TZ image can now be used for different encryption key sizes.
The key size will not be fixed and will be controlled with
this flag in qseecom driver.

Change-Id: Iac5c25ba5dc7d22cd7a4961dd5058db0088995ca
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-12-13 06:20:59 -08:00
Andrey Markovytch
309430921f qseecom: add configurable encryption key size
ICE crypto engine key size can now be configured using dtsi flag.
This is required to facilitate usage of common TZ image with variable
key sizes and also provides flexibility in handling different key sizes
requirement in future. This flag is parsed in driver and depending upon
the value HLOS decides on key size to be passed to TZ.

Change-Id: If40f83a943e5ae8333d171c21823a16816d7ddd4
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-12-13 06:18:03 -08:00
Vijay kumar Tumati
1056fb70ed ARM: dts: msm: Enable CAM1 on msmfalcon interposer
Add DTSI configuration for camera node 1. Used by
all sensor modules that are connected to this port.

Change-Id: I3301d822a3664869d8531d7ff0efa20e22996763
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
2016-12-13 00:55:25 -08:00
Krishnankutty Kolathappilly
925920826d msm: cpp: Reset vbif and load firmware on poll failures
CPP poll failure can happen if vbif reset is not proper. Reset vbif
and load firmware on poll failures to recover from error scenario.

CRs-Fixed: 1098549
Change-Id: I38ef1c9478450c98c8379d8b1c085b31209cb48e
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-12-12 23:46:07 -08:00
Manish Poddar
dd1c15c802 msm: camera: Initialize return value to 0
Initialize return variable to 0 instead of
error.
CRs-fixed: 1001532

Change-Id: I81c87cac13e33e0678b3bb92f58da0699d9197c2
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
2016-12-12 23:46:05 -08:00
Manish Poddar
faef6bbca7 msm: camera: Initialize variables to default
Add NULL check and initialize  the variables to
default values in camera.

CRs-fixed: 994317
Change-Id: I165f1c39c1332737a644c6650bc40f4c718a7ee8
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
2016-12-12 23:45:53 -08:00
Taniya Das
0cb6666c6f clk: qcom: Update fmax tables and few frequencies clocks of MSMfalcon
The fmax corner frequencies have got updated, and also new frequencies have
been added for few clocks, so fix and update the same.

Change-Id: Ic6e2c2208a8971b07ed6ccfc8d63091e4692301f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-13 13:05:35 +05:30
Vijayavardhan Vennapusa
4c551536ee USB: dwc3: msm: Fail probe if core-clk-rate is not passed from dts
Currently USB driver is not failing probe if USB core-clk-rate property
is not exist. This leads to USB enumeration failures across connect/
disconnect. Hence make core-clk-rate property mandatory and if in case
not defined, fail the probe. Also Fail probe if extcon property not
defined in case of OTG mode.

Also return error if dwc3_core_pre_init() fails during dwc3-msm_resume()
due to phy init fails and don't go ahead with setting up event buffers
as event buffers allocation is done.

Change-Id: I3927ad2f670e45acd10f8568857cf9f3434df657
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-12-12 23:20:32 -08:00
Vijayavardhan Vennapusa
9dea5a7428 ARM: msm: dts: Add regulator changes for msm8998-v2.1-interposer
Add required regulator changes in msm8998-v2.1-interposer-msmfalcon.dts
file for USB functionality to be working.

Change-Id: I3e4a43de0c1de6573fea8a52929f6c7af5259755
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-12-13 12:12:36 +05:30
Rupesh Tatiya
843dac9993 ARM: dts: msm: Enable bluetooth for wcn3990 on msm8998 interposer
Enable various voltage regulators, clocks required to enable bluetooth on
msm8998 interposer.

CRs-Fixed: 1097035
Change-Id: I9f70b74b7ccfb84fec721dbfa1d838d183419cb9
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2016-12-13 11:57:16 +05:30
Chandana Kishori Chiluveru
a305a4198a defconfig: arm64: msm: Enable USB RMNET & RNDIS using IPA over BAM2BAM
This change enables USB RNDIS and RMNET drivers for BAM2BAM communication.

Change-Id: Ibfd9d12503248a3589bbda94096d40856ccba2c4
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2016-12-13 11:55:24 +05:30
Rupesh Tatiya
7ee3354e7a ARM: dts: msm: Add bluetooth node for msmfalcon
Add bluetooth node for wcn3990 on msmfalcon. This change configures
various voltage regulator and clocks.

CRs-Fixed: 1100113
Change-Id: I403c9def4f90832174f45e21e6c6fceb4a77a2a0
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2016-12-13 11:34:17 +05:30
Kui Wang
473c5b0d7e ARM: dts: msm: Add camera dtsi for msmfalcon interposer qrd
Add camera related device nodes for msmfalcon interposer qrd.
That includes front/rear/aux sensor device nodes, and
corresponding eeprom/actuator/ois device nodes.

Change-Id: I4f8ca4182f9807d970184c85a58989b41755b163
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
2016-12-12 18:11:26 -08:00
Sunid Wilson
95db044daf msm: fd: Support dynamic update of clock and bus settings
Change the bus settings and clocks based on the user
settings while streaming is in progress.

CRs-Fixed: 985849
Change-Id: If9307ffd47854afe6101671ce911631b52a6dff9
Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
2016-12-12 17:03:02 -08:00
Ashwini Rao
034f436b68 msm: camera: fd: Add CPP VBIF error handling
On detecting a VBIF hang, reset the VBIF and FD core
and if there is an active buffer, queue back the
active buffer and start processing again.

CRs-Fixed: 961394
Change-Id: I1ed035c8a8efb20d31da9556c5d5b810f81c44d2
Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>
2016-12-12 17:02:40 -08:00