Commit graph

572478 commits

Author SHA1 Message Date
Deepak Kushwah
816c3cbc37 msm: vidc: add support for maximum bitrate rate control mode
Add support for maximum bitrate rate control mode which will be
enabled by low bitrate applications to get better Video quality.

CRs-Fixed: 1043369
Change-Id: I20253a0f0762982fe7d7cb0bde9f64f58a8068fb
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2016-07-19 03:32:33 -07:00
Yeleswarapu Nagaradhesh
8aa9aba222 qcom: wcd934x: add pinctrl driver for wcd934x
WCD934X audio codec has a GPIO controller which can support
5 GPIO's, add pinctrl driver to handle GPIO's of wcd934x.

CRs-Fixed: 1041199
Change-Id: I0489f9149cfd6ec7af056d074cb1869a705f9eff
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-19 10:58:13 +05:30
Yeleswarapu Nagaradhesh
00f153a5b1 ARM: dts: msm: add sound node for msmcobalt
Add sound node and lnbbclk2 node for msmcobalt
to enable audio functionality.

CRs-Fixed: 1041199
Change-Id: If6066a42b8aa5a820263a88627e2405df5e227b7
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-19 10:56:54 +05:30
Abdulla Anam
8ce0856ed3 msm: vidc: check for venus_hfi_device state in resume
Now since resume is called to ensure venus is in power on state
during scale clocks, an issue is seen when client responds to an
error notification with stream_off. This causes scale clocks to
be called which powers_on venus and enable regulators. But an
earlier sys_error deinited all resources and hence a null pointer
exception is seen causing kernel panic.

CRs-Fixed: 1040026
Change-Id: Ibb660397f8e7e3e0cd0a5e672924925e605b2eb7
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
2016-07-18 22:22:58 -07:00
Chinmay Sawarkar
dd5ea1bc0f msm: vidc: Increase output port buffer size for VP9 decode
For some VP9 Decode bitstreams, current buffer size is not
sufficient. Hence increasing to the full YUV size supported
by HW.

CRs-Fixed: 986311
Change-Id: Ie7720001edbbaed8b202655445707b2b49a69cb1
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-07-18 18:47:03 -07:00
Hemant Kumar
ebf3241b7b sound: usb: Update USB audio QMI data structure
Updating USB audio qmi data structure as per new
definitions. Also update the USB audio QMI driver
appropriately.

Change-Id: I93ed98a17daa1c65944dd260c7004f7198741aad
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-18 17:53:37 -07:00
Gautham Mayyuri
11611bb2ca msm: jpegdma: Remove even number check for crop left and top
Remove even number check for crop left and top dimensions as
crop left and top can be odd numbers.

CRs-Fixed: 1038370
Change-Id: Ia3b2aa484f764fb948680357ba6a89bc57b92b24
Signed-off-by: Gautham Mayyuri <gmayyuri@codeaurora.org>
2016-07-18 16:38:06 -07:00
Nicholas Troast
adb003dad0 qcom-charger: smb-lib: fix secure register writes
Currently the entire address is compared to a known secure boundary
offset leading to the address always being larger than the offset.
Mask the address such that only the offsets are compared.

Change-Id: I388d7f809f670c6db45b933d44d15168ae84f061
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-07-18 13:44:59 -07:00
Linux Build Service Account
c4873787c3 Merge "ASoC: aud-ext-clk: enable lnbbclk2 for tavil" 2016-07-18 13:05:23 -07:00
Linux Build Service Account
5effe5f433 Merge "ASoC: wcd934x: enable recording for wcd934x audio codec" 2016-07-18 13:05:19 -07:00
Linux Build Service Account
3a95a76597 Merge "ASoC: wcd934x: add wcd934x audio codec driver" 2016-07-18 13:05:18 -07:00
Linux Build Service Account
d60cc82391 Merge "clk: msm: Add MSM clock config for MSM clock controller" 2016-07-18 08:07:52 -07:00
Shiraz Hashim
b47b524659 ARM: dts: msm: add ion heaps for msmfalcon
Add device tree configuration corresponding to all
supported ion heaps for msmfalcon.

Change-Id: I639e8bfb1275a1b8c8fa5bff3a46f9b34fe49ffe
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-07-18 12:53:07 +05:30
Shiraz Hashim
552bf6df75 ARM: dts: msm: Add initial memory map for msmfalcon
Add carve-outs, firmware regions and other cma areas as
part of initial memory map configuration for msmfalcon.

Change-Id: I2b0d35bf90b92f7fbd4256f339c1567d539e17b2
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-07-18 12:51:25 +05:30
Yeleswarapu Nagaradhesh
a78205449c ASoC: wcd934x: enable recording for wcd934x audio codec
Add support for Analog MIC and Digital MIC recording
for wcd934x codec.

