summaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | android/lowmemorykiller: Selectively count free CMA pagesLiam Mark2016-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain memory configurations there can be a large number of CMA pages which are not suitable to satisfy certain memory requests. This large number of unsuitable pages can cause the lowmemorykiller to not kill any tasks because the lowmemorykiller counts all free pages. In order to ensure the lowmemorykiller properly evaluates the free memory only count the free CMA pages if they are suitable for satisfying the memory request. Change-Id: I7f06d53e2d8cfe7439e5561fe6e5209ce73b1c90 CRs-fixed: 437016 Signed-off-by: Liam Mark <lmark@codeaurora.org>
* | | | | | android/lowmemorykiller: Ignore tasks with freed mmLiam Mark2016-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A killed task can stay in the task list long after its memory has been returned to the system, therefore ignore any tasks whose mm struct has been freed. Change-Id: I76394b203b4ab2312437c839976f0ecb7b6dde4e CRs-fixed: 450383 Signed-off-by: Liam Mark <lmark@codeaurora.org>
* | | | | | USB: QTI: Add missing usb_ctrl_qti.hMayank Rana2016-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f_gsi compilation is failing with below error: fatal error: linux/usb/usb_ctrl_qti.h: No such file or directory Hence add missing usb_ctrl_qti.h to resolve above error while compiling f_gsi.c file. This file's snapshot is taken from msm-3.18 kernel as 'commit 24b986908cc1 ("power: qpnp-fg: stop IMA transactions during FG shutdown")'. CRs-Fixed: 1001469 Change-Id: Ib7dce6b2ae1670554a29847e4381e71ba7b75edf Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | ASoC: msm: qdsp6v2: use token for tracking no wait cmdShiv Maliyappanahalli2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use tokens to track all active no wait commands. In ASM driver, certain commands are waited on to get response from ADSP. There is a possibility that certain no-wait commands can be improperly recognized and woken up leading to time outs. Change-Id: I2030a354493845b63cf92d35ca4eaadef38cfb79 Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
* | | | | | platform: qpnp-revid: add support for PM8005David Collins2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The subtype register value for PM8005 is 0x18. Add this to the list of known PMICs. Change-Id: I5cd316784f1339975a973e63c962fae6cb9db852 CRs-Fixed: 986619 Signed-off-by: David Collins <collinsd@codeaurora.org>
* | | | | | clk: msm: clock: Register graphics clocks in separate probe functionsDeepak Katragadda2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CPR driver on MSMCOBALT needs the gpucc_rbcpr_clk clock in order to probe and register the gfx_vreg regulator which the graphics clock driver in-turn is dependent on for registering the gfx3d clocks. To break this circular dependency, register the non-gfx clocks first, let the CPR driver probe, and then register the GPU PLLs and gfx3d clocks. Also, correct the gfx CRC sequence. CRs-Fixed: 986619 Change-Id: Id16ad7940e96cc9d5a3127551c8a92b05cfbb181 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | | | Merge branch 'mdss-final-replay' into msm-4.4Adrian Salido-Moreno2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge brings all display changes from msm-3.18 kernel * (58 commits) msm: mdss: add support for additional DMA pipes msm: mdss: refactor device tree pipe parsing logic msm: mdss: refactor mixer configuration code msm: mdss: add support for secure display on msm8953. msm: mdss: disable ECG feature on 28nm PHY platform msm: mdss: send DSI command using TPG when in secure session msm: mdss: Update histogram and PA LUT in mdss V3 msm: mdss: validate layer count before copying userdata msm: mdss: Fix potential NULL pointer dereferences Revert "msm: mdss: Remove redundant handoff pending check" msm: mdss: hdmi: Do not treat intermediate ddc error as failure msm: mdss: revisit igc pipe enumeration logic msm: mdss: Add PA support for mdss V3 msm: mdss: Add support for mdss v3 ops msm: mdss: Update the postprocessing ops using mdss revision msm: mdss: update the caching payload based on mdss version msm: clk: hdmi: add support for atomic update msm: sde: Add v4l2 rotator driver to enable multi-context usecase msm: mdss: refactor pipe type checks msm: mdss: add proper layer zorder validation msm: mdss: stub bus scaling functions if driver is disabled msm: mdss: avoid failure if primary panel pref is not enabled msm: adv7533: add support for clients to read audio block msm: mdss: add lineptr interrupt support for command mode panels msm: mdss: update rotator frame rate in the pipe configuration mdss: msm: Avoid excessive failure logs in igc config msm: mdss: delay dma commands for split-dsi cmd mode panels msm: mdss: enable GDSC before enabling clocks in MDP3 probe mdss: dsi: turn off phy power supply during static screen mdss: dsi: read dsi and phy revision during dsi ctrl probe msm: mdss: Fix memory leak in MDP3 driver msm: mdss: delay overlay start until first update for external msm: mdss: free splash memory for MSM8909w after splash done msm: mdss: hdmi: separate audio from transmitter core msm: mdss: disable dsi burst mode when idle is enabled msm: mdss: remove invalid csc initialization during hw init msm: mdss: dsi: increase dsi error count only for valid errors msm: mdss: remove HIST LUT programming in mdss_hw_init msm: mdss: dsi: ignore error interrupt when mask not set msm: mdss: add support to configure bus scale vectors from dt msm: mdss: unstage the pipe if there is z_order mismatch msm: mdss: squash MDP3 driver changes and SMMU change msm: mdss: Read the bridge chip name and instance id from DTSI msm: mdss: Enable continuous splash on bridge chip msm: mdss: Fix multiple bridge chip usecase msm: mdss: Enable export of mdss interrupt to external driver msm: mdss: rotator: turn off rotator clock in wq release msm: mdss: fix ulps during suspend feature logic clk: msm: mdss: program correct divider for PLL configuration msm: mdss: fix DSI PHY timing configuration logic msm: mdss: hdmi: add support for hdmi simulation msm: mdss: handle race condition in pingpong done counter clk: qcom: mdss: calculate pixel clock for HDMI during handoff msm: mdss: ensure proper dynamic refresh programming for dual DSI msm: mdss: Add fps flag and update blit request version msm: mdss: initialize fb split values during fb probe mdss: mdp: fix rotator compat layer copy msm: mdss: handle DSI ctrl/PHY regulator control properly CRs-Fixed: 1000197 Change-Id: I521519c8abe8eed6924e2fbe3e1a026126582b77 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | | | | bluetooth: Add WCN3990 power controlSungjun Park2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support WCN3990 chipset, add control to configure regulators and clock. Change-Id: Ibf0e4a0ebd55adaadb6d26b335c3d0a9edbe8845 Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
* | | | | | msm: camera: sensor: Update actuator specific I2C structuresRajesh Bondugula2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update actuator specific I2C addr_type and data_type structures. Use the strucutres defined by sensor. CRs-Fixed: 982082 Change-Id: I77753fd25d5a4256a4a4cdd74518facd63becf25 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
* | | | | | msm: ipa3: include ipa.h from ipa_odu_bridge.hAmir Levy2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to allow ipa_odu_bridge clients to include only the dedicated header ipa_odu_bridge.h and also have the symbols of shared IPA structures and definitions, include ipa.h from ipa_odu_bridge.h. The clients of ipa_odu_bridge will use only APIs from ipa_odu_bridge.h. CRs-fixed: 999935 Change-Id: Ic6da089ebd7878f0d7ceebde7cd8e8549c30182e Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | | | | msm: ipa3: remove odu_bridge functions from ipa.hAmir Levy2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of IPA driver refactoring, a separation has been made between IPA core driver and the IPA clients. odu_bridge driver has moved to the ipa_clients folder and a dedicated header file has been created in order to provide a direct interface between IPA odu_bridge client driver and other drivers without a direct interaction with the IPA core driver. This change moves odu_bridge functions and structure from ipa.h to the ipa_odu_bridge.h header. CRs-fixed: 999935 Change-Id: I1b24c4e13daaae3e63c5cacefcbda12b8cfbeeb8 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | | | | msm: ipa3: add odu_bridge to ipa_clients folderAmir Levy2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of IPA driver refactoring, a separation has been made between IPA core driver and the IPA clients. odu_bridge driver has moved to the ipa_clients folder and a dedicated header file has been created in order to provide a direct interface between IPA odu_bridge client driver and other drivers without a direct interaction with the IPA core driver. CRs-Fixed: 999935 Change-Id: Ib5109681c62137d1310539daa816d5229bc08098 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | | | | soc: qcom: smem: Renaming smem item SMEM_SMEM_STATIC_LOG_IDXDhoat Harpal2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SMEM_SMEM_STATIC_LOG_IDX is currently unused as its usecase has been deprecated for a long time. Reallocate the ID to SMEM_XBL_LOADER_CORE_INFO. CRs-Fixed: 998028 Change-Id: I5f80603633464e7eea322fde57110e377b72d84c Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | msm: ipa: header change for wlan VA mappingSkylar Chang2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan will pass the VA to IPA-driver to let IPA-driver access the values of rdy_ring_rp and rdy_comp_ring_wp to decive when can suspend the WDI pipe Change-Id: I73447c5557d42817ac2214532273e0de638e13d9 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | | | msm: ipa: header file change for WDI2.0Skylar Chang2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structure changes for WDI2.0, wlan needs pass comp_ring_base_pa and comp_ring_wp_pa to ipa-uc Change-Id: Ib0cdd0c7614916e53f2731f61d0399959d4b739d Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | | | icnss: Update WLAN mode in wlan_firmware_serviceYuanyuan Liu2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CCPM/QVIT in WLAN mode and add support fo setting WLAN mode from command line. CRs-Fixed: 986484 Change-Id: I5921dc3978bf96221b50148bb2f86b0ffed3b5fb Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | cfg80211: basic support for PBSS network typeLior David2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PBSS (Personal Basic Service Set) is a new BSS type for DMG networks. It is similar to infrastructure BSS, having an AP-like entity called PCP (PBSS Control Point), but it has few differences. PBSS support is mandatory for 11ad devices. Add support for PBSS by introducing a new PBSS flag attribute. The PBSS flag is used in the START_AP command to request starting a PCP instead of an AP, and in the CONNECT command to request connecting to a PCP instead of an AP. Change-Id: I9f26a8ff8433268240eb9443befadc0d279a0293 [liord@codeaurora.org: added missing attributes to nl80211.h that were added in upstream kernel before the PBSS attribute, in order to keep the ABI compatible] Signed-off-by: Lior David <liord@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Git-commit: 00807f28573a101dc2833f0075e806b9874f306c Git-repo: https://github.com/kvalo/ath.git CRs-Fixed: 982931 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | | | | soc: qcom: Service locator for kernel clientsPushkar Joshi2016-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a library that retrieves location information given a service identifier. Location here translates to what process domain exports the service, and which subsystem that process executes on. Change-Id: Ia5d76ea4de29dbafe309a831f8a2418c058cba94 Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org> [dkeitel@codeaurora.org: fixed minor conflicts in Kconfig and Makefile.] Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | | icnss: Update WLFW QMI messagesYuanyuan Liu2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add QMI message to send MSA0 physical memory start address and size to wlan FW. Add QMI message indication to get the HAL-PYH Pin connect test result from wlan FW. Add a new qmi message for sending fw debug configuration. Update cap_resp message. CRs-Fixed: 978217 Change-Id: Ie0fa374b720ebbffd1d1fd5b9289b2aa816a822a Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | clk: msm: alpha-pll: Add support for dynamic programming of PLLsDevesh Jhunjhunwala2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the alpha_pll_set_rate function to support dynamically updating the pll frequency if the dynamic_update flag is defined for the pll. Also set the HW_UPDATE_BYPASS_LOGIC bit for these plls during handoff. CRs-Fixed: 988270 Change-Id: I7f3527ef45cf68c3f5c41e04bfdd3ede55bbaa4d Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | | | Ion: Add page pooling to Ion System Secure HeapRohit Vaswani2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize the Ion System Secure Heap by adding per VMID based page pooling. The secure/assigned pages are pooled. This essentially uses the same pooling functionality as the system heap, but adds the VMID component to each pool. Change-Id: Ib65b3f490ab1bb299b57227edba88b876924ff2b Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* | | | | | msm_serial_hs: Fix race condition blocking suspend and remove wakeup sourceGirish Mahadevan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __pm_stay_awake/relax() calls were moved to runtime callbacks as a means to fix data loss due to race conditions between incoming userspace commands and executing PM related callbacks. However calling the __pm_relax (to notify wakeup event processing) as part of the runtime suspend callback could be race prone between the system suspend and the runtime framework. If the system suspend gets to run before the runtime callback, the wakeup event will block system suspend. Remove the use of the wakeup source altogether, instead do these: 1. Block system suspend based on the current clk request count and the RPM state of the device (to detect potential inbound userspace requests). 2. If the driver is in the process of executing the system suspend callback, ignore any userspace requests. 3. If the client calls a shutdown without an unvote ioctl, zero out the client_count vote forcefully to allow suspend. CRs-Fixed: 977421 Change-Id: I17de85f29b555c1a4563dd59bec3ba3084c3604f Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
* | | | | | iommu: Introduce DOMAIN_ATTR_S1_BYPASSPatrick Daly2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain configurations may require nested translation, but may want to avoid software performance limitation on map/unmap operations. Change-Id: I69bed6cc9d801709849ebc91b76d2a9d6649865a Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* | | | | | adreno_tz: Use context aware dcvs calls, if availableDeepak Kumar2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to use context aware dcvs, if it is supported by TZ. Context aware dcvs helps in handling sudden workload scenarios. Change-Id: I5e6e6003a5c61eacb4f5af91910994919a5a7684 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org> Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
* | | | | | eCryptfs: fixed bug in cipher handlingGilad Broner2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cipher was sometimes not treated properly, causing valid requests belonging to eCryptfs to be treated as regular. Change-Id: Iabfb93cc4c9e9e167901043482eb99613ed70343 Signed-off-by: Andrey Markovytch <andreym@codeaurora.org> Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | | msm: gsi: update MHI channel scratchSkylar Chang2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new fields to MHI channel scratch according to MHI spec. CRs-Fixed: 990237 Change-Id: I36476b8a24b2a1b3bc55fa5832404bb106d810ec Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | | | net: cnss: add cnss common api support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add common api support of subsystem restart and bus bandwidth for dual wifi. This feature redirect the cnss export api according to the bus type SDIO/PCI. CRs-Fixed: 986275 Change-Id: Iaf13d6c6d68ef62b7e4f6581899ec8325c5e9696 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | | mm: vmstat: add pageoutcleanVinayak Menon2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vmstat events currently count pgpgout, but that includes only the writebacks, and not the reclaim of clean pages. Add an event to count clean page evictions. This is helpful to evaluate page thrashing cases. Change-Id: Icfb797877a544a58c289074bdc290dfbc1384514 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
* | | | | | msm: sde: Add interface to support sde v4l2 rotatorAlan Kwong2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current fbdev rotator interface lacks support for mult-context use cases. This new interface adopts V4L2 M2M framework to support multiple concurrent sessions/contexts efficiently. CRs-Fixed: 972831 Change-Id: I89593a57ba44e91c95d73154a7830539e5aab6e3 Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* | | | | | msm: camera: sensor: Adapting sensor driver to soc layerSureshnaidu Laveti2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapting sensor driver to SOC layer by replacing msm specific routines with SOC API which eases the portability of sensor driver on to non-msm platforms. Change-Id: I147dbf714d913b4aa55adc313c354f85cf4b23dd Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* | | | | | cnss: Implement API to store WLAN MAC address in platform driverKomal Seelam2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN Functional Drivers Queries cnss platform driver to get the MAC Address. If the OEM doesn't provide the valid MAC address, the WLAN Driver fallbacks to use other approaches to get MAC address. This works under CONFIG_CNSS_MAC feature flag, which will be enabled only on the OEM platforms. For internal platforms, CNSS driver doesn't hold any valid mac addresses. CRs-Fixed: 985585 Change-Id: I1e8a030a32a640cec84cadd6b36b37938d5fe6be Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
* | | | | | clk: msm: clock: Remove support for the gcc_mmss_qm_ahb_clk clockDeepak Katragadda2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gcc_mmss_qm_ahb_ahb_clk is controlled by XBL on MSMCOBALT. There is no need to control it separately from the linux clock driver. Remove support for it. CRs-Fixed: 988972 Change-Id: I23b4114096758342403e07058ef4df9b18f6622c Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | | | clk: msm: clock: Add support for programming the DCC AHB clock registerDeepak Katragadda2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gcc_dcc_ahb_clk needs to be controlled by the HLOS clock driver on MSMCOBALT since its use is restricted to the HLOS debug driver. CRs-Fixed: 988930 Change-Id: I1abef9f1268080dbe5dba1e91f4b84fab03ce66c Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | | | msm: camera: uapi header splitJeremy Gebben2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move userspace visible definitions to the uapi directory. Change-Id: I95b754a1f888f849eb50e449a211b18633aff6a2 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | | | soc: qcom: pil-mss: Add scm call to inform TZ of modem areaArun KS2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to make scm_calls to TZ to inform modem start address and size so that TZ can unmap this range to avoid speculative access. Change-Id: I4640ddab56991522870e9879d17fe5732dc40223 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org> Signed-off-by: Arun KS <arunks@codeaurora.org>
* | | | | | msm: mdss: add interface for all MDP supported formatsRamkumar Radhakrishnan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define all MDP supported RGB/YUV formats in user mode interface. CRs-Fixed: 984465 Change-Id: I5af1d0b4a2b249b600319abcf23c188b7d2948a5 Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
* | | | | | msm: mdss: Update interface to support Qseed3.Gopikrishnaiah Anandan2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSM cobalt mdss hardware block supports Qseed3 module which provides functionality of scaling, sharpening. Change adds support for exposing the block to user-space clients. CRs-Fixed: 982712 Change-Id: I7a74566a527285aba313321a59bc17dd362e84ff Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
* | | | | | msm: mdss: Add mdss version for msmcobalt.Jeykumar Sankaran2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds MDSS Hardware revision for msmcobalt. Change-Id: I559be9fd98978927dff81ab19bff6b7171679428 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org> Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> CRs-Fixed: 979566 [dkeitel@codeaurora.org: fixed minor merge conflict.] Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | | qcom: scm: provide scm_is_secure_device() apiPrasad Sodagudi2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new scm_is_secure_device() API, so that all platform drivers can check and take appropriate action for secure and non-secure devices. Change-Id: I5569f4aaf4bcbec2922a7745ec0fdc1ab423cc23 Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
* | | | | | qseecom: move compat_qseecom.hZhen Kong2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uapi directory shouldn't contain compat definitions, so move this file out of there. Change-Id: Ieef35ec02157c253a137c1b1bce3c6518c7f1b31 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org> Signed-off-by: Zhen Kong <zkong@codeaurora.org>
* | | | | | msm: ipa3: Add the ability to set dynamically HPS/DPS seq typeNadine Toledano2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HPS/DPS sequencer type is configured statically for PROD EPs according to ipa3_ep_mapping table. This change adds the ability to set a different HPS/DPS sequencer configuration for PRODs, which mainly be used in testing CRs-Fixed: 986167 Change-Id: I47dec10e757694596385f5118486603c702fe302 Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
* | | | | | msm: ipa: add support for AGGR_SW_EOF_ACTIVESkylar Chang2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure AGGR_SW_EOF_ACTIVE for WAN_CONS pipe in order to allow modem to close aggregation on this pipe. This is needed in order for modem to ensure a QMAP command packet always resides in the end of aggregated frame. Change-Id: I7412f1f0af8d2109853e311de815a1f1ec3220e3 CRs-Fixed: 979484 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | | | msm: secure_buffer: Add WLAN supportSameer Thalappil2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for WLAN Adrastea hardware. Change-Id: I99868cf456c5b4641731dcea884b67627780477d Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | | | net: cnss: add subsystem restart support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subsystem device add support for subsystem restart recovery and ramdump device for cnss firmware dump collection before the subsystem restart. Refactor subsystem restart wrapper APIs to avoid the name space collision in cnss platform driver compilation in dual WiFi mode. CRs-Fixed: 983677 Change-Id: Ib4a8d1a6d0ce8f1faa43ce0aa8312823b1ca3c15 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | | net: cnss: add PM QoS support for dual WiFiSarada Prasanna Garnayak2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PM QoS adds support to improve the wlan throughput. The cnss platform driver export PM QoS API to wlan host driver. Refactor PM QoS wrapper APIs to avoid the name space collision in cnss platform driver compilation in dual WiFi mode. CRs-Fixed: 983653 Change-Id: Id7a486f2f111476e73d5707eba36611a3530e9cf Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | | clk: msm: clock-local2: Set RCG root_enable bit prior to changing rateDeepak Katragadda2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firmware running on HW blocks could be powering down the branch clock or the RCG whilst software is doing frequency changes. If this happens, the RCG behavior is undefined and may cause issues with its functioning. To work around this, use the RCG root_en bit and force turn it on while scaling the rate. In addition, make the polling timeouts configurable. CRs-Fixed: 971305 Change-Id: If2db14c70614c47d673fc735f5f4bac276d4a3d9 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | | | clk: msm: clock-mmss-cobalt: Add support for some display clocksDeepak Katragadda2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mmss_mdss_byte0/1_intf_clk clocks are needed by the display driver. Add support to program them in the clock driver. CRs-Fixed: 981902 Change-Id: I17b1ecaec9c98261faa49c6f088c4802a716ecf7 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | | | input: synaptics_dsx_2.6: update driver to enable touch S332UMao Li2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synaptics reference driver V2.6 is being cleaned up to enable touch controller S332U. Add Kconfig and Makefile changes to enable Synaptics dsx V2.6 driver's compilation. CRs-Fixed: 943896 Change-Id: I7e79e9ee321b7a7c90d27f065281dc73cee65391 Signed-off-by: Mao Li <maol@codeaurora.org>
* | | | | | ASoC: msm: qdsp6v2: Add missing routing for MI2S interfacesRoberto Granados Dorado2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds some routing missing plus few other fixes needed when MI2S interfaces are used. CRs-fixed: 909961 Change-Id: Ic1e234c955a6162d67fd97ac7647ec810ede204c Signed-off-by: Roberto Granados Dorado <robertog@codeaurora.org>
* | | | | | msm: kgsl: Add documentation to the new cmdbatch profiling flagJonathan Wicks2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for KGSL_CMDBATCH_PROFILING_KTIME to make it clear that KGSL_CMDBATCH_PROFILING must also be set. CRs-Fixed: 977455 Change-Id: I44f9dbc006450fbe226b642ee66b8d49dd1108cc Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>