Commit graph

572934 commits

Author SHA1 Message Date
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
Liam Mark
85969c5e83 ARM: dts: msm: peripheral_mem carveout for msmcobalt
The peripheral_mem carveout currently contains three separate images.
If these images are dynamically unloaded and reloaded in the wrong
order they could fragment the memory such that not all images would
fit.

Break apart the peripheral_mem into separate carveouts for each PIL
image to avoid the possibility of fragmentation.

CRs-Fixed: 1024397
Change-Id: Id9607b7e4a5e0cdcbf4c36ffad32536dd0669005
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-07-15 09:45:12 -07:00
Linux Build Service Account
ea475748ca Merge "USB: gadget: serial: Fix debugfs crash" 2016-07-15 08:15:20 -07:00
Linux Build Service Account
e766bceaab Merge "msm: ADSPRPC: Handle fastrpc glink channel open on timeout" 2016-07-15 03:44:36 -07:00
Linux Build Service Account
c1a59856b2 Merge "msm: kgsl: Disable GPU software clockgating on A540" 2016-07-15 03:44:33 -07:00
Linux Build Service Account
90ef75e99a Merge "ARM: dts: msmcobalt: Add control for GPU software clockgating" 2016-07-15 03:44:33 -07:00
Linux Build Service Account
a2236a02a7 Merge "scsi: ufshcd: Fix race between clk scaling and ungate work" 2016-07-15 03:44:32 -07:00
Linux Build Service Account
6149cd536b Merge "ARM: dts: msm: add 2k truly panel for msmcobalt" 2016-07-15 03:44:31 -07:00
Linux Build Service Account
ce7b3b1705 Merge "qcom-charger: show correct battery status while charging via wireless" 2016-07-15 03:44:30 -07:00
Linux Build Service Account
a356bbf034 Merge "msm: ipa3: don't check offset_entry when using DDR address" 2016-07-15 03:44:29 -07:00
Linux Build Service Account
c5b0fe8f95 Merge "msm: kgsl: Disable GPU isense clock below nominal power level" 2016-07-15 03:44:28 -07:00
Linux Build Service Account
d487ef9aa9 Merge "Merge remote-tracking branch 'origin/tmp-917a9a9133a6' into lsk" 2016-07-15 03:44:27 -07:00
Linux Build Service Account
429d29225e Merge "ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt" 2016-07-15 03:44:27 -07:00
Linux Build Service Account
cbd856e4bd Merge "qcom-charger: qpnp-smb2: enable some irqs as a wakeup source" 2016-07-15 03:44:26 -07:00
Linux Build Service Account
427ac22e77 Merge "usb: dwc3: Fix bug in ep disable operation" 2016-07-15 03:44:25 -07:00
Linux Build Service Account
5c73b07b81 Merge "icnss: Setup hypervisor permissions for MSA0" 2016-07-15 03:44:24 -07:00
Linux Build Service Account
e0addbd952 Merge "msm: vidc: Fix buffer overflow issue in driver" 2016-07-15 03:44:24 -07:00
Linux Build Service Account
0c666a3278 Merge "spmi-pmic-arb: change mode callback/ops for v3" 2016-07-15 03:44:23 -07:00
Linux Build Service Account
2f032882e7 Merge "msm: kgsl: Remove ISENSE control code" 2016-07-15 03:44:22 -07:00
Linux Build Service Account
7368ff9eae Merge "ARM: dts: msmcobalt: Enable GPU Turbo on A540" 2016-07-15 03:44:22 -07:00
Linux Build Service Account
57cfb76cee Merge "msm: ipa: exit when hdr proc ctx table is full" 2016-07-15 03:44:18 -07:00
Srinivas Ramana
fb78920d34 defconfig: msm: build dtb appended zImage for msmfalcon
Enable building dtb appended zImage for msmfalcon.

Change-Id: I47abe573e2867b9c38bebd637a4ae2f07fab63a3
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-07-15 15:19:37 +05:30
Srinivas Ramana
498823ccd9 arch: arm: select ARM_GIC even for targets with gic-v3
Some of the features like MSM_GIC_SHOW_IRQ are using ARM_GIC
flag. So select this even for gic-v3 target on 32-bit.
This will also make it consistent with arm64 where ARM_GIC
is selected along with gic-v3.