CRs-Fixed: 1041199
Change-Id: I79e07682661fea99baaa29f8807eaf2f684f65be
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-17 12:00:16 +05:30
Linux Build Service Account
8665552e83 Merge "clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk" 2016-07-16 16:26:57 -07:00
Linux Build Service Account
fd57dc5180 Merge "qcom-charger: update parallel charging states after boot" 2016-07-16 16:26:56 -07:00
Olav Haugan
bf25090979 sched/core: Fix uninitialized variable used for tracepoint
When predictive dcvs is enabled a tracepoint will log a value that is
garbage due to being uninitialized. Fix this.

CRs-fixed: 1042660
Change-Id: I2b94e78f2470dbc2fd469b5cab287d643e8f3227
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-07-16 11:38:59 -07:00
Olav Haugan
e3473cacaa sched/core: Fix null-pointer dereference
Turning on sched_use_pelt causes a null-pointer dereference in
scheduler. Add correct checking of varable.

CRs-fixed: 1042656
Change-Id: I6e6a57e24b41e4b3d049bfcf694b9ad7e2144dd5
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-07-16 10:41:32 -07:00
Linux Build Service Account
5562490ff2 Merge "ASoC: msm: qdsp6v2: Increase PCM capture period size" 2016-07-16 07:34:17 -07:00
Linux Build Service Account
190a8d14b0 Merge "ARM: dts: msm: Add Temperature sensor support for msmfalcon" 2016-07-16 07:34:16 -07:00
Linux Build Service Account
b10e74ee0a Merge "thermal: tsens: Enable TSENS for msmfalcon" 2016-07-16 07:34:15 -07:00
Linux Build Service Account
3b90c4c60e Merge "drivers: mfd: do not modify reset gpio if codec is identified" 2016-07-16 07:34:14 -07:00
Linux Build Service Account
3130ca5e45 Merge "ASoC: wcd9335: Update decimator filter cutoff frequency" 2016-07-16 07:34:14 -07:00
Linux Build Service Account
be98f7ea2f Merge "defconfig: msm: build dtb appended zImage for msmfalcon" 2016-07-16 07:34:13 -07:00
Linux Build Service Account
7d225628d1 Merge "arch: arm: select ARM_GIC even for targets with gic-v3" 2016-07-16 07:34:12 -07:00
Linux Build Service Account
d0a8f8d774 Merge "clk: Add support to set custom flags with clk_set_flags" 2016-07-16 07:34:11 -07:00
Linux Build Service Account
8d4ffba5f0 Merge "msm: pcie: change the logging type for dumping PARF registers" 2016-07-16 07:34:10 -07:00
Linux Build Service Account
4e24c748ee Merge "ARM: dts: msm: peripheral_mem carveout for msmcobalt" 2016-07-15 20:03:32 -07:00
Yeleswarapu Nagaradhesh
5bd34e1e58 ASoC: aud-ext-clk: enable lnbbclk2 for tavil
Tavil is sourced from lnbbclk2 and hence enable
this clock for tavil codec.

CRs-Fixed: 1041199
Change-Id: I5409b0f4ed58fefdd25abbe79f144de7e693c1a1
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-16 07:07:24 +05:30
Yeleswarapu Nagaradhesh
c404b25ea3 ASoC: wcd9xxx: add support for wcd934x codec
Add wcd934x as a mfd child and configure regmap.
Configure MCLK as per the HW sequence.

CRs-Fixed: 1041199
Change-Id: I9e2dbb0f0acaa1442c1624556bc52abf98158c92
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-15 17:01:55 -07:00
Yeleswarapu Nagaradhesh
5be00f77d3 ASoC: msm: add support for wcd934x
Add support for wcd934x codec in machine
driver.

CRs-Fixed: 1041199
Change-Id: I98bbd10cc25e11f0411c94a4fdbedebc1ab56429
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-15 17:01:34 -07:00
Yeleswarapu Nagaradhesh
c9338c07bc defconfig: arm64: msmcortex: enable wcd934x for msmcobalt
Enable wcd934x audio codec for msmcobalt platform.

CRs-Fixed: 1041199
Change-Id: I71d868703091821c76638da0abfa07f3bb043d82
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-15 17:01:13 -07:00
Yeleswarapu Nagaradhesh
b7b4aa7959 ASoC: wcd934x: add wcd934x audio codec driver
Add changes to support wcd934x audio codec.
This driver registers to ALSA framework, supports
basic codec operations like playback and record.

CRs-Fixed: 1041199
Change-Id: I62c53d98b6cd8e750a040f692b164b9bfcf44799
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-16 05:28:31 +05:30
Deepak Katragadda
9358402475 clk: msm: clock: Allow removing clock voltage votes during sleep
Vote on the active-only CX voltage rail resource on behalf of
the hmss_ahb_clk. This way, when APPS attempts to go to sleep
and the clock is disabled, the corresponding voltage vote is
removed as well.

CRs-Fixed: 1042533
Change-Id: I6e20f4c00ec4555ecbae2adbb33287aed268639e
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-07-15 15:52:38 -07:00
Chris Lew
1a244f025a ARM: dts: msm: Remove SMD device for DSPS edge for MSMCOBALT
SMD clients for DSPS have migrated to G-Link.
Remove SMD device for DSPS edge.

