Commit graph

585108 commits

Author SHA1 Message Date
Linux Build Service Account
07138c3906 Merge "ARM: dts: msm: Add support for sdm630 QRD board" 2017-03-02 08:26:56 -08:00
Ghanim Fodi
243a07207f msm: ipa3: fix DMA memory allocation success check
IPA allocates memory for Filtering and Routing tables
by the DMA memory allocation Linux APIs.
The code did not check the success of allocation
correctly. This change fixes the check.

CRs-fixed: 2014060
Change-Id: I95a170f19e3becfc2b90bf5931947c0637464257
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-03-02 07:34:16 -08:00
Mohit Aggarwal
738d2a8fea alarmtimer: Program mpm wakeup time in milliseconds
Currently, mpm wakeup time is programmed in seconds
due to which there is a possibility that wakeup
happens later than the expected time. This patch
fixes the issue by programming the mpm wakeup time
in milliseconds.

CRs-Fixed: 2010001
Change-Id: I5c4905a0386e60ae54876f30d89f445fd06a161c
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2017-03-02 03:05:45 -08:00
Narender Ankam
a471176a2b ARM: dts: msm: add device nodes to support DP on sdm630
Add device nodes for dp_ctrl and dp_pll to bring up display port
on sdm630.

Change-Id: I14621a6e4d6273b56c1ad7639baa5e83c058fe63
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-03-02 16:10:38 +05:30
Sandeep Panda
6504e74fc6 ARM: dts: msm: enable dynamic fps for nt35597 truly panel on sdm660
This reverts commit e355807417 ("ARM: dts:
msm: disable dynamic fps for nt35597 truly panel on sdm660").

Adding back dynamic fps support for nt35597 truly panel, since the
display split screen issue is root caused to be related to DSI BTA
operation.

Change-Id: If020eb482b3e53ea114365734663a8c14c37dc14
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-02 15:59:24 +05:30
Maulik Shah
47beb3017e cpuidle: lpm-levels: Update suspend wake time
Alarmtimer will send suspend wake time in milliseconds
instead of seconds to minimize round off errors. Update
lpm-levels accordingly.

Change-Id: I58c780993ce35cda69cd963996f057d6e2265c6d
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2017-03-02 15:48:35 +05:30
Sarada Prasanna Garnayak
84cfceeac2 ath10k: define structure for the copy engine misc regs
Define structures for the copy engine misc registers
copy engine CMD halt, watermark source, watermark
destination, host IE ring.

This adds support to avoid the conditional compilation,
code optimization and dynamic configuration of the copy
engine register map for respective hardware bus interface.

Change-Id: I42b9c0ad0927b492e3b4f040ae7163456b161735
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-01 23:24:39 -08:00
Sarada Prasanna Garnayak
ff6155fa90 ath10k: define structure for the copy engine CTRL_1 regs
Define a structure for the copy engine CTRL_1 register
source, destination and dmax ring. This adds support to
avoid the conditional compilation, code optimization and
dynamic configuration of the copy engine register map
for respective hardware bus interface.

Change-Id: Ic0a4190b0735fb5d905ea75ac71e8060260dde74
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-01 23:24:33 -08:00
Sarada Prasanna Garnayak
e42e488a2d ath10k: define structure for the copy engine register map
Instead of defining the copy engine register map as a macro,
Define a structure for the copy engine register map to avoid
the conditional compilation, code optimization and dynamic
configuration of the copy engine register map for respective
hardware bus interface.

Change-Id: I799794ed85b83e342c2aab3d12b2876fc28d680b
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-01 23:24:26 -08:00
Shrey Vijay
280b83a89c ARM: dts: msm: Change BLSP assignment for APQ8098-mediabox
By default codec uses SPI_10 BLSP instance. On mediabox platform,
codec usecase is not present. Hence disable SPI_10 instance on
APQ8098 mediabox platform.

Change-Id: I721673b8cc0ef6d974e715ffd405fc1b11e2c9d5
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2017-03-02 12:10:30 +05:30
Govind Singh
58ce0d4576 ath10k: Remove bus structures from ath10k struct
ath10k struct is bus opaque structure.
Remove bus structures from ath10k struct to make it
bus independent.

Change-Id: Ifb82e1fc4525c535e8a19f95bd4da006294be203
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-01 22:20:55 -08:00
Sayali Lokhande
9db290026f ARM: dts: msm: Update SDCC PM QOS values for SDM660
Update SDCC PM QOS latencies to allow l2-retention
state as per measured LPM latencies on SDM660 target.

Change-Id: Iac0a0473f78be90722ceb07db1f85ac6adb69911
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-03-02 10:53:16 +05:30
Sayali Lokhande
adad17d072 ARM: dts: msm: Update SDCC bus voting for SDM660
On SDM660, for sdcc there are two msm-bus paths:
1. AGGNOC->SNOC->BIMC
2. CPU->CNOC->SDC_CFG
For SDCC DATA-FIFO or DPRAM, write clock is HCLK
and read clock is MCLK for TX transactions and
vice-versa for RX transactions.
As both HCLK and MCLK are being used for data
transfers ,we need to provide bus bandwidth vote
from CPU(id:1) to SDC_CFG(id:606) which will be
used for register access and data transfers.

By default on sdm660, we observed cnoc_clk at only
19.2MHz which is very less and hence affecting eMMC
performance (drop upto 50%) for read/writes.
This change is updating bus voting from CPU to CNOC
and helps improving eMMC performance.

Change-Id: I9e3dadf307444be464a42f4a518b44e3f6e98a75
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-03-02 09:39:35 +05:30
Taniya Das
9e172a39e1 clk: qcom: Use the saved current frequency for enable_safe_config
A clk_get_rate in the clk_enable path would result in a BUG from sleeping
context, as clk_get_rate would hold a mutex when we have already acquired a
spinlock in the clk_enable.

Change-Id: I7b32292710bbea3565cdc51c79916fddc60f8bba
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2017-03-02 09:12:56 +05:30
Linux Build Service Account
660ab6c3a2 Merge "defconfig: msm: Turn on ESOC configs" 2017-03-01 18:38:33 -08:00
Linux Build Service Account
1c229aac13 Merge "usb: gadget: f_fs: Fix memory leak for ipc_log_context" 2017-03-01 18:38:33 -08:00
Linux Build Service Account
8ddeda9e35 Merge "iommu/io-pgtable-fast: cache clean the last level ptes" 2017-03-01 18:38:31 -08:00
Linux Build Service Account
58411a695c Merge "iommu/io-pgtable-fast: optimize statically allocated pages" 2017-03-01 18:38:31 -08:00
Linux Build Service Account
cbaf84eaa7 Merge "power: qpnp-fg-gen3: Add support to clamp ESR" 2017-03-01 18:38:30 -08:00
Linux Build Service Account
883bdb62f1 Merge "msm: camera: isp: Check userspace parameters" 2017-03-01 18:38:28 -08:00
Linux Build Service Account
fff1286023 Merge "icnss: Trigger recovery only if PDR enabled" 2017-03-01 18:38:27 -08:00
Linux Build Service Account
ec98470ea9 Merge "wil6210: remove "No Snoop" settings for RX transactions" 2017-03-01 18:38:27 -08:00
Yingwei Zhao
3f48380f37 ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD
In the new SDM660 QRD devices, PM660 does not need the hardware
workround that cut-off voltage should be set to 3.7V, so delete
the qcom,fg-cutoff-voltage property.

CRs-Fixed: 2013279
Change-Id: Ica55128a2f426a668b0d43d04424e13672dd78fd
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-03-01 18:16:23 -08:00
Xiaojun Sang
c563e4e88f ARM: dts: msm: Remove add sb_4_tx_vi to support VI recording at msm8998
This reverts commit 9f45a559c7 ("ARM: dts: msm:
add sb_4_tx_vi to support VI recording at msm8998")

It is unnecessary to support concurrency of VI sense
recording and speaker protection.

CRs-Fixed: 1113625
Change-Id: I13ee9fd2daed2ad55347c112eeb79a9bfe6495ba
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2017-03-02 10:15:00 +08:00
Pengfei Liu
2a8832a94e ARM: dts: msm: Add support for sdm630 QRD board
Add camera node including rear aux and front camera node, also
add corresponding eeprom actuator ois flash and torch node.

Change-Id: I84e3bfa11127ca7808491df728665f74c9222343
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2017-03-01 17:59:52 -08:00
Abhijeet Dharmapurikar
5b289d3a64 leds: remove unused driver leds-qpnp-flash.c
leds-qpnp-flash driver is not supported anymore. Remove it.

Change-Id: Ie2f570bad8171c460b8167f140d71c052ada2b17
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-03-01 14:07:10 -08:00
Satya Durga Srinivasu Prabhala
812a215410 defconfig: msm: Turn on ESOC configs
Enable support for ESOC drivers.

Change-Id: Ie10f7b74fa7d06c7fcc93bf6eaa23889fc533b86
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-01 11:26:11 -08:00
Linux Build Service Account
81eef00c67 Merge "ASoC: msm8998: Add micbias configuration for MBHC" 2017-03-01 11:09:04 -08:00
Linux Build Service Account
1e6ff27a13 Merge "defconfig: msm: Enable DRM" 2017-03-01 11:09:03 -08:00
Linux Build Service Account
db26a193ab Merge "power: bcl_peripheral: Enable BCL LMH algorithm only once" 2017-03-01 11:09:02 -08:00
Linux Build Service Account
59179042e8 Merge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD" 2017-03-01 11:09:01 -08:00
Linux Build Service Account
7fb2e5cac6 Merge "power: supply: qcom: remove unused drivers" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
72bcf7d23a Merge "power: qcom-battery: Add sysfs to restrict charging" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
11c1d338dc Merge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD" 2017-03-01 11:08:59 -08:00
Sudheer Papothi
55152cca82 ARM: dts: msm: Add support for ANC headset detection on MSM8998
Add support for ANC(Active Noise Cancellation) headset
detection on MSM8998 with WCD9340 codec.

CRs-Fixed: 2011559
Change-Id: Icaec66adb8c90c5df73ee44bf78bdee975248a20
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2017-03-01 23:56:06 +05:30
Utkarsh Saxena
cb49c46296 msm: ipa: Remove usage of stack memory
When stack memory is provided to IPA HW as part of
descriptor it can lead to cache alignment issues.
Make changes to use heap memory whereever applicable.

Change-Id: I666f98cf2ec45a4743db0ab7bc6d2df821cce84a
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-03-01 19:22:31 +05:30
Rajesh Kemisetti
236fb5f0cb msm: kgsl: Change GPU RAC hardware clockgating on SDM660
Disable GPU LRZ clock gating for A512 to avoid HW quirk.

Change-Id: I168d678ab2e08c6e2f16a63d6bc71e7f383f8f1b
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-03-01 17:25:17 +05:30
VijayaKumar T M
5e8e6aa40e msm: camera: add check to ensure user task wont hog CPU
If userspace provides a circular list to isp kenrel
driver through an ioctl, then dirver loops forever.
This way the task might hog the CPU in while loop.
To fix this issue, added a preset count to break
the loop after 100 iterations.

CRs-Fixed: 1064608
Change-Id: Ie896fd3da326e5e972266d8004baecf8681aea6d
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
2017-03-01 02:54:44 -08:00
Linux Build Service Account
712414ecaa Merge "ARM: dts: msm: Add device tree settings for A540 DRM on msm8998" 2017-03-01 02:23:05 -08:00
Linux Build Service Account
281a4451fc Merge "ARM: dts: msm: enable ESD, ULPS and partial update on sdm630" 2017-03-01 02:23:04 -08:00
Linux Build Service Account
751207dd53 Merge "sched: Print aggregation status in sched_get_busy trace event" 2017-03-01 02:23:03 -08:00
Linux Build Service Account
958a197973 Merge "USB: u_data_ipa: Fix pm_runtime_get/put() mismatch" 2017-03-01 02:23:02 -08:00
Linux Build Service Account
ce5c5c6e9d Merge "esoc: Add check for possible null pointer returns" 2017-03-01 02:23:01 -08:00
Linux Build Service Account
fb1f77e5a6 Merge "USB: composite: Release spinlock before WARN()" 2017-03-01 02:23:00 -08:00
Linux Build Service Account
307e1d3607 Merge "soc: qcom: sysmon-qmi: fix object corruption due to use after free" 2017-03-01 02:22:59 -08:00
Linux Build Service Account
1046c66c76 Merge "msm: mhi_rmnet: If failed, do not retry to queue UL buffers" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
1b7f8d6ab9 Merge "power: bcl: Serialize frequency mitigation request from BCL events" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
c7f26ebc66 Merge "ASoC: wsa881x: remove retry logic in swr_startup" 2017-03-01 02:22:56 -08:00
Linux Build Service Account
f6dd3a3c0d Merge "ARM: dts: msm: Add PBS client node for PM660" 2017-03-01 02:22:54 -08:00
Linux Build Service Account
c48a82429f Merge "regulator: qpnp-oledb: Add lab_vreg_ok notifier callback" 2017-03-01 02:22:53 -08:00