Commit graph

573348 commits

Author SHA1 Message Date
Linux Build Service Account
0dba26514c Merge "ASoC: msm8x16: Initial change for internal codec support" 2016-08-13 04:51:53 -07:00
Linux Build Service Account
27d0d7b45c Merge "msm: ipa: Add support for IPA unit-test framework" 2016-08-13 04:51:52 -07:00
Linux Build Service Account
ab067aa67f Merge "ARM: dts: msm: Update USB core clock frequency to allow SVS" 2016-08-13 04:51:51 -07:00
Linux Build Service Account
8cd4d6c413 Merge "USB: dwc3-msm: Add support for setting specific frequency for core clock" 2016-08-13 04:51:51 -07:00
Linux Build Service Account
56e52f83b4 Merge "drivers: soc: Set APR Glink transport to SMEM" 2016-08-13 04:51:50 -07:00
Linux Build Service Account
d7a4057219 Merge "ASoC: msmcobalt: fix wrong platform device pointer assignment" 2016-08-13 04:51:49 -07:00
Linux Build Service Account
2e3eed9211 Merge "bluetooth: Add Split A2DP slimbus" 2016-08-13 04:51:48 -07:00
Linux Build Service Account
fb24f59004 Merge "ASoC: msm: qdsp6v2: support for AFE encoder" 2016-08-13 04:51:47 -07:00
Linux Build Service Account
1befb076f5 Merge "ASoC: msm: q6dspv2: add adm channel config support" 2016-08-13 04:51:46 -07:00
Linux Build Service Account
ddd4ffbe17 Merge "ARM: dts: msm: adjust mdp bw limits for msmcobalt v2" 2016-08-12 23:10:49 -07:00
Taniya Das
ca458b0a49 clock: qcom: Update the list of clocks supported on MSMFalcon
Add the new clocks and update the clock ids for GCC, GPU, MMSS clock
controllers. Also add the RPM clocks which are supported and would be
used by the clients for all clock operations for RPM controlled clocks.

There are separate MMSS and GPU clock controllers, so add the dummy
controllers for the same.

Change-Id: I5a98b6128f5d54163ab5d03c4c023a748e6a4e95
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-08-12 13:54:55 +05:30
Tatenda Chipeperekwa
d2d512e984 ARM: dts: msm: add MSM External display node for msmcobalt
Add MSM External display node for msmcobalt which is needed
to manage the interaction between external displays (HDMI and
Display Port) and the audio and display frameworks.

CRs-Fixed: 1009284
Change-Id: I54c1eee7a3e1d8f481a9bc629e28f13c5849a3db
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-08-11 16:57:32 -07:00
Tatenda Chipeperekwa
a3ce403844 msm: mdss: add external display class helper
Implement the external display class helper as a utility to
manage display interface and audio codec interactions
associated with the cable connect/disconnect events of the
display interfaces. The helper class is responsible for
routing operations called by the audio codec to a particular
display, updating the hdmi switch node, and updating the
audio switch node.

CRs-Fixed: 1009284
Change-Id: Ie8d1006d3f11091a861733485cb67939ad47fdfe
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-08-11 16:57:22 -07:00
Tatenda Chipeperekwa
1bdf3dcbf1 msm: audio: soc: add null checks for hdmi ops
Add null checks to prevent hdmi ops from being called
if they have not been defined.

CRs-Fixed: 1009284
Change-Id: If772bd86cc9b754fbc900eb47338429e9b841eef
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-08-11 15:51:16 -07:00
Joonwoo Park
a4197e05d4 arm64: defconfig: msm: enable CPUSETS
Enable CONFIG_CPUSETS which is required by Android.

Change-Id: I6d62d4f0d707e2e64c21d3b67763f9945adc6005
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-08-11 14:12:04 -07:00
Liam Mark
1d79f44d30 iommu/arm-smmu: support static context banks
Consider any pre-initialized stream match register table entries,
which are of type translation, as static stream ID to context bank
mappings.

When an attach occurs for a stream ID which has a static context bank
mapping ensure that the pre-initialized stream match register table
entry is used for that stream ID.

Contract for using static context banks:
1) Before doing the attach hardware translations must be stopped and
hardware translations are only re-enabled once the required mappings
have been added.
2) Before the attach the static CB must be in stage 1 context bank
bypass (CBn_SCTLR.M == 0).