CRs-Fixed: 1041462
Change-Id: I9f62cc0e8229b86500fa72908be5c503847aed8f
Signed-off-by: Chris Lew <clew@codeaurora.org>
2016-07-15 15:43:28 -07:00
Chris Lew
1a5199d8fa ARM: dts: msm: Remove SMD device for ADSP edge for MSMCOBALT
SMD clients for ADSP have migrated to G-Link.
Remove SMD device for ADSP edge.

CRs-Fixed: 1041461
Change-Id: I299d31569291e90431802059f727a57ea0f76200
Signed-off-by: Chris Lew <clew@codeaurora.org>
2016-07-15 15:43:22 -07:00
Chris Lew
edaa2cd1bc ARM: dts: msm: Remove SMD device for Modem edge for MSMCOBALT
SMD clients for Modem have migrated to G-Link.
Remove SMD device for Modem edge.

CRs-Fixed: 1041459
Change-Id: I6122ceb014f70b8e0ac005bc3789fbd13a3e867a
Signed-off-by: Chris Lew <clew@codeaurora.org>
2016-07-15 15:43:14 -07:00
Shubhraprakash Das
fe2b34fe23 msm: camera: isp: Add isp version
Add isp version for cobalt. The version is used by the driver
to differentiate in the code paths based on the isp type.

CRs-Fixed: 1038370
Change-Id: I81055befae23b95bd7ba7dbe32c13be642bee66d
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
2016-07-15 14:38:37 -07:00
Linux Build Service Account
5afcd06e40 Merge "ARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt" 2016-07-15 14:34:47 -07:00
Linux Build Service Account
a375876326 Merge "msm: camera: Fix memory read by adding bounds check" 2016-07-15 14:34:46 -07:00
Linux Build Service Account
5b706a9e62 Merge "usb: pd: pdphy: Assign __pdphy before usbpd_create()" 2016-07-15 14:34:45 -07:00
Linux Build Service Account
0b99b1787e Merge "irq-chip: gic-v3: Initialize mpm for GIC monitored interrupts" 2016-07-15 14:34:34 -07:00
Linux Build Service Account
b6102f3c1f Merge "spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source" 2016-07-15 14:34:21 -07:00
Ravi Joshi
15ada4d01b WLAN subsystem: Sysctl support for key TCP/IP parameters
It has been observed that default values for some of key tcp/ip
parameters are affecting the tput/performance of the system. Hence
extending configuration capabilities to TCP/Ip stack through
sysctl interface

Change-Id: I4287e9103769535f43e0934bac08435a524ee6a4
CRs-Fixed: 507581
Signed-off-by: Ravi Joshi <ravij@codeaurora.org>
Signed-off-by: Ganesh Babu Kumaravel <kganesh@codeaurora.org>
Signed-off-by: Mohit Khanna <mkhannaqca@codeaurora.org>
2016-07-15 13:35:09 -07:00
Deepak Katragadda
3ec715adbe clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk
The gcc_bimc_hmss_axi_clk will be configured outside of HLOS.
The linux clock driver does not need to manually enable it.

CRs-Fixed: 1012646
Change-Id: Ib0b848fb410f4bf266b09cefed0e8bce7292d2ec
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-07-15 13:33:09 -07:00
Phani Kumar Uppalapati
698a4c73d1 ASoC: wcd9335: Update decimator filter cutoff frequency
Update decimator high pass filter cutoff frequency if the
TX is path closed within 300ms after opening the session.
This will restore the cutoff frequency to the default
correct value.

CRs-fixed: 988075
Change-Id: Iece28fe2551a74ec7b1b8b4b5cac02537e3d28d8
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-07-15 12:59:22 -07:00
Harry Yang
fc21ea7f2a qcom-charger: update parallel charging states after boot
If a USB charger is already attached before the master charger
probes, the master will miss updating parallel charging states.

ICL and charge state change interrupts get triggered before
their handlers are registered. Hence these interrupts will not
be handled.  Obtain the state of missing interrupts by polling
status registers.

If parallel charging is ready on master side before the parallel
charger probes, then parallel charging will not be enabled.
Check if parallel charging is ready once the parallel charger
probes so parallel charging can be enabled immediately.

CRs-Fixed: 1033688
Change-Id: Ic91baeaeb7410b6f265b8bfa8e31e2bcff8dfce2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-07-15 12:04:25 -07:00
Mayank Rana
8f49ae0d80 dwc3: gadget: Add debug event for pull up operation
This change adds debug event to capture pull up operation request.
It also captures if software fails to perfrom pull-up operation
here.

CRs-Fixed: 1036037
Change-Id: I77ecff3a2ac395ff3799c1b0618fbc7f5eeb03da
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-15 11:54:46 -07:00
Tony Truong
30277067ce msm: pcie: change the logging type for dumping PARF registers
When clients dumps PCIe PARF registers, it should not flood
dmesg. Change the logging type for dumping PCIe PARF register
to a lower priority one. The dump will only show up in PCIe
specific logs and not dmesg.

Change-Id: Ide04b0d2017ce3c1a99edd2b38ef5b06178a1f41
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-07-15 11:28:55 -07:00