Commit graph

569519 commits

Author SHA1 Message Date
Jeevan Shriram
a6c4b5ad91 kernel: sched: Fix compilation issues for Usermode Linux
Fix compilation errors for ARCH=um for x86_64 architecture.

CRs-Fixed: 996252
Change-Id: I414b551e28a950e4b601f31bb4bfa2f1200d1713
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-04-12 15:49:42 -07:00
Jeevan Shriram
9df7002903 net: ipv4: Fix type casting to resolve compilation errors
Fix type casting in IPv4 and IPV6 driver to avoid compilation
issues for ARCH=um on x86_64.

CRs-Fixed: 996252
Change-Id: Ic3ed8affa2c5bc8fd9b403614f692ab01e1a307a
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-04-12 15:49:42 -07:00
David Collins
3ee8625f41 ARM: dts: msm: use VDD_GFX CPR regulator for GPU clock on msmcobalt
Switch the GPU clock to use the gfx_vreg CPR regulator device for
vdd_gpucc-supply.  This ensures that the VDD_GFX operating
voltage ends up as low as possible.  Also switch the gdsc_gpu_gx
GDSC regulator to use the gfx_vreg regulator for parent-supply.

Add and use a stub regulator for the GFX clock vdd_gpucc-supply
on sim and rumi targets since gfx_vreg may not be usable on these
targets for certain hardware and bootloader combinations.

Change-Id: Ic6536cb90da928ea82d4575922bdf3cb153e5a27
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:41 -07:00
David Collins
deb0522330 ARM: dts: msm: add VDD_GFX CPR controller device for msmcobalt
Add a VDD_GFX CPR4 controller device which allows consumers to
make voltage corner requests which are then translated to the
minimum possible voltage using the CPR hardware feedback.

Change-Id: Idd5f5380f911b5b5d402b7c19999ce2e300d660d
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:41 -07:00
David Collins
542cc0c4ed ARM: dts: msm: add VDD_GFX MEM-ACC regulator device for msmcobalt
Add a mem-acc-regulator device for the VDD_GFX supply which can
be used to switch the GPU memory arrays into and out of the SVS
voltage usage state.

Change-Id: If2559c619f51bd5a34b7845818ba4c4f8645a975
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:40 -07:00
David Collins
8a7aa1f37b ARM: dts: msm: replace PM8005 S1 stub regulator device on msmcobalt
Replace the PM8005 S1 stub regulator device with a qpnp-regulator
device.  This ensures that consumers physically affect the state
of S1.

Change-Id: I55723cb5a1d49672f243d6911889caa59ec0ee9f
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:40 -07:00
David Collins
bf55ec5b23 ARM: dts: msm: add PM8005 PMIC peripheral devices for msmcobalt
Add a dtsi file which specifies the peripherals found in the
PM8005 PMIC chip.  Include this new file for msmcobalt boards
since they make use of this chip.

Change-Id: I6620cf1fd5ec4181b7ce79bc97039af954dc324e
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:39 -07:00
David Collins
076ec489b9 platform: qpnp-revid: add support for PM8005
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>
2016-04-12 15:49:39 -07:00
David Collins
732654df61 regulator: qpnp-regulator: add support for FTS426 type regulators
Add support for PMIC FTSMPS 426 type regulators.  These have a
4 mV step size and a voltage control scheme consisting of two
8-bit registers defining a 16-bit voltage set point in units of
millivolts.

Change-Id: Id27bf066a014c0a39f47febff2603873050125d9
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:38 -07:00
David Collins
8d00063863 regulator: cpr3-mmss-regulator: add support for msmcobalt CPR4 controller
Add support for the fuse layout and hardware constraints of the
msmcobalt CPR4 controller which is used to manage the GPU supply
regulator.  Also update the cpr3-regulator core driver in order
to support CPR register writing for this device.

