Commit graph

583709 commits

Author SHA1 Message Date
Mathew Joseph Karimpanal
c44b4a34d2 socinfo: Add support for MSM8996proAU SoC
Add CPU IDs to the socinfo table needed to support MSM8996pro
Automotive SoC.

CRs-Fixed: 991575
Change-Id: I6efaf4574a5f563b0ee3edd8545e0acd027ad59b
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-14 03:47:37 -07:00
Srivatsa Vaddagiri
4d76d40f3b Merge "ARM: dts: msm: Add support for APQ8096AU CDP" into dev/msm-4.4-8996au 2017-03-14 02:00:51 -07:00
Hanumant Singh
e4f49bea67 ARM: dts: msm: Add pin setup for modem-QSPI mux on 8996
Auto platforms have an external mux that needs to be setup
to choose between QSPI and modem. Prior to the modem being
loaded, the mux needs to be setup for modem to use the pin.
This is a one time configuration at bootup, that is performed
by pil driver.

CRs-Fixed: 1010787
Change-Id: Ibab421fadef7e591ec84225aa4be7b55d0a54e0c
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
2017-03-14 01:00:47 -07:00
Mathew Joseph Karimpanal
292cc4fe02 ARM: dts: msm: Add support for APQ8096AU CDP
Add device tree files that are needed to support APQ8096 Automotive
CDP platform.

CRs-Fixed: 991575
Change-Id: Ic8818e8255b2d690a1555e23fe35d581835ba634
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-13 21:45:57 -07:00
Mathew Joseph Karimpanal
db160719ad ARM: dts: msm: Disable SLIMbus on MSM8996proAU ADP
MSM8996pro Automotive ADP platform does not use SLIMbus (Serial Low-
power Inter-chip Media Bus) audio interface path. Disable SLIMbus.

CRs-Fixed: 1000279
Change-Id: I55ef759f6d57909aa9d975e92d2c65224bfec615
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-13 21:37:41 -07:00
Mathew Joseph Karimpanal
b18d189db2 ARM: dts: msm: Update SD Card Detect GPIO on MSM8996proAU ADP
Update SD Card Detect GPIO configuration on MSM8996proAU ADP.

CRs-Fixed: 1000279
Change-Id: Ia3f2887e835a9e49fe646064f42d017a9c8bdc02
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-13 21:37:06 -07:00
Mathew Joseph Karimpanal
2eee20854d ARM: dts: msm: Disable sensors on MSM8996proAU ADP
Snapdragon Sensor Core (SSC) solution is not supported on MSM8996pro
Automotive ADP platform. Disable sensors SSC driver.

CRs-Fixed: 1000279
Change-Id: Iaf791529ed51958c02b9a1b714759954997ccaa4
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-13 21:35:12 -07:00
Srivatsa Vaddagiri
10caab038d Merge "ARM: dts: msm: Add support for MSM8996proAU ADP" into dev/msm-4.4-8996au 2017-03-13 21:32:17 -07:00
Srivatsa Vaddagiri
b74dc2889b Merge "defconfig: arm64: msm: Add auto-specific defconfig" into dev/msm-4.4-8996au 2017-03-13 01:26:08 -07:00
Mathew Joseph Karimpanal
34b5a5a8e0 ARM: dts: msm: Add support for MSM8996proAU ADP
Add device tree files that are needed to support MSM8996pro ADP
(Automotive Development Platform).

CRs-Fixed: 1000279
Change-Id: I6575fed7507e39afc06e017ab138d98654b38928
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-13 01:21:46 -07:00
Zhiqiang Tu
af80094037 defconfig: arm64: msm: Add auto-specific defconfig
Add msm-auto_defconfig and msm-auto-perf_defconfig for automotive
platform.

Change-Id: I230a7dab442f093305eb9bebab46ced06f73773d
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-03-08 15:24:02 +08:00
Subbaraman Narayanamurthy
2895f781c4 ARM: dts: msm: update ceiling/floor voltages for gfx_vreg in 8996ProAU CDP
The CPR graphics regulator (gfx_vreg) in 8996Pro has an
additional virtual corner to support higher Fmax. Also it has
support for another speed bin. The external buck (hl7509_vreg)
that powers up gfx_vreg in 8996ProAU CDP boards has a voltage
range of 600 to 1230 mV with a step size of 10 mV.

Modify the CPR ceiling and floor voltages of gfx_vreg for 8996Pro
automotive CDP so that they are divisible by 10000 uV and at
least 600000 uV.

CRs-Fixed: 988322
Change-Id: I7841c384b5d10124226c91bd7adc1730461e60ce
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-07 20:57:23 -08:00
Mathew Joseph Karimpanal
01b5833214 ARM: dts: msm: Add support for MSM8996proAU CDP
Add device tree files that are needed to support MSM8996pro automotive
CDP platform.