CRs-Fixed: 1050659
Change-Id: I4037d7861657384eb5b4f67c52b2dbf4ad6e1c2c
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-08-11 14:06:53 -07:00
Linux Build Service Account
f303bb651b Merge "defconfig: arm64: msmcortex: enable display xlog debug for msmcobalt" 2016-08-11 12:49:00 -07:00
Linux Build Service Account
320f40bf64 Merge "msm: mdss: add mdp debug bus for msmcobalt" 2016-08-11 12:48:59 -07:00
Linux Build Service Account
db4b424be4 Merge "msm: mdss: fix spurious wait4pingpong timeouts" 2016-08-11 12:48:57 -07:00
Linux Build Service Account
3f1515770c Merge "lpm-levels: Use arm_cpuidle_suspend instead of cpu_suspend" 2016-08-11 12:48:56 -07:00
Linux Build Service Account
b0e3a3b718 Merge "ARM: dts: msm: adjust mdp ot limits for msmcobalt" 2016-08-11 12:48:55 -07:00
Linux Build Service Account
7aad1c15a6 Merge "clk: msm: Add support for reset controller for GDSC" 2016-08-11 12:48:53 -07:00
Linux Build Service Account
2645dec71e Merge "clk: msm: Add support for block reset clocks" 2016-08-11 12:48:50 -07:00
Linux Build Service Account
d59cd2e862 Merge "clk: msm: Add reset controller support" 2016-08-11 12:48:49 -07:00
Linux Build Service Account
ce5a4b5fcc Merge "input: msg21xx_ts: add support for firmware upgrade" 2016-08-11 12:48:47 -07:00
Linux Build Service Account
e037764cf5 Merge "msm: ipa: Add parameters validation to handle static analysis issues" 2016-08-11 12:48:46 -07:00
Linux Build Service Account
ea85807058 Merge "input: ft5x06: Add support for firmware upgrade" 2016-08-11 12:48:44 -07:00
Linux Build Service Account
f3c95d6021 Merge "input: ft5x06_ts: Add DT support" 2016-08-11 12:48:44 -07:00
Linux Build Service Account
149e49b1ca Merge "usb: gadget: f_cdev: Fix memory leak upon composition switch" 2016-08-11 12:48:43 -07:00
Linux Build Service Account
bbf8cef110 Merge "sched: Remove synchronize rcu/sched calls from _cpu_down" 2016-08-11 12:48:41 -07:00
Linux Build Service Account
a1240c5161 Merge "input: touchscreen: correct function and variable names in ITE tech driver" 2016-08-11 12:48:37 -07:00
Linux Build Service Account
3a36832ca1 Merge "msm: wlan: Update db.txt for some countries" 2016-08-11 12:48:36 -07:00
Linux Build Service Account
5abea2b1d9 Merge "qcom-charger: smb138x-charger: add parallel enable status properties" 2016-08-11 12:48:35 -07:00
Linux Build Service Account
744bdc6546 Merge "soc: qcom: core,gladiator hang: Change the sysfs print format" 2016-08-11 12:48:34 -07:00
Linux Build Service Account
6a07e75f9b Merge "ARM: dts: msm: Add SMMU implementation defined settings for cobalt" 2016-08-11 12:48:21 -07:00
Ingrid Gallardo
c8ef4cab18 ARM: dts: msm: adjust mdp bw limits for msmcobalt v2
This change adjusts the bandwidth limits for the
mdp core in the v2 of msmcobalt.

Change-Id: I3559ed2b6984ac9cec8e219f59f634410aaf57c9
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-08-11 12:20:31 -07:00
Vamsi Krishna Samavedam
7acef1cb46 ARM: dts: msm: Update USB bus voting to allow SVS on msmcobalt
Update USB bus ib voting value to 100Mhz or 800000 kbps to allow
SVS when usb cable is connected.

Change-Id: I4692242f65bcf09baeab1a85681ec8c2f3b4cf61
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-11 11:53:51 -07:00
Sungjun Park
383b4c2da1 bluetooth: Add Split A2DP slimbus
To support Split A2DP over slimbus, it will share
slimbus port 16 with SCO channel. A2DP configuration
has been added into slimbus port 16.

Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
Change-Id: I55bc9cda07ef3c2d3ff5713f1ce83d8b344bed6a
2016-08-11 11:41:55 -07:00
Karthikeyan Ramasubramanian
1480ae09b7 ARM: dts: msm: Fix qsee_ipc_irq_bridge IRQ clear mask for msmcobalt
Currently qsee_ipc_irq_bridge driver is using an incorrect clear mask
when it handles an incoming level triggered interrupt. This causes
an interrupt storm.

