OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
8 years agoMerge "ASoC: wcd: add wcd934x gpio controller device"
Linux Build Service Account [Sat, 23 Jul 2016 23:05:26 +0000 (16:05 -0700)]
Merge "ASoC: wcd: add wcd934x gpio controller device"

8 years agoMerge "input: touchscreen: remove dead code in it7258 driver"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:34 +0000 (08:56 -0700)]
Merge "input: touchscreen: remove dead code in it7258 driver"

8 years agoMerge "input: touchscreen: Add Touch screen driver for IC it7258"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:34 +0000 (08:56 -0700)]
Merge "input: touchscreen: Add Touch screen driver for IC it7258"

8 years agoMerge "of_batterydata: Pass battery id directly to find battery profile"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:33 +0000 (08:56 -0700)]
Merge "of_batterydata: Pass battery id directly to find battery profile"

8 years agoMerge "clk: msm: Fix MDSS compilation issue"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:32 +0000 (08:56 -0700)]
Merge "clk: msm: Fix MDSS compilation issue"

8 years agoMerge "dwc3: gadget: Add debug event for pull up operation"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:31 +0000 (08:56 -0700)]
Merge "dwc3: gadget: Add debug event for pull up operation"

8 years agoMerge "msm: camera: isp: Vote bandwidth with clock enabled"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:30 +0000 (08:56 -0700)]
Merge "msm: camera: isp: Vote bandwidth with clock enabled"

8 years agoMerge "msm: camera isp: Control camif interrupts on camif enable/disable"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:29 +0000 (08:56 -0700)]
Merge "msm: camera isp: Control camif interrupts on camif enable/disable"

8 years agoMerge "msm: mdss: fix mdss errors on 32-bit compilation"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:28 +0000 (08:56 -0700)]
Merge "msm: mdss: fix mdss errors on 32-bit compilation"

8 years agoMerge "soc: qcom: glink: Included sched.h to avoid build error"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:27 +0000 (08:56 -0700)]
Merge "soc: qcom: glink: Included sched.h to avoid build error"

8 years agoMerge "arm: dma-mapping: Export arch_setup_dma_ops symbol"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:24 +0000 (08:56 -0700)]
Merge "arm: dma-mapping: Export arch_setup_dma_ops symbol"

8 years agoMerge "soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:23 +0000 (08:56 -0700)]
Merge "soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver"

8 years agoMerge "ARM: dts: msm: Add G-Link SSR entries for MSMFALCON"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:21 +0000 (08:56 -0700)]
Merge "ARM: dts: msm: Add G-Link SSR entries for MSMFALCON"

8 years agoMerge "ARM: dts: msm: Add SMEM entry for MSMFALCON"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:20 +0000 (08:56 -0700)]
Merge "ARM: dts: msm: Add SMEM entry for MSMFALCON"

8 years agoMerge "Bluetooth: HID: Add support for building hid drivers"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:20 +0000 (08:56 -0700)]
Merge "Bluetooth: HID: Add support for building hid drivers"

8 years agoinput: touchscreen: remove dead code in it7258 driver
Sudhakar Manapati [Tue, 5 May 2015 14:25:30 +0000 (19:55 +0530)]
input: touchscreen: remove dead code in it7258 driver

IT7258 touchscreen driver creates a character device which is
not used by anyone. Remove this dead code

Change-Id: Ied8a0048d8af17fa593c1970cabb572aac338786
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
8 years agoinput: touchscreen: Add Touch screen driver for IC it7258
Alfred.Deng [Thu, 29 Jan 2015 11:11:43 +0000 (19:11 +0800)]
input: touchscreen: Add Touch screen driver for IC it7258

This is the reference driver source code of it7258 touchscreen driver.
Signed-off-by: Alfred Deng <Alfred.Deng@ite.com.tw>
Git-commit: 3852a7ccce89c17ec3c4165acf9c81753c940104
Git-repo: git://github.com/ite-touch/touchscreen-driver

Change-Id: Ic1eab3ba79b8e8e5c259bb92f2692fd0db5fc8d3
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
(cherry picked from commit c25c3f1a0f29d7989b7d7058da74e465665bf279)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
8 years agoclk: msm: Fix MDSS compilation issue
Taniya Das [Fri, 22 Jul 2016 04:44:30 +0000 (10:14 +0530)]
clk: msm: Fix MDSS compilation issue