CRs-Fixed: 991575
Change-Id: Ic79213b1beed4038609415cc98ed09d93bc326f4
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2017-03-07 00:26:40 -08:00
Linux Build Service Account
59a631bcac Merge "arm64: Disable KASAN in uwwind_frame" 2017-02-27 23:37:28 -08:00
Linux Build Service Account
993b116d8d Merge "msm: kgsl: Add efuse read capabilities for A508 GPU" 2017-02-27 23:37:28 -08:00
Linux Build Service Account
8b8f43a684 Merge "i2c-msm-v2: Enable/Disable clocks and gpios per transfer" 2017-02-27 23:37:27 -08:00
Linux Build Service Account
99383b676b Merge "qseecom: add mutex around qseecom_set_client_mem_param" 2017-02-27 23:37:26 -08:00
Linux Build Service Account
22e7695a57 Merge "msm: mdss: Allocate DMA pipe for pan display path" 2017-02-27 23:37:25 -08:00
Linux Build Service Account
a805bce81d Merge "msm: sde: Add mutex lock for debug buffer access in rotator" 2017-02-27 23:37:24 -08:00
Linux Build Service Account
598d0c01b1 Merge "msm: mdss: add support for Cx iPeak limit management" 2017-02-27 23:37:23 -08:00
Linux Build Service Account
a19f132f6e Merge "Revert "firmware_class: Add an additional path to fw_path list"" 2017-02-27 23:37:22 -08:00
Linux Build Service Account
f3cef9d2d4 Merge "soc: qcom: Notify clients in case qmi connection to service locator fails" 2017-02-27 23:37:21 -08:00
Linux Build Service Account
d26bc0f855 Merge "f_gsi: Make usb ipa wq as freezable workqueue" 2017-02-27 23:37:20 -08:00
Linux Build Service Account
986e0dacea Merge "msm: ipa: increment GSI command timeout" 2017-02-27 23:37:19 -08:00
Linux Build Service Account
c3b7b9dbd6 Merge "msm: kgsl: Add placeholders for KGSL power limit functions" 2017-02-27 23:37:19 -08:00
Linux Build Service Account
431f1938d9 Merge "msm: ipa3: Fix uninitialized variables access" 2017-02-27 23:37:18 -08:00
Linux Build Service Account
36bf237dc5 Merge "msm: ipa3: Validate IPA client mapping to endpoint index" 2017-02-27 23:37:17 -08:00
Linux Build Service Account
8f3046b536 Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660" 2017-02-27 23:37:16 -08:00
Linux Build Service Account
f97a00ec54 Merge "ARM: dts: msm: change memlat vote for min freq on SDM630" 2017-02-27 23:37:15 -08:00
Linux Build Service Account
2fec724818 Merge "ASoC: msm: Fix kernel crash in "Speaker Function" mixer control" 2017-02-27 23:37:15 -08:00
Linux Build Service Account
ce81588865 Merge "defconfig: msm: Enable PBS driver support for sdm660" 2017-02-27 23:37:13 -08:00
Linux Build Service Account
dd5d0b8fb6 Merge "ARM: dts: msm: Update GFX PM-QoS values for SDM660" 2017-02-27 23:37:13 -08:00
Linux Build Service Account
7d02367922 Merge "qcom: smb138x: Average 10 die temperature samples" 2017-02-27 23:37:12 -08:00
Linux Build Service Account
0b46e817dd Merge "qcom: smb138x: set the freq to 700Khz" 2017-02-27 23:37:11 -08:00
Dilip Kota
7f4bbffddd i2c-msm-v2: Enable/Disable clocks and gpios per transfer
With QUP in shared mode, enabling and disabling the
resources in runtime pm will cause failure of
transactions over the QUP that are running on other
execution environment. To avoid the failure
enable/disable gpios and clocks of QUP per transfer.

Also move the clock prepare and unprepare calls
to runtime pm APIs from the transfer API to
reduce the latencies in the transactions.

Change-Id: Ic697cdc544405d86ec7c675922c18c00fec451a6
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2017-02-27 21:03:23 -08:00
Gaurav Kohli
c24aed69b0 ARM: dts: msm: Allow modem MBA to be loaded in carveout for SDM660
Add sub-device node to allow mba to be able to load in carveout
memory region for SDM660.