Change-Id: Ie929d63a23c88799c488c5a79c81cd1cbfaa6565
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-07-15 15:18:52 +05:30
Arumuga Durai A
9ac1785393 USB: gadget: serial: Fix debugfs crash
Serial function driver creates debugfs files even though ports
are not allocated. Fetching/reading those files without allocation
of ports leads to crash. Check port allocation before creating
the files.

Change-Id: I85b050a261cca6f961d5d9058efb8b7facf242ce
Signed-off-by: Arumuga Durai A <cadurai@codeaurora.org>
2016-07-15 02:36:33 -07:00
Trishansh Bhardwaj
fcd868b454 msm: camera: Fix memory read by adding bounds check
Adds bound check on reg_cfg_cmd->u.dmi_info.hi_tbl_offset.

IOCTL VIDIOC_MSM_VFE_REG_CFG uses usersupplied value without
performing bounds check for following cmd_type.
VFE_READ_DMI_16BIT
VFE_READ_DMI_32BIT
VFE_READ_DMI_64BIT

Change-Id: I554c45ef3a172f5b5891b67a7e8e7a1f3f3882ed
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2016-07-15 02:23:44 -07:00
Shashank Mittal
f069d3d13a ARM: dts: msm: set default mem_type for ETR device on msmcobalt
Set default mem_type to scatter-gather for ETR device.

Change-Id: Iaa6e6e58b9cf566dd749d81d4693c2b61be2c365
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-07-14 20:39:35 -07:00
Shashank Mittal
bbfc29c3ec coresight-tmc: add support to set default mem_type
Add support to read device tree property to select mem_type for ETR-MEM
configuration.

Change-Id: Ib14c390ecfce73491777f99c5e46ec9300220844
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-07-14 20:39:34 -07:00
Shashank Mittal
fe43f04373 defconfig: arm64: enable CoreSight drivers for msmcobalt
Enable CoreSight drivers for msmcoblt. These devices can be used to
configure and enable trace functionality on msmcobalt.

Change-Id: I1ee284d9a42341da85abb9bd8dbebffa1aace1a8
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-07-14 20:38:30 -07:00
Yeleswarapu Nagaradhesh
eb8519c0af drivers: mfd: do not modify reset gpio if codec is identified
If target can support multiple codecs, only one of the
codecs will be enumerated. Do not clean up common resources
when other codec fails to enumerate.

CRs-Fixed: 1041199
Change-Id: I74a298739925b5763458c2e637372aa8f2c2aa55
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-07-15 05:59:14 +05:30
Sagar Gore
414c4e9916 msm: camera: ispif: RDI Pack mode support
Add support for pack mode in ISPIF RDI path.

Change-Id: I9472f3162a87b8a4255d9c684573093642d488a2
Signed-off-by: Sagar Gore <sgore@codeaurora.org>
2016-07-14 16:25:43 -07:00
Sathish Ambley
53b23eafea ARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt
Increase ADSP ION heap by 4 MB that is required by the
ImproveTouch functionality.

Change-Id: I03a298cf69369efc58f8d85d39897408d34f3635
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-07-14 14:49:38 -07:00
Aravind Venkateswaran
a5312f6f7f msm: mdss: mdp: fix handling of GDSC off notifier
In the current implementation, MDP driver registers for MDSS
GDSC notifier and attempts to halt any active VBIF transactions
whenever the MDSS GDSC is turned off. This results in a call to
the bus driver to remove any active bus bandwidth vote. However,
it is possible that notifier call could be a result MDSS GDSC
being turned off by the bus driver during probe time and calling
back in to the bus driver can result in a deadlock. Avoid this
by handling GDSC off notifier only if there are any active
overlay sessions.

Change-Id: Id53a790cf67b201a4207f85604cb3472275d418a
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-14 14:45:18 -07:00
Sathish Ambley
55d06ad8fb msm: ADSPRPC: Handle fastrpc glink channel open on timeout
Added channel state and checks to avoid glink channel opening twice
during timeout of previous call. Clean up and added more checks.

Change-Id: Ibf5343a86d3aeaf67acfbae381f103428c98ea73
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-07-14 14:08:50 -07:00