The MDSS clock drivers were not getting compiled due to an extra 'y', fix
the same.

CRs-Fixed: 1041122
Change-Id: I21e62361f40eb654c369048d01e158d4b96dd551
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agoof_batterydata: Pass battery id directly to find battery profile
Subbaraman Narayanamurthy [Mon, 18 Jul 2016 23:09:08 +0000 (16:09 -0700)]
of_batterydata: Pass battery id directly to find battery profile

Currently power supply name is passed to get the battery profile
in of_batterydata_get_best_profile(). This creates a dependency
of waiting for the driver that has the power supply class device.

Improve this by passing the battery id directly to the API. This
way, getting battery id will be the responsibility of caller.

CRs-Fixed: 1043798
Change-Id: I7a8c2b2fcc9b43e2e858114f7312fccf96dc3f78
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agomsm: camera: isp: Vote bandwidth with clock enabled
Shubhraprakash Das [Wed, 20 Jul 2016 18:29:06 +0000 (11:29 -0700)]
msm: camera: isp: Vote bandwidth with clock enabled

Vote for bandwidth after clocks are enabled. For bandwidth
voting clocks need to be on.

CRs-Fixed: 1044777
Change-Id: I9be1ee26419c082cda6351ef6d5aeedc6e17de55
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
8 years agoARM: dts: msm: Add G-Link SSR entries for MSMFALCON
Dhoat Harpal [Mon, 27 Jun 2016 10:55:14 +0000 (16:25 +0530)]
ARM: dts: msm: Add G-Link SSR entries for MSMFALCON

SSR entries contain the list of subsystems to notify when an SSR for a
given subsystem occurs. This information enables G-Link to handle
closing and re-opening channels in the case of SSR.

CRs-Fixed: 1043377
Change-Id: Ibd8ceb8149b3041ce1f58ac4c3642d7391b89385
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoARM: dts: msm: Add SMEM entry for MSMFALCON
Dhoat Harpal [Mon, 27 Jun 2016 09:11:03 +0000 (14:41 +0530)]
ARM: dts: msm: Add SMEM entry for MSMFALCON

Add the SMEM entry to enable the use of shared memory by different
processors in the SoC.

CRs-Fixed: 1043377
Change-Id: Ic36a67c724d7f8a0e64affba92856160cce914bb
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agosoc: qcom: smem_xprt: Add CDSP entry in smem xprt driver
Dhoat Harpal [Tue, 28 Jun 2016 15:09:39 +0000 (20:39 +0530)]
soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver

CDSP processor entry in function add subsys_name_to_id to convert
string cdsp to corresponding id.

CRs-Fixed: 1043377
Change-Id: Iba226aa328906427593ecae35fab3396f34c19ae
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agosoc: qcom: glink: Included sched.h to avoid build error
Dhoat Harpal [Fri, 15 Jul 2016 14:01:39 +0000 (19:31 +0530)]
soc: qcom: glink: Included sched.h to avoid build error

32 bit Compilation is failed due to undeclared usage of
TASK_UNINTERRUPTIBLE.

Include sched.h header file for the definition of
TASK_UNINTERRUPTIBLE.

CRs-Fixed: 1042813
Change-Id: I947b8d08f61624b914bd82caf4276364b9833cef
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoarm: dma-mapping: Export arch_setup_dma_ops symbol
Venkatesh Yadav Abbarapu [Thu, 21 Jul 2016 11:50:43 +0000 (17:20 +0530)]
arm: dma-mapping: Export arch_setup_dma_ops symbol

Some test modules need to call "arch_setup_dma_ops" to setup
the proper dma operations.

Change-Id: Icc884b53c85941f59f84bed108b536cc18b8be60
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
8 years agosoc: qcom: smem: Add CDSP processor ID
Dhoat Harpal [Mon, 27 Jun 2016 11:46:03 +0000 (17:16 +0530)]
soc: qcom: smem: Add CDSP processor ID

The local table of processor IDs maintained by SMEM must match the table
of processor IDs maintained by SMEM on remote processors, because the
IDs are global.

Update the local table of processor IDs to match the table on remote
processors.