Change-Id: I0e9932a0a779a66b7a3d4b682a60885cb7d799c5
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2017-02-27 20:35:09 -08:00
Satya Durga Srinivasu Prabhala
2448682db2 Revert "firmware_class: Add an additional path to fw_path list"
This reverts commit 3e47c53624 ("firmware_class: Add an
additional path to fw_path list").

Adding /firmware/images entry in fw_path is introducing selinux
denials as the access was happening under the client process
context. Removing the entry from fw_path structure.

Change-Id: I359f8defe49595a7e53558992080cb94eba42451
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-02-27 19:56:58 -08:00
Mayank Rana
0d11e5fbc0 f_gsi: Make usb ipa wq as freezable workqueue
USB function driver uses usb_gadget_autopm_get() API to increments
USB controller device's PM runtime usage and child count, and also
expects that USB controller is resumed. Late suspend disables USB
controller device's PM runtime functionality by incrementing
disable_depth count and early resume enables it back once system is
resumed. This results into pm_runtime_get_sync() returning -EACCESS
when APPS is power collapsed and it is resuming due to USB bus resume
case. usb_gadget_autopm_get() API is decrementing device's PM runtime
usage count if it receives error value from pm_runtime_get_sync() API.
USB function driver doesn't check return value which results into
continuing USB operation. On next bus suspend, it decrements usage count
although it was not incremented in previous resume case which makes PM
runtime usage count negative. This can cause multiple issues as below:
1. USB bus resume may take more time causing host re-enumerating USB
gadget device
2. Unclock register access on remote wakeup case
3. USB host mode enumeration may fail due to dwc3 device usage count
is negative.

Fix this issue by making usb ipa wq as freezable workqueue which will
make sure that ipa_work_handler() work is executed only after system is
resumed and USB controller device's PM runtime is enabled.

CRs-Fixed: 1075002, 1074383
Change-Id: I300d1a0081fafcbef3c00c63cddd49be54a651e5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2017-02-27 18:29:57 -08:00
Mayank Rana
b7ac056fb9 f_gsi: Fix error handling with usb_func_ep_queue() return value
usb_func_ep_queue() returns -EAGAIN if usb is function suspended and
successfully remote wakeup is performed. This change fixes error
handling with USB GSI function driver to make sure caller knows that
request is actually queued or not from this context. This makes sure
that USB request is queued once USB host has resumed USB bus.

CRs-Fixed: 1033093
Change-Id: I3f3cb1b6b42530bfa93e0d4badacfe651b6bbb4c
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2017-02-27 18:29:57 -08:00
Gidon Studinski
7ba949a80b msm: ipa: increment GSI command timeout
Increment GSI command timeout. This is needed since during Q6 GSI FW
authentication GSI HW is disabled and the response for the HW may be
delayed.

CRs-Fixed:
Change-Id: Ia9ed0f0163abbfd3e242c38a9aea084c1c37e8fd
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>:
2017-02-27 15:41:10 -08:00
Linux Build Service Account
10a55a5874 Merge "ARM: dts: msm: update dload type imem offset for SDM630" 2017-02-27 15:16:34 -08:00
Linux Build Service Account
c892e455fc Merge "ARM: dts: msm: update dload type imem offset for SDM660" 2017-02-27 15:16:33 -08:00
Linux Build Service Account
f32c41e6a5 Merge "msm: kgsl: Use init_utsname() instead of ustname() for kernel build info." 2017-02-27 15:16:32 -08:00
Linux Build Service Account
52e55af28b Merge "usb: gadget: f_mass_storage: Allow USB LPM upon ep disable" 2017-02-27 15:16:31 -08:00
Linux Build Service Account
e5a5057bbd Merge "soc: qcom: spcom: propagate response timeout error" 2017-02-27 15:16:31 -08:00
Linux Build Service Account
7728309bc3 Merge "clk: msm: clock-mmss-8998: Update frequency plan for byte/pixel clock" 2017-02-27 15:16:30 -08:00
Linux Build Service Account
17de1566e1 Merge "usb: pd: Avoid buffer overrun during msg_rx" 2017-02-27 15:16:29 -08:00
Zhen Kong
364643660e qseecom: add mutex around qseecom_set_client_mem_param
Add mutex around qseecom_set_client_mem_param to prevent an
ioctl thread modifying and corrupting data which is being
processed by another ioctl in the other thread

Change-Id: I0cfb8afab4001c2913be693dfe44c761b9568893
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-02-27 13:45:03 -08:00
Satya Durga Srinivasu Prabhala
544dff7ea4 soc: qcom: pil-loaders: move pil loading of ADSP, SLPI & CDSP to workqueue
When pil loading done through user space helper, there is a possibility
that signal could be pending on thread that initiated the pil, which would
lead to pil failure. To avoid this issue, move pil loading for ADSP, SLPI
and CDSP to separate workqueue in respective loader drivers.

Change-Id: Ie60a7eba7c52ac1565ce166d0e367379cce0b03e
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-02-27 11:46:00 -08:00
Abhijeet Dharmapurikar
b5629d0b98 qcom: smb138x: Average 10 die temperature samples
Averaging 10 die temperature samples reduces error caused by
a trim issue.

Change-Id: Ie0b9477c121df92544280b8e322c2205c680f6eb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-27 11:05:36 -08:00