Change-Id: I408854a93e820c168551bcfec7d4f87cdbe5d638
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:38 -07:00
David Collins
4db208cd26 regulator: add documentation snapshot for mem-acc-regulator
This is a snapshot of the mem-acc-regulator device tree bindings
documentation file present in the msm-3.18 branch as of
commit 9d555a2ec04c ("regulator: mem-acc: Add support for multi
register configuration").

Change-Id: Iad561ef5bab93f1e82879364639b4a5472e65902
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:37 -07:00
Deepak Katragadda
ca18972305 clk: msm: clock: Register graphics clocks in separate probe functions
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>
2016-04-12 15:49:37 -07:00
David Keitel
0222e7057c soc: qcom: service-locator: add enable module parameter
Allow the service-locator module to be set via a module
parameter to for another avenue of customization.

CRs-Fixed: 982026
Change-Id: I300b01cc0f130e797734bfb576f2bfedf1075614
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-04-12 15:49:36 -07:00
Runmin Wang
fe8077c452 defconfig: msmcortex: Disable DBE_IRQ_ONLY for edac driver
Disable the double bit only flag for edac driver.

CRs-Fixed: 1000784
Change-Id: I54d9e9bf1ecfa0d882574dca7ed3bb7cd53b1ef6
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-04-12 15:49:36 -07:00
Lior David
471ea9d906 wil6210: basic PBSS/PCP support
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.
For example, stations inside a PBSS can communicate directly, and
the PCP role can be transferred between stations.

This change adds PBSS support, and has 2 main parts:
1. When starting an AP, add an option to start as a PCP instead.
This is implemented by a new PBSS flag which is passed as part of
the cfg80211_ap_settings structure.
2. When connecting to a BSS, add an option to connect to a PCP
instead of an AP. This is again implemented by a new PBSS flag,
added to the cfg80211_connect_params structure.

Change-Id: Ibfcbeb2df9857fecab4d42f0725d70d2a2fa4b98
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: eabb03b4a37cc7945ca62453402c74a0622e5a05
Git-repo: https://github.com/kvalo/ath.git
CRs-Fixed: 982931
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-12 15:49:36 -07:00
Liam Mark
738690cf5d ARM: dts: msm: add ion cma heaps for msmcobalt
Add the required ion cma heaps for msmcobalt.
Update the Device Tree with the concerned configuration.

Change-Id: Ie4bd19b0603e856107151972b626c70f9d04a624
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-04-12 15:49:35 -07:00
Liam Mark
d6c535157f ARM: dts: msm: Update memory map for msmcobalt
Update the memory map carveouts to be in sync with
the new msmcobalt memory map.

CRs-Fixed: 981975
Change-Id: I5e960ac0553b195e7a69ef596b5fbdcff2064786
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-04-12 15:49:34 -07:00
Adrian Salido-Moreno
be23185307 Merge branch 'mdss-final-replay' into msm-4.4
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>
2016-04-12 15:49:34 -07:00
Yan He
44fa187eeb ARM: dts: msm: add SPS node for msmcobalt
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: Ib3f0cd293e7e5d09f119c226acdca64c87ca61bd
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-04-11 16:00:25 -07:00
Runmin Wang
3f901317b1 defconfig: msmcortex-perf: Enable POWER_RESET_QCOM
Add POWER_RESET_QCOM in the perf defconfig.

CRs-Fixed: 1000759
Change-Id: I67181840c8e889ff31111f4fd419edbf5d8d0810
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-04-07 16:03:43 -07:00
Runmin Wang
ffba972fb3 arm64: Check for parity errors on synchronous aborts
Certain types of fatal synchronous aborts may be triggered by parity
errors in the L1 or L2 caches. Check whether a parity error occurred and
print out the relevant information.

CRs-Fixed: 1000767
Change-Id: I12b0341148f05a3129e8b1aed3ba322277276360
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-04-07 16:03:31 -07:00
Mayank Rana
25f5535451 ARM: dts: msm: Add QUSB PHY major revision for msm8996
This change add major revision related information for both
QUSB PHY for msm8996.

Change-Id: I68ae8d863a6e438a8d11061db2c75072f4a4e012
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-07 16:03:17 -07:00
Mayank Rana
9015d9791c usb: phy: qusb: Update QUSB PHY power up functionality for major rev 2
In new platform, few set of QUSB PHY related operational registers'
offset and usage is changed. This change adds QUSB PHY power up
and PLL lock functionality for QUSB PHY having major revision 2.

Change-Id: Id44c91481d4c184a1991768baf13adad2fae9fb3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-07 16:03:06 -07:00
Sungjun Park
61bd4201ae ARM: dts: msm: Add bluetooth DT for msm8998
Add Bluetooth device tree for WCN3990 chipset for msm8998.

Change-Id: I45809876336633a496d03e507403944c12f0abb9
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2016-04-07 16:02:54 -07:00
Sungjun Park
9ce80b18e1 bluetooth: Add WCN3990 power control
To support WCN3990 chipset, add control to configure
regulators and clock.

Change-Id: Ibf0e4a0ebd55adaadb6d26b335c3d0a9edbe8845
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2016-04-07 16:02:41 -07:00
Runmin Wang
3b2476f564 pinctrl: qcom: Add target value for gpio interrupt on msmcobalt
Gpio interrupt target needs to be configured to target
cpu subsystem.

CRs-Fixed: 1000634
Change-Id: I539dc604b150f9f23fda09f343cc5e1d25a6ca47
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-04-07 16:02:28 -07:00
Puja Gupta
1729a920de ARM: dts: msm: Modem PIL clock change for MSMCOBALT
Change modem pil proxy voting from 'clk_gcc_mss_q6_bimc_axi_clk' to
'clk_gcc_bimc_mss_q6_axi_clk'

CRs-Fixed: 1000636
Change-Id: I5a77c08532bb5e841f8c1e8e494857e1361dfc40
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-04-07 16:02:17 -07:00
Subbaraman Narayanamurthy
4f528714fd defconfig: arm64: msmcortex: enable PWM support for msmcobalt
PWM devices can be supported on msmcobalt platform. Enable the
driver support for them.

CRs-Fixed: 999988
Change-Id: I96761cd2bf18bce6ef7795b6686c5da72fe11a89
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-04-07 16:01:59 -07:00
Subbaraman Narayanamurthy
9af0487ebb pwm: Add snapshot of device tree documentation for pwm-qpnp driver
This DT bindings documentation snapshot is taken as of msm-3.18
'commit 0b20839e37187 ("Merge "slim-msm: Synchronize SSR callbacks"")'.

CRs-Fixed: 999988
Change-Id: I59681cf42274f70d5f46b869257a838014d8bf61
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-04-07 16:01:47 -07:00
Archana Sathyakumar
01d0689d03 ARM: dts: msm: Rename low power names to be same between cluster
L2 low power modes between silver and gold cluster has inconsistent
names. Rename both L2 dynamic retention mode as 'dynret' and retention
mode as 'ret' to be consistent.

Change-Id: I18f52fa873b332fb6ad644afc565a84bfed154cc
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
2016-04-07 16:01:38 -07:00
Arun Kumar Neelakantam
ae4f988961 soc: qcom: msm_glink_pkt: remove the wakeup source during device close
Client closing the device immediately after receiving data leaves
the packet arrival wakeup source in active state and block the system
infinitely from entering into suspend state.

Check the state of wakeup source during close operation and release
if it is active.

CRs-Fixed: 989126
Change-Id: I5ad87614edb1307cffaa798f9b393d816dce012a
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-04-07 16:01:26 -07:00
Arun Kumar Neelakantam
3be4acf242 soc: qcom: msm_glink_pkt: Add GLINK_OPT_INITIAL_XPORT flag
Use GLINK_OPT_INITIAL_XPORT flag to allow the GLINK core to use
the best transport based on available transports.

CRs-Fixed: 994255
Change-Id: I4a0022954d34d52899d5dd357813c4da90717e2e
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-04-07 16:01:13 -07:00
Arun Kumar Neelakantam
4fc0d9c2af ARM: dts: msm: Move SMD packet node to GLINK packet for msmcobalt
SMD packet nodes are used by user space clients to communicate with remote
subsystems, replace the SMD packet nodes to GLINK packet nodes to remove
the SMD driver dependence.

CRs-Fixed: 994255
Change-Id: Ic0934d795c2c7c20332358a3da603e093f94d980
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-04-07 16:01:00 -07:00
Karthikeyan Ramasubramanian
4aec450882 soc: qcom: glink_smd_xprt: Fix handling subsystem restart
If the local client of the G-Link channel comes up and waits for the
remote client, then it's states are set accordingly. But if the remote
subsystem is restarted as soon as it boots up, then it's states are
not adjusted accordingly. This causes the G-Link channel states to lose
synchronization once the remote client comes up successfully after the
reset.

Adjust the states of the local client if it is waiting for the remote
client and the remote subsystem is reset as soon as it boots up.

CRs-Fixed: 952834
Change-Id: I5fe327ea61eb2d16591861b1246fdca2ecce2b1c
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-04-07 16:00:45 -07:00
Rajesh Bondugula
0b9105a224 msm: camera: sensor: Update actuator specific I2C structures
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>
2016-04-07 16:00:33 -07:00
Lokesh Batra
8507836e7e msm: defconfig: Enable CONFIG_QCOM_KGSL in msmcortex_defconfig
Enable CONFIG_QCOM_KGSL config in msmcortex_defconfig file. This will
enable compiling KGSL for msmcortex targets.

CRs-fixed: 1000118
Change-Id: I95fbcd5a1b70816cb3b03b7e3652243b1c3e527e
Signed-off-by: Lokesh Batra <lbatra@codeaurora.org>
2016-04-07 16:00:22 -07:00
Saravana Kannan
d274d4f317 PM / devfreq: bw_hwmon: Fix race condition in polling interval update
When the polling interval is updated, the delayed workqueue is cancelled
and requeued with the new polling interval. However, the bw_hwmon IRQ can
come at the same time and try to stop and restart the delayed work (in the
IRQ thread). This can cause a race where the work might be queued twice or
canceled twice and cause a crash.

Fix this race condition by suspending and resuming the HW monitor when we
are updating the polling interval. This entirely avoids the race because
suspending the HW monitor also avoid the possibility of the IRQ coming
during the polling interval update.

CRs-Fixed: 954082
Change-Id: Ic7baf2a3da4ed8f8a9023617059e22fd81c3ba45
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
2016-04-07 16:00:11 -07:00
Skylar Chang
e9b36267d6 msm: ipa: fix hdr log print
In case IPA header has a processing context, header offset is undefined.
This change fixes header log print in case of processing context.

Change-Id: I55e895be945a690a707f6015c09578e31c1de693
CRs-Fixed: 993907
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-04-07 15:59:57 -07:00
Amir Levy
738453cfdf msm: ipa3: include ipa.h from ipa_odu_bridge.h
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>
2016-04-07 15:59:46 -07:00
Amir Levy
3e8eeb698a msm: ipa3: remove odu_bridge functions from ipa.h
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>
2016-04-07 15:59:32 -07:00
Amir Levy
40fa808ef4 msm: ipa3: add ipc logging for odu_bridge driver
Add ipc logging ability to odu_bridge driver. Messages will be directed
to ipc logging buffer which can be found in crashdump.

CRs-fixed: 999935
Change-Id: Iadfcf4a88472c54fbfe066fa6304146140b76201
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2016-04-07 15:59:22 -07:00
Amir Levy
6f39806089 msm: ipa3: add odu_bridge to ipa_clients folder
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>
2016-04-07 15:59:11 -07:00
Ghanim Fodi
e7969bfba6 msm: ipa3: add ipc logging support for ipahal
Add ipc logging capability to ipahal sublayer. Messages will be directed
to ipc logging buffers which can be read from debugfs or crash dump.

CRs-Fixed: 999887
Change-Id: I4ef85fc64f465aa0d4901493b80dd676596affcb
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-04-07 15:58:58 -07:00
Dhoat Harpal
e558c11841 soc: qcom: smem: Renaming smem item SMEM_SMEM_STATIC_LOG_IDX
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>
2016-04-07 15:58:44 -07:00
Skylar Chang
2bb6f28272 msm: ipa: support WDI 2.0 suspend
IPA-driver only suspends the WDI pipe
when rdy_ring_rp value equals to the
value of rdy_comp_ring_wp

Change-Id: I520b7943b85cd61065703c7bf9a5d8efb6302a56
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-04-07 15:58:32 -07:00
Skylar Chang
b63c02a618 msm: ipa: header change for wlan VA mapping
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>
2016-04-07 15:58:23 -07:00
Skylar Chang
93471e0374 msm: ipa: change for WDI2.0
Add rx_completion_ring and rx_completion_ring_wp
to indicate which pkt descriptor is processed,
also support 64 bits IOVA/PA in ipa-uc.

Change-Id: I4ac096336f5aeb01fbba8241cda987f56edc1232
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-04-07 15:58:13 -07:00
Skylar Chang
ff717b7dab msm: ipa: header file change for WDI2.0
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>
2016-04-07 15:58:01 -07:00
Skylar Chang
ed51b757cf ARM: dts: msm: Add IPA WDI2.0 support for MSMcobalt
add support for WDI2.0 feature which
wlan HW is 64 bits.

Change-Id: I910ed12f79f58dd1a0b0a58fb1cceb7d79ceaaa4
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-04-07 15:57:50 -07:00
Lakshmi Narayana Kalavala
c39bf2d8f9 msm: camera: Change API to populate regulator name
Some of the camera modules need to know the
regulator names to enable based on the use case,
Hence change the regulator API to populate regulator
names as well.

Change-Id: I8205df6ecbeed8eca7ff9a81534edadf51309fe1
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2016-04-07 15:57:36 -07:00