CRs-Fixed: 1043377
Change-Id: I6df0575cf54003374a5ebdbfa54e169d3545ffe7
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoBluetooth: HID: Add support for building hid drivers
Hemant Gupta [Thu, 21 Jul 2016 10:37:34 +0000 (16:07 +0530)]
Bluetooth: HID: Add support for building hid drivers

This patch adds support for enabling uhid driver in kernel which
provides interface for user space hid module to interact with
hid drivers of kernel. Without support for uhid driver, Bluetooth
HID functionality is broken completely. Also support for vendor
hid drivers is enabled so that HID profile can be connected with
these HID devices.

Change-Id: If56742a9c6b6c4ef774da6e83d57aee56bf28842
CRs-Fixed: 553571
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
8 years agomsm: kgsl: Keep the active draw context until it is switched out
Jordan Crouse [Wed, 11 May 2016 15:37:52 +0000 (09:37 -0600)]
msm: kgsl: Keep the active draw context until it is switched out

Instead of trying to make a decision to switch out the active
draw context for NULL at detach time leave the reference count
for it until the next context switch or until the next slumber
whichever comes first. This avoids races with the preemption
code and ensures a smooth transition.

A side effect is that we were depending heavily on the context
detach to reset the ringbuffer to the default at power down and
we didn't touch it on power up (though we did on soft reset and
wake from slumber. Curious).  Obviously if we are no longer
switching we will need to force the default pagetable during start
but it seems to me like this would be the right thing to do even
if we were still switching out.

CRs-Fixed: 1009124
Change-Id: Ic0dedbadff8df192096292b221130c8ef5b31e12
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Force all command level context switches to the GPU
Jordan Crouse [Wed, 11 May 2016 15:37:51 +0000 (09:37 -0600)]
msm: kgsl: Force all command level context switches to the GPU

Force any command triggered context switch to the GPU - it should
be on the GPU anyway, but we were already passing a flags parameter
(unused) so this is a good chance to force the issue and make sure
that the cpu path decision isn't in play here.

CRs-Fixed: 1009124
Change-Id: Ic0dedbadb277a6498d0840b45c90e1265e2f354a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Record the ringbuffer start of pipeline timestamp
Jordan Crouse [Wed, 11 May 2016 15:37:49 +0000 (09:37 -0600)]
msm: kgsl: Record the ringbuffer start of pipeline timestamp

We are only writing the ringbuffer start of pipeline timestamp for
internal commands that do not have a draw context associated which
happen rarely (if ever).  We should be recording the timestamp for
*ALL* commands so when something goes wrong we can get a fuller
idea of the timestamp picture for each ringbuffer.

CRs-Fixed: 1009134
Change-Id: Ic0dedbad6d99130e31cd8a06dfe025610e9157a8
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Relax timestamp comparisons for processing events
Jordan Crouse [Wed, 11 May 2016 15:37:48 +0000 (09:37 -0600)]
msm: kgsl: Relax timestamp comparisons for processing events

When processing an event group we check the previously processed
timestamp to avoid going through the loop if we don't need to.
We use timestamp_cmp() to check the timestamp. In situations
where the retired timestamp has advanced by more than 0x80000000
since the last time we checked the timestamp, timestamp_cmp()
will return -1 as it thinks that the new timestamp is older than
the processed timestamp. This can happen with certain tests and
scheduling hiccups.

The event processor can be much less restrictive - all we really
care about is that the retired timestamp didn't slip backwards by
accident (highly unlikely). So just check that the last proccessed
timestamp is not equal to the retired timestamp and if the
retired timestamp has already rolled, that the delta is outside
of the 0x8000000 window.

CRs-Fixed: 1009149
Change-Id: Ic0dedbad641bfa3fd6cbc1c91a37fb0e37f72bae
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Remove unneeded error message in kgsl_iommu.c
Jordan Crouse [Wed, 11 May 2016 15:37:45 +0000 (09:37 -0600)]
msm: kgsl: Remove unneeded error message in kgsl_iommu.c

iommu_attach_device() should return a log message for every
possible error and we don't need to double up the pain
especially for situations when we run out of available
domains and start getting a storm of ENOSPC errors back.

CRs-Fixed: 1009158
Change-Id: Ic0dedbad7416abb23c769a4d3be9ebd0ca04810c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Do INIT_WORK() just before queueing a deferred mem entry
Jordan Crouse [Wed, 11 May 2016 15:37:44 +0000 (09:37 -0600)]
msm: kgsl: Do INIT_WORK() just before queueing a deferred mem entry

gpuobj_free_on_fence() is used infrequently enough that it doesn't
make sense to do INIT_WORK() when the memory object is created,
especially if debug objects are enabled because INIT_WORK() will go
off and do a bunch of accounting that we don't need.  Do the
INIT_WORK() just before queueing in those rare cases that this
actually happens.

CRs-Fixed: 1009183
Change-Id: Ic0dedbad1015883788e12815806e3249a1e09b21
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Remove idle wait in kgsl_iommu_set_pf_policy()
Jordan Crouse [Wed, 11 May 2016 15:37:42 +0000 (09:37 -0600)]
msm: kgsl: Remove idle wait in kgsl_iommu_set_pf_policy()

We don't need to wait for idle before changing the pagefault
policy on the IOMMU which is a good thing because on a busy
system we may never hit idle.

CRs-Fixed: 1009187
Change-Id: Ic0dedbadb8f6122e32a0a34a65c54a7bca2a523c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Allow a draw context to skip snapshot
Jordan Crouse [Wed, 11 May 2016 15:37:41 +0000 (09:37 -0600)]
msm: kgsl: Allow a draw context to skip snapshot

Some test applications intentionally generate a GPU fault for
various reasons. Because a GPU fault generates a snapshot and
snapshots are persistent until they are pulled, running the test
application may take up the snapshot slot and prevent a real fault
from being captured and debugged.

This flag allows the draw context to intentionally avoid generating
a snapshot.

CRs-Fixed: 1009190
Change-Id: Ic0dedbad8476c308a13572d999540b243d97eabc
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Program the secvid registers in the soft reset path
Jordan Crouse [Wed, 11 May 2016 15:37:39 +0000 (09:37 -0600)]
msm: kgsl: Program the secvid registers in the soft reset path

The secure buffer registers were not being programmed in the soft
reset path which was causing a failure for the critical packets
workaround and forcing a hard reset.

CRs-Fixed: 1009194
Change-Id: Ic0dedbad998767a1ffdfe265e52fae7baa18d203
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Implement fast preemption for 5XX
Jordan Crouse [Wed, 11 May 2016 15:37:38 +0000 (09:37 -0600)]
msm: kgsl: Implement fast preemption for 5XX

Allow 5XX targets to preempt quickly from an atomic context. In
particular this allows quicker transition from a high priority
ringbuffer to a lower one without having to wait for the worker
to schedule.

CRs-Fixed: 1009124
Change-Id: Ic0dedbad01a31a5da2954b097cb6fa937d45ef5c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Preemption cleanups
Jordan Crouse [Tue, 3 May 2016 20:11:07 +0000 (14:11 -0600)]
msm: kgsl: Preemption cleanups

Remove some unused gpudev hooks and further segment the A4XX and
A5XX specific code into their respective areas.  Remove some bits
that are only applicable to 4XX from the 5XX side.

CRs-Fixed: 1009124
Change-Id: Ic0dedbadc324b979583d7a3998195bf15ac537f6
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Leave the MMU clocks on with the rest of the GPU
Jordan Crouse [Tue, 3 May 2016 20:11:06 +0000 (14:11 -0600)]
msm: kgsl: Leave the MMU clocks on with the rest of the GPU

It is no longer power efficient to independently enable and disable
the MMU clocks. We can safely enable and disable them with the rest
of the GPU clocks and take back the infrastructure needed to handle
the clocks.

CRs-Fixed: 1009124
Change-Id: Ic0dedbadc48095eada9c5fce6004475a2cb0f0a9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Use the GPU to write the RPTR
Carter Cooper [Tue, 3 May 2016 20:11:04 +0000 (14:11 -0600)]
msm: kgsl: Use the GPU to write the RPTR

The memstore shared between the CPU and GPU is old but can not be
messed with. Rather than stealing values from it where available,
add a new block of shared memory that is exclusive to the driver
and GPU. This block can be used more freely than the old
memstore block.

Program the GPU to write the RPTR out to an address the CPU can read rather
than having the CPU read a GPU register directly. There are some very
small but very real conditions where different blocks on the GPU have
outdated values for the RPTR. When scheduling preemption the value read
from the register could not reflect the actual value of the RPTR in the CP.
This can cause the save/restore from preemption to give back incorrect RPTR
values causing much confusion between the GPU and CPU.

Remove the ringbuffers copy of the read pointer shadow.
Now that the GPU will update a shared memory address with the
value of the read pointer, there is no need to poll the register
to get the value and then keep a local copy of it.

CRs-Fixed: 987082
Change-Id: Ic44759d1a5c6e48b2f0f566ea8c153f01cf68279
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
8 years agomsm: kgsl: Stop fault_timer before reading fault registers
Rajesh Kemisetti [Thu, 14 Apr 2016 10:04:51 +0000 (15:34 +0530)]
msm: kgsl: Stop fault_timer before reading fault registers

Currently adreno_ft_regs_val is getting updated at the time of
first submission or on the expiry of fault_timer.

If the fault_timer expires exactly at the time of inflight becomes 0
and there is an immediate submission for which GPU finishes the work
within short time. Then there is a chance to read the fault registers
in fault_detect_read() and fault_detect_read_compare() with less
time gap and declare it as a fault.

Stop the timer before reading fault registers and start it again.

CRs-Fixed: 1043478
Change-Id: Ib35104adf7b3618f94c6adf7fab531abffea3f76
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
8 years agomsm: camera isp: Control camif interrupts on camif enable/disable
Shubhraprakash Das [Fri, 3 Jun 2016 18:43:58 +0000 (11:43 -0700)]
msm: camera isp: Control camif interrupts on camif enable/disable

Turn off the camif interrupts when camif is disabled and turn them
on when camif is enabled. Also, improve the code to keep track of
interrupts that are enabled by updating them in the function that
sets interrupts instead of doing it in multiple places.

CRs-Fixed: 1037272
Change-Id: I1cc965696c06bd3901d86668aaf597abb3ef2d6d
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
8 years agoMerge "soc: qcom: code cleanup for service-locator"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:33 +0000 (08:07 -0700)]
Merge "soc: qcom: code cleanup for service-locator"

8 years agoMerge "msm: vidc: Increase output port buffer size for VP9 decode"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:32 +0000 (08:07 -0700)]
Merge "msm: vidc: Increase output port buffer size for VP9 decode"

8 years agoMerge "wcnss: Avoid user buffer overloading for write cal data"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:31 +0000 (08:07 -0700)]
Merge "wcnss: Avoid user buffer overloading for write cal data"

8 years agoMerge "ARM: dts: msm: add gpio controller node for msmcobalt"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:30 +0000 (08:07 -0700)]
Merge "ARM: dts: msm: add gpio controller node for msmcobalt"

8 years agoMerge "qcom-charger: smb138x-charger: change power supply type to usb parallel"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:27 +0000 (08:07 -0700)]
Merge "qcom-charger: smb138x-charger: change power supply type to usb parallel"

8 years agoMerge "ARM: dts: msm: update min voltage for pmcobalt s5 and s7"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:26 +0000 (08:07 -0700)]
Merge "ARM: dts: msm: update min voltage for pmcobalt s5 and s7"

8 years agoMerge "ARM: dts: msm: add ion heaps for msmfalcon"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:25 +0000 (08:07 -0700)]
Merge "ARM: dts: msm: add ion heaps for msmfalcon"

8 years agoMerge "ARM: dts: msm: Add initial memory map for msmfalcon"
Linux Build Service Account [Wed, 20 Jul 2016 15:07:25 +0000 (08:07 -0700)]
Merge "ARM: dts: msm: Add initial memory map for msmfalcon"

8 years agoARM: dts: msm: Add ipc-spinlock entry for MSMFALCON
Dhoat Harpal [Fri, 24 Jun 2016 12:55:29 +0000 (18:25 +0530)]
ARM: dts: msm: Add ipc-spinlock entry for MSMFALCON

Add the ipc-spinlock entry to facilitate locking between apps and
non-apps processors.

CRs-Fixed: 1043377
Change-Id: I097e5464ec6ab80c12bcdb5f38d0599fa40da9ee
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agomsm: mdss: fix mdss errors on 32-bit compilation
Raviteja Tamatam [Mon, 18 Jul 2016 07:24:23 +0000 (12:54 +0530)]
msm: mdss: fix mdss errors on 32-bit compilation