Update the IRQ clear mask entry to appropriate value.

CRs-Fixed: 1053076
Change-Id: I6bfe7aecd73a13401a218e89874f2225ac91d18f
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-08-11 11:29:54 -06:00
Karthikeyan Ramasubramanian
16fe24796a soc: qcom: qsee_ipc_irq_bridge: Remove the redundant subsystem name check
Currently the driver checks for interrupt type and subsytem name before
parsing the RX IRQ Reset Regiser. Checking for the subsystem name is
redundant and prone to typo errors which will lead to incorrect parsing
of Device Tree entries and eventually an interrupt storm.

Check only for the interrupt type and parse the Device Tree entries
completely.

CRs-Fixed: 1053076
Change-Id: I22719898b86534f1821104a6a629e7fd37b0d823
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-08-11 11:29:21 -06:00
Deepak Katragadda
6bdd0c9ddd ARM: dts: msm: Remove clocks listed under the UFS GDSC node
The UFS driver does not need the GDSC driver to set the core
and peripheral memory retention bits for certain UFS clocks
on it's behalf. Remove doing so.

CRs-Fixed: 1052994
Change-Id: I845eb2014056203d203ee6be66de0cc161c2dedb
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-08-11 09:48:11 -07:00
Oleg Perelet
1c3699f9dc msm: kgsl: update GPU busy statistics
In case of GPU idle (NAP), schedule DCVS call to obtain updated
GPU load for correct GPU frequency scaling.

Change-Id: Ifcf05ffde0a054839e51d3f8173b8449fe177aa0
CRs-Fixed: 1050000
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-08-11 08:55:49 -07:00
Mohan Pallaka
fad9dc0827 input: ft5x06: Add support for firmware upgrade
Add sysfs entries to upgrade firmware from userspace.
Firmware upgrade is triggered when the device's firmware
version mismatches with userspace's firmware file.
Force firmware upgrade sysfs entry is added to force
the firmware upgrade even when the firmware versions
match.

Change-Id: I48189abe60b4bd9d54a1bbc4657707213d8eb166
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-11 03:21:01 -07:00
Andrey Markovytch
7eb1c49f0c arm: dts: msm: Added missing features for HW Encryption support
Added DM_CRYPT, DM_REQ_CRYPT and SCSI_UFS_QCOM_ICE for msm cobalt.

Change-Id: I737fad8f1cd89bad77836d4025c108f6c1918224
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-08-11 03:14:20 -07:00
Andrey Markovytch
32d2461585 ice: added missing register dump in case of error for ICE 3.0
QCOM_ICE_INVALID_CCFG_ERR_STTS is now also dumped in case of error
for ICE 3.0

Change-Id: Ib7f522d0143f5131880c8c1badf4e64461810e72
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-08-11 03:13:58 -07:00
Naresh Tanniru
cb539e6d7d ASoC: msm: qdsp6v2: support for AFE encoder
Add support for AFE encoder configuration.
Add new mixer controls to support AFE input channel
and encoder configuration.
Add support in AFE to set the encoder and input
channel configuration.If encoder configuration is set
ADSP will encode the PCM steam and send over backend.

Change-Id: I56581533ffff3b61f5b5ee128841ab61b62674d7
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
2016-08-11 01:48:11 -07:00
Naresh Tanniru
e19f46bf59 ASoC: msm: q6dspv2: add adm channel config support
Add support of route control to set ADM input channel
config. This is used to help open adm with different
channel config compare to AFE output.
Add new mixer command to override adm channel count set
by hw_params. This is useful in cases where BE hw_params
is different from the ADM channel configuration for cases
such as A2DP exercising ADSP path.

Change-Id: I93ad53016a28efe0d8592ac0092d6c8896a66072
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
2016-08-11 01:46:50 -07:00
Naresh Tanniru
89c0252708 ASoC: msmcobalt: add BT audio support
Add machine driver code to support
bt playback in tunnel mode.

Change-Id: I22173ef9a7586cc7b9bc4b40afa1c02f5317c3a7
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
2016-08-11 01:46:10 -07:00
Linux Build Service Account
9d822a9489 Merge "ASoC: msm: set pointers to NULL after kfree" 2016-08-10 18:29:19 -07:00
Linux Build Service Account
9aa7f8acc0 Merge "soc: qcom: pil: Add flag to know if modem SSR happened." 2016-08-10 18:29:18 -07:00