Changes made to fix mdss compilation errors on
32-bit mode

Change-Id: Ic28f6f36781154ff0c28f4636ade8523d753ab6a
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
8 years agowcnss: Avoid user buffer overloading for write cal data
Anand Kumar [Tue, 21 Jun 2016 12:06:05 +0000 (17:36 +0530)]
wcnss: Avoid user buffer overloading for write cal data

compare size of allocated cal data buffer from heap
and count bytes provided to write by user to avoid
heap overflow for write cal data.

Change-Id: Id70c3230f761385489e5e94c613f4519239dfb1f
CRs-Fixed: 1032174
Signed-off-by: Anand Kumar <anandkumar@codeaurora.org>
8 years agoARM: dts: msm: add gpio controller node for msmcobalt
Yeleswarapu Nagaradhesh [Tue, 21 Jun 2016 22:34:54 +0000 (04:04 +0530)]
ARM: dts: msm: add gpio controller node for msmcobalt

WCD934X audio codec has GPIO controller and hence add
pinctrl node for WCD934X pinctrl driver. Change WSA GPIO's
to codec GPIO's.

CRs-Fixed: 1041199
Change-Id: I0f04c08587f080eb2df7341d41344ce2079de21b
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoASoC: wcd9335: add all child devices of codec
Yeleswarapu Nagaradhesh [Tue, 19 Jul 2016 18:16:34 +0000 (23:46 +0530)]
ASoC: wcd9335: add all child devices of codec

New codec child nodes are added to handle wsa881x
enable pin. Add all the child devices of codec.

CRs-Fixed: 1041199
Change-Id: I889922a0c36ec80ee6ede95b2f19f80791323332
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoASoC: wcd: add wcd934x gpio controller device
Yeleswarapu Nagaradhesh [Tue, 19 Jul 2016 18:15:47 +0000 (23:45 +0530)]
ASoC: wcd: add wcd934x gpio controller device

Add wcd934x gpio controller as child to codec node
and add all child devices of codec.

CRs-Fixed: 1041199
Change-Id: I32ad5c5c8c9dd30a79818c873cfe1d121fd62d49
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoMerge "msm: vidc: Add support for setting packed QP range"
Linux Build Service Account [Wed, 20 Jul 2016 01:48:00 +0000 (18:48 -0700)]
Merge "msm: vidc: Add support for setting packed QP range"

8 years agoMerge "qcom: wcd934x: add pinctrl driver for wcd934x"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:59 +0000 (18:47 -0700)]
Merge "qcom: wcd934x: add pinctrl driver for wcd934x"

8 years agoMerge "NFC: Fix crash due to invalid use of ese gpio"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:58 +0000 (18:47 -0700)]
Merge "NFC: Fix crash due to invalid use of ese gpio"

8 years agoMerge "msm: vidc: check for venus_hfi_device state in resume"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:58 +0000 (18:47 -0700)]
Merge "msm: vidc: check for venus_hfi_device state in resume"

8 years agoMerge "msm: camera: ispif: RDI Pack mode support"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:57 +0000 (18:47 -0700)]
Merge "msm: camera: ispif: RDI Pack mode support"

8 years agoMerge "sched/core: Fix uninitialized variable used for tracepoint"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:56 +0000 (18:47 -0700)]
Merge "sched/core: Fix uninitialized variable used for tracepoint"

8 years agoMerge "sched/core: Fix null-pointer dereference"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:55 +0000 (18:47 -0700)]
Merge "sched/core: Fix null-pointer dereference"

8 years agoMerge "ARM: dts: msm: Remove SMD device for DSPS edge for MSMCOBALT"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:54 +0000 (18:47 -0700)]
Merge "ARM: dts: msm: Remove SMD device for DSPS edge for MSMCOBALT"

8 years agoMerge "ARM: dts: msm: Remove SMD device for ADSP edge for MSMCOBALT"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:54 +0000 (18:47 -0700)]
Merge "ARM: dts: msm: Remove SMD device for ADSP edge for MSMCOBALT"

8 years agoMerge "ARM: dts: msm: Remove SMD device for Modem edge for MSMCOBALT"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:53 +0000 (18:47 -0700)]
Merge "ARM: dts: msm: Remove SMD device for Modem edge for MSMCOBALT"

8 years agoMerge "WLAN subsystem: Sysctl support for key TCP/IP parameters"
Linux Build Service Account [Wed, 20 Jul 2016 01:47:51 +0000 (18:47 -0700)]
Merge "WLAN subsystem: Sysctl support for key TCP/IP parameters"

8 years agosoc: qcom: code cleanup for service-locator
Puja Gupta [Wed, 22 Jun 2016 00:20:36 +0000 (17:20 -0700)]
soc: qcom: code cleanup for service-locator

Module parameter already exists to control enabling service-locator,
which is enabled by default using kernel command line. Hence removing
sysfs entry 'service_locator_status'.

CRs-Fixed: 1025447
Change-Id: Ie302e79ff838837f214ac50ebfaa6e11f0055915
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
8 years agoqcom-charger: smb138x-charger: change power supply type to usb parallel
Nicholas Troast [Tue, 19 Jul 2016 16:09:12 +0000 (09:09 -0700)]
qcom-charger: smb138x-charger: change power supply type to usb parallel

Currently the type of the parallel power supply is
POWER_SUPPLY_TYPE_BATTERY. Change it to POWER_SUPPLY_TYPE_USB_PARALLEL.

Change-Id: Ic7652e43781f39d3137fb55f2fec2423e457fac4
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
8 years agoARM: dts: msm: update min voltage for pmcobalt s5 and s7
Nicholas Troast [Mon, 11 Jul 2016 16:05:26 +0000 (09:05 -0700)]
ARM: dts: msm: update min voltage for pmcobalt s5 and s7

PMCOBALT S5 is an always on regulator that sources the internal
infrastructure for XO. It's minimum operating voltage is 1904 mV.
PMCOBALT S7 has a 900 mV minimum operating voltage.
Update the minimum voltage for PMCOBALT S5 and S7.

Change-Id: I4ec609b45f5313d7c19ff6201742b0c5daf54174
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
8 years agoMerge "ASoC: msm: Add support for 192KHZ sampling rate on mi2s rx ports"
Linux Build Service Account [Tue, 19 Jul 2016 10:39:58 +0000 (03:39 -0700)]
Merge "ASoC: msm: Add support for 192KHZ sampling rate on mi2s rx ports"

8 years agoMerge "ASoC: msm: Implementing Tx mute in ASM loopback"
Linux Build Service Account [Tue, 19 Jul 2016 10:39:57 +0000 (03:39 -0700)]
Merge "ASoC: msm: Implementing Tx mute in ASM loopback"

8 years agomsm: vidc: Add support for setting packed QP range
Deepak Kushwah [Tue, 28 Jun 2016 06:15:39 +0000 (11:45 +0530)]
msm: vidc: Add support for setting packed QP range

Add support for setting packed QP range for clients
to set different QP Range for I, P, B frames.

CRs-Fixed: 1043369
Change-Id: I3765506f1d703f47e481719296ab890b1f3dc106
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
8 years agomsm: vidc: add support for maximum bitrate rate control mode
Deepak Kushwah [Wed, 29 Jun 2016 07:23:58 +0000 (12:53 +0530)]
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>
8 years agoqcom: wcd934x: add pinctrl driver for wcd934x
Yeleswarapu Nagaradhesh [Tue, 19 Jul 2016 00:27:18 +0000 (05:57 +0530)]
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>
8 years agoARM: dts: msm: add sound node for msmcobalt
Yeleswarapu Nagaradhesh [Tue, 21 Jun 2016 19:20:34 +0000 (00:50 +0530)]
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>
8 years agomsm: vidc: check for venus_hfi_device state in resume
Abdulla Anam [Mon, 11 Jul 2016 15:05:09 +0000 (20:35 +0530)]
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>
8 years agomsm: vidc: Increase output port buffer size for VP9 decode
Chinmay Sawarkar [Thu, 31 Mar 2016 23:10:38 +0000 (16:10 -0700)]
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>
8 years agoMerge "ASoC: aud-ext-clk: enable lnbbclk2 for tavil"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:23 +0000 (13:05 -0700)]
Merge "ASoC: aud-ext-clk: enable lnbbclk2 for tavil"

8 years agoMerge "ASoC: wcd934x: enable recording for wcd934x audio codec"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:20 +0000 (13:05 -0700)]
Merge "ASoC: wcd934x: enable recording for wcd934x audio codec"

8 years agoMerge "ASoC: wcd934x: add wcd934x audio codec driver"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:19 +0000 (13:05 -0700)]
Merge "ASoC: wcd934x: add wcd934x audio codec driver"

8 years agoMerge "clk: msm: Add MSM clock config for MSM clock controller"
Linux Build Service Account [Mon, 18 Jul 2016 15:07:53 +0000 (08:07 -0700)]
Merge "clk: msm: Add MSM clock config for MSM clock controller"

8 years agoARM: dts: msm: add ion heaps for msmfalcon
Shiraz Hashim [Wed, 13 Jul 2016 07:18:44 +0000 (12:48 +0530)]
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>
8 years agoARM: dts: msm: Add initial memory map for msmfalcon
Shiraz Hashim [Fri, 8 Jul 2016 04:41:40 +0000 (10:11 +0530)]
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>
8 years agoASoC: wcd934x: enable recording for wcd934x audio codec
Yeleswarapu Nagaradhesh [Tue, 12 Jul 2016 01:43:27 +0000 (07:13 +0530)]
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>
8 years agoMerge "clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk"
Linux Build Service Account [Sat, 16 Jul 2016 23:26:57 +0000 (16:26 -0700)]
Merge "clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk"

8 years agoMerge "qcom-charger: update parallel charging states after boot"
Linux Build Service Account [Sat, 16 Jul 2016 23:26:56 +0000 (16:26 -0700)]
Merge "qcom-charger: update parallel charging states after boot"

8 years agosched/core: Fix uninitialized variable used for tracepoint
Olav Haugan [Sat, 16 Jul 2016 18:31:24 +0000 (11:31 -0700)]
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>
8 years agosched/core: Fix null-pointer dereference
Olav Haugan [Sat, 16 Jul 2016 17:39:06 +0000 (10:39 -0700)]
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>
8 years agoMerge "ASoC: msm: qdsp6v2: Increase PCM capture period size"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:17 +0000 (07:34 -0700)]
Merge "ASoC: msm: qdsp6v2: Increase PCM capture period size"

8 years agoMerge "ARM: dts: msm: Add Temperature sensor support for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:16 +0000 (07:34 -0700)]
Merge "ARM: dts: msm: Add Temperature sensor support for msmfalcon"

8 years agoMerge "thermal: tsens: Enable TSENS for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:16 +0000 (07:34 -0700)]
Merge "thermal: tsens: Enable TSENS for msmfalcon"

8 years agoMerge "drivers: mfd: do not modify reset gpio if codec is identified"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:15 +0000 (07:34 -0700)]
Merge "drivers: mfd: do not modify reset gpio if codec is identified"

8 years agoMerge "ASoC: wcd9335: Update decimator filter cutoff frequency"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:14 +0000 (07:34 -0700)]
Merge "ASoC: wcd9335: Update decimator filter cutoff frequency"

8 years agoMerge "defconfig: msm: build dtb appended zImage for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:13 +0000 (07:34 -0700)]
Merge "defconfig: msm: build dtb appended zImage for msmfalcon"

8 years agoMerge "arch: arm: select ARM_GIC even for targets with gic-v3"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:12 +0000 (07:34 -0700)]
Merge "arch: arm: select ARM_GIC even for targets with gic-v3"

8 years agoMerge "clk: Add support to set custom flags with clk_set_flags"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:11 +0000 (07:34 -0700)]
Merge "clk: Add support to set custom flags with clk_set_flags"

8 years agoMerge "msm: pcie: change the logging type for dumping PARF registers"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:11 +0000 (07:34 -0700)]
Merge "msm: pcie: change the logging type for dumping PARF registers"

8 years agoMerge "ARM: dts: msm: peripheral_mem carveout for msmcobalt"
Linux Build Service Account [Sat, 16 Jul 2016 03:03:32 +0000 (20:03 -0700)]
Merge "ARM: dts: msm: peripheral_mem carveout for msmcobalt"

8 years agoASoC: aud-ext-clk: enable lnbbclk2 for tavil
Yeleswarapu Nagaradhesh [Wed, 29 Jun 2016 01:47:52 +0000 (18:47 -0700)]
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>