OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: adjust mdp ot limits for msmcobalt"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:56 +0000 (12:48 -0700)]
Merge "ARM: dts: msm: adjust mdp ot limits for msmcobalt"

7 years agoMerge "clk: msm: Add support for reset controller for GDSC"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:54 +0000 (12:48 -0700)]
Merge "clk: msm: Add support for reset controller for GDSC"

7 years agoMerge "clk: msm: Add support for block reset clocks"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:53 +0000 (12:48 -0700)]
Merge "clk: msm: Add support for block reset clocks"

7 years agoMerge "clk: msm: Add reset controller support"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:50 +0000 (12:48 -0700)]
Merge "clk: msm: Add reset controller support"

7 years agoMerge "input: msg21xx_ts: add support for firmware upgrade"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:48 +0000 (12:48 -0700)]
Merge "input: msg21xx_ts: add support for firmware upgrade"

7 years agoMerge "msm: ipa: Add parameters validation to handle static analysis issues"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:46 +0000 (12:48 -0700)]
Merge "msm: ipa: Add parameters validation to handle static analysis issues"

7 years agoMerge "input: ft5x06: Add support for firmware upgrade"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:45 +0000 (12:48 -0700)]
Merge "input: ft5x06: Add support for firmware upgrade"

7 years agoMerge "input: ft5x06_ts: Add DT support"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:44 +0000 (12:48 -0700)]
Merge "input: ft5x06_ts: Add DT support"

7 years agoMerge "usb: gadget: f_cdev: Fix memory leak upon composition switch"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:43 +0000 (12:48 -0700)]
Merge "usb: gadget: f_cdev: Fix memory leak upon composition switch"

7 years agoMerge "sched: Remove synchronize rcu/sched calls from _cpu_down"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:42 +0000 (12:48 -0700)]
Merge "sched: Remove synchronize rcu/sched calls from _cpu_down"

7 years agoMerge "input: touchscreen: correct function and variable names in ITE tech driver"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:38 +0000 (12:48 -0700)]
Merge "input: touchscreen: correct function and variable names in ITE tech driver"

7 years agoMerge "msm: wlan: Update db.txt for some countries"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:37 +0000 (12:48 -0700)]
Merge "msm: wlan: Update db.txt for some countries"

7 years agoMerge "qcom-charger: smb138x-charger: add parallel enable status properties"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:35 +0000 (12:48 -0700)]
Merge "qcom-charger: smb138x-charger: add parallel enable status properties"

7 years agoMerge "soc: qcom: core,gladiator hang: Change the sysfs print format"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:34 +0000 (12:48 -0700)]
Merge "soc: qcom: core,gladiator hang: Change the sysfs print format"

7 years agoMerge "ARM: dts: msm: Add SMMU implementation defined settings for cobalt"
Linux Build Service Account [Thu, 11 Aug 2016 19:48:22 +0000 (12:48 -0700)]
Merge "ARM: dts: msm: Add SMMU implementation defined settings for cobalt"

7 years agoinput: ft5x06: Add support for firmware upgrade
Mohan Pallaka [Tue, 4 Jun 2013 12:06:20 +0000 (17:36 +0530)]
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>
7 years agoMerge "ASoC: msm: set pointers to NULL after kfree"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:20 +0000 (18:29 -0700)]
Merge "ASoC: msm: set pointers to NULL after kfree"

7 years agoMerge "soc: qcom: pil: Add flag to know if modem SSR happened."
Linux Build Service Account [Thu, 11 Aug 2016 01:29:19 +0000 (18:29 -0700)]
Merge "soc: qcom: pil: Add flag to know if modem SSR happened."

7 years agoMerge "mdss: display-port: add support to send HPD event to framework"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:18 +0000 (18:29 -0700)]
Merge "mdss: display-port: add support to send HPD event to framework"

7 years agoMerge "msm: mdss: dsi: fix lcd mode selection gpio config when display is off"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:17 +0000 (18:29 -0700)]
Merge "msm: mdss: dsi: fix lcd mode selection gpio config when display is off"

7 years agoMerge "ASoC: msm: qdsp6v2: check param length for EAC3 format"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:16 +0000 (18:29 -0700)]
Merge "ASoC: msm: qdsp6v2: check param length for EAC3 format"

7 years agoMerge "usb: gadget: gsi: Optimize TRB's buffer allocation functionality"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:15 +0000 (18:29 -0700)]
Merge "usb: gadget: gsi: Optimize TRB's buffer allocation functionality"

7 years agoMerge "msm: vidc: Allow venus to power collapse in batch mode"
Linux Build Service Account [Thu, 11 Aug 2016 01:29:15 +0000 (18:29 -0700)]
Merge "msm: vidc: Allow venus to power collapse in batch mode"

7 years agoMerge "msm: vidc: Add support for color space information"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:12 +0000 (12:42 -0700)]
Merge "msm: vidc: Add support for color space information"

7 years agoMerge "defconfig: Enable memory latency monitors and governor"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:11 +0000 (12:42 -0700)]
Merge "defconfig: Enable memory latency monitors and governor"

7 years agoMerge "usb: f_fs: Prevent gadget unbind if it is already unbound"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:09 +0000 (12:42 -0700)]
Merge "usb: f_fs: Prevent gadget unbind if it is already unbound"

7 years agoMerge "msm: ipa: do not use skb clones for lan clients"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:08 +0000 (12:42 -0700)]
Merge "msm: ipa: do not use skb clones for lan clients"

7 years agoMerge "msm: ipa3: update BCR Regsiter values for IPA v3.1 and v3.5"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:07 +0000 (12:42 -0700)]
Merge "msm: ipa3: update BCR Regsiter values for IPA v3.1 and v3.5"

7 years agoMerge "msm: gsi: fix memory corruption from debugfs"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:06 +0000 (12:42 -0700)]
Merge "msm: gsi: fix memory corruption from debugfs"

7 years agoMerge "ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:04 +0000 (12:42 -0700)]
Merge "ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt"

7 years agoMerge "soc: qcom: irq-helper: Add header file of irq-helper"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:02 +0000 (12:42 -0700)]
Merge "soc: qcom: irq-helper: Add header file of irq-helper"

7 years agoMerge "ARM: dts: msm: Update TLMM base address for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:01 +0000 (12:42 -0700)]
Merge "ARM: dts: msm: Update TLMM base address for msmfalcon"

7 years agoMerge "pinctrl: qcom: Update TLMM configuration for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:00 +0000 (12:42 -0700)]
Merge "pinctrl: qcom: Update TLMM configuration for msmfalcon"

7 years agoMerge "pinctrl: qcom: Update SDC pins for msmfalcon"
Linux Build Service Account [Wed, 10 Aug 2016 19:42:00 +0000 (12:42 -0700)]
Merge "pinctrl: qcom: Update SDC pins for msmfalcon"

7 years agoMerge "ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:58 +0000 (12:41 -0700)]
Merge "ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt"

7 years agoMerge "usb: phy: qusb: Fix typo with emulation related property name"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:57 +0000 (12:41 -0700)]
Merge "usb: phy: qusb: Fix typo with emulation related property name"

7 years agoMerge "ASoC: msm: qdsp6v2: set correct loopback mode"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:57 +0000 (12:41 -0700)]
Merge "ASoC: msm: qdsp6v2: set correct loopback mode"

7 years agoMerge "ARM: msmcortex_defconfig: Enable NCM function driver"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:56 +0000 (12:41 -0700)]
Merge "ARM: msmcortex_defconfig: Enable NCM function driver"

7 years agoMerge "ASoC: wcd9335: Configure DMIC clock rate for ECPP path"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:55 +0000 (12:41 -0700)]
Merge "ASoC: wcd9335: Configure DMIC clock rate for ECPP path"

7 years agoMerge "drivers: mfd: wcd9xxx: Add support to configure dmic clock"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:55 +0000 (12:41 -0700)]
Merge "drivers: mfd: wcd9xxx: Add support to configure dmic clock"

7 years agoMerge "defconfig: msmcortex: Enable G-Link SPI Transport driver"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:53 +0000 (12:41 -0700)]
Merge "defconfig: msmcortex: Enable G-Link SPI Transport driver"

7 years agoMerge "ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "ARM: dts: msm: Add G-Link SPI Transport device for msmcobalt"

7 years agoMerge "soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport"
Linux Build Service Account [Wed, 10 Aug 2016 19:41:52 +0000 (12:41 -0700)]
Merge "soc: qcom: glink_spi_xprt: Add support for GLink SPI Transport"

7 years agoinput: msg21xx_ts: add support for firmware upgrade
Mao Li [Fri, 29 Aug 2014 06:42:58 +0000 (14:42 +0800)]
input: msg21xx_ts: add support for firmware upgrade

Add sysfs entries to upgrade the firmware from userspace. Update_fw
sysfs entry upgrades the firmware inside the touch controller only
when the controller's firmware version is lesser than that in
userspace's firmware file. Force firmware upgrade sysfs entry
forcefully upgrades the firmware inside the touch controller even
when the controller's firmware version matches that of the firmware
file in userspace.

This patch is propagated from 3.18 kernel 'commit 580ca1a4437e
("input: msg21xx_ts: add support for firmware upgrade")'

Change-Id: Ib6046de5230c395b48818d01f26eb9394046808b
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
7 years agoinput: msg21xx_ts: release touch when finger leaves the panel
Mao Li [Mon, 25 Aug 2014 14:00:42 +0000 (22:00 +0800)]
input: msg21xx_ts: release touch when finger leaves the panel

When fingers on the panel decrease, release corresponding touches.

This patch is propagated from 3.18 kernel  'commit 24e3a5036d3c
("input: msg21xx_ts: release touch when finger leaves the panel")'

Change-Id: Iafc3a9dda252417fcd06e3d9d24fb73b4d6f8e58
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
7 years agomsm: vidc: Add support for color space information
Manikanta Sivapala [Wed, 25 May 2016 05:38:40 +0000 (22:38 -0700)]
msm: vidc: Add support for color space information

When clients specify color space information, venus HW
should embed it in the bit stream. This helps to
regenerate original colors when decoded by decoder.
When decoder detects the color space VUI, Venus fills
the corresponding extradata

CRs-Fixed: 1026204
Change-Id: Ie9523558c23a8edc7a7ee058937658dd87ef5b16
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
7 years agousb: f_fs: Prevent gadget unbind if it is already unbound
Hemant Kumar [Mon, 8 Aug 2016 23:20:15 +0000 (16:20 -0700)]
usb: f_fs: Prevent gadget unbind if it is already unbound

Upon usb composition switch there is possibility of ep0 file
release happening after gadget driver bind. In case of composition
switch from adb to a non-adb composition gadget will never gets
bound again resulting into failure of usb device enumeration. Fix
this issue by checking FFS_FL_BOUND flag and avoid extra
gadget driver unbind if it is already done as part of composition
switch.

Change-Id: I1638001ff4a94f08224b188aa42425f3d732fa2b
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoASoC: msm: qdsp6v2: check param length for EAC3 format
Surendar karka [Wed, 29 Jun 2016 08:53:25 +0000 (14:23 +0530)]
ASoC: msm: qdsp6v2: check param length for EAC3 format

Initialize param length with user space argument and
check the condition for maximum length in
SND_AUDIOCODEC_EAC3 format.

CRs-Fixed: 1032820
Change-Id: I710c1f743d7502e93989e8cc487078366570e723
Signed-off-by: Surendar karka <sukark@codeaurora.org>
7 years agodefconfig: Enable memory latency monitors and governor
Rohit Gupta [Tue, 2 Aug 2016 20:53:33 +0000 (13:53 -0700)]
defconfig: Enable memory latency monitors and governor

Enable memory latency monitor and governors to vote for higher DDR
frequency on detecting latency bound workloads.

Change-Id: I4a3f415263b94d4eab16de05bbb9843b7bb04113
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoPM / devfreq: memlat: Remove kfree() on probe fails
Rohit Gupta [Wed, 3 Aug 2016 19:04:51 +0000 (12:04 -0700)]
PM / devfreq: memlat: Remove kfree() on probe fails

Memory allocated with devm_kzalloc() is automatically freed if
the probe function fails and returns an error code. So there
is no need to free cpu_grp explicitly for the failure cases
that might come up after it is allocated. Additionally calls to
devm_kzalloc() must be accompanied by devm_kfree() if memory
deallocation is necessary.
For these reasons remove the kfree(cpu_grp) from the probe
function.

Change-Id: Ic4838fd58d40d283ac301facc64b06813eb3bd7d
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoARM: dts: msm: adjust mdp ot limits for msmcobalt
Ingrid Gallardo [Fri, 5 Aug 2016 23:21:01 +0000 (16:21 -0700)]
ARM: dts: msm: adjust mdp ot limits for msmcobalt

This change adjusts the ot limits in the mdp vbif
for msmcobalt by removing the xin ot limits and
adding the axi ot limits to the mdp vbif.

CRs-Fixed: 1040746
Change-Id: I365976021dcf02fbc3687091371d7d72cb711605
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
7 years agomsm: gsi: fix memory corruption from debugfs
Skylar Chang [Wed, 3 Aug 2016 01:16:59 +0000 (18:16 -0700)]
msm: gsi: fix memory corruption from debugfs

Fix to GSI reset stats logic to clear the correct stats per channel

Change-Id: I94ae8c769ec2868a291e75a2f47c85bd8a449937
CRs-Fixed: 1046484
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agomsm: ipa: do not use skb clones for lan clients
Skylar Chang [Tue, 2 Aug 2016 23:36:40 +0000 (16:36 -0700)]
msm: ipa: do not use skb clones for lan clients

IPA driver uses 8k buffers for RX packets as those are aggregated.
If these packets deaggregated in IPA driver, cloned and provided
to clients, later calls to skb_copy() results in creating an 8k skb
which may lead to high memory utilization.
This change avoid the use of skb clones and allocates new skbs
for LAN clients and copy the packet content to it.

CRs-Fixed: 1050670
Change-Id: Iba47db8936b49309360791c1c6b482dcfcffd4d7
Acked by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agousb: gadget: configfs: Synchronizing bind/unbind using mutex lock
Hemant Kumar [Fri, 5 Aug 2016 22:57:24 +0000 (15:57 -0700)]
usb: gadget: configfs: Synchronizing bind/unbind using mutex lock

Synchronization is required because bind/unbind can happen in two
different contexts. For example, function unbind due to
unregister_gadget_item can race with bind which is initiated from
sysfs.

Change-Id: Iec93a9d4cb2a10b833cbba0d5256b64161147de2
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agousb: gadget: f_fs: Unlock mutex before unregistering gadget
Hemant Kumar [Fri, 5 Aug 2016 22:37:19 +0000 (15:37 -0700)]
usb: gadget: f_fs: Unlock mutex before unregistering gadget

Release the lock before unregistering gadget item.
Unregistered gadget item will result in unbind call back
to the driver which may use the same lock and resulting
in deadlock condition.

Change-Id: I2f8fba73a831d3bb711fe9310c5758221359819e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoclk: msm: Add support for reset controller for GDSC
Taniya Das [Fri, 29 Jul 2016 07:15:45 +0000 (12:45 +0530)]
clk: msm: Add support for reset controller for GDSC

GDSC regulators in case of 'qcom,skip-logic-collapse', would require block
assert/deassert of the clocks. Add support for the same to use the reset
controller APIs.

Change-Id: I83651b3b3515e0923d7431cfe8b70e6059b51067
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: msm: Add support for block reset clocks
Taniya Das [Thu, 28 Jul 2016 16:04:02 +0000 (21:34 +0530)]
clk: msm: Add support for block reset clocks

Add the block reset clocks which will be used by clients to
assert/deassert these clocks using the reset controller framework.

Change-Id: I3e9f7f85bf1faf0e1bb501196ba9d7e197111a03
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: msm: Add reset controller support
Taniya Das [Thu, 28 Jul 2016 15:58:23 +0000 (21:28 +0530)]
clk: msm: Add reset controller support

A reset signal is associated with each clock branch but sometimes a reset
signal is associated with a handful of clocks. Either way the register
interface is the same; set a bit to assert a reset and clear a bit to
deassert a reset. Add support for these types of resets signals.

Change-Id: Ic9d00c0a03507a55ca6c96f977a6ddf55b4b5db7
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoMerge "arm64: Select reset controller framework for MSM"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:55 +0000 (23:22 -0700)]
Merge "arm64: Select reset controller framework for MSM"

7 years agoMerge "NFC: IRQ gpio usage modification in nfc_read"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "NFC: IRQ gpio usage modification in nfc_read"

7 years agoMerge "ARM: dts: msm: Fix QOS settings for Venus on msmcobalt"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:54 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: Fix QOS settings for Venus on msmcobalt"

7 years agoMerge "msm: vidc: Fix decoder output buffer size issue"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:53 +0000 (23:22 -0700)]
Merge "msm: vidc: Fix decoder output buffer size issue"

7 years agoMerge "msm: ipa: Neutrino IPA offload support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:52 +0000 (23:22 -0700)]
Merge "msm: ipa: Neutrino IPA offload support"

7 years agoMerge "ARM: dts: msm: enabling dynamic FPS for nt35597 video panel"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:51 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: enabling dynamic FPS for nt35597 video panel"

7 years agoMerge "msm: kgsl: Allow 0 as a valid ion file descriptor"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:47 +0000 (23:22 -0700)]
Merge "msm: kgsl: Allow 0 as a valid ion file descriptor"

7 years agoMerge "msm: kgsl: Make VBIF register dump more generic"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:45 +0000 (23:22 -0700)]
Merge "msm: kgsl: Make VBIF register dump more generic"

7 years agoMerge "msm: crypto: Fix integer over flow check in qcedev driver"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:44 +0000 (23:22 -0700)]
Merge "msm: crypto: Fix integer over flow check in qcedev driver"

7 years agoMerge "qcom: ssr: Fix possible overflow when copying firmware name"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "qcom: ssr: Fix possible overflow when copying firmware name"

7 years agoMerge "msm: vidc: Add Override QP extradata support"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:43 +0000 (23:22 -0700)]
Merge "msm: vidc: Add Override QP extradata support"

7 years agoMerge "qseecom: Fix ion memory issue during unload app failure"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:40 +0000 (23:22 -0700)]
Merge "qseecom: Fix ion memory issue during unload app failure"

7 years agoMerge "msm: mdss: free the correct layer_list in compat_atomic_commit"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:39 +0000 (23:22 -0700)]
Merge "msm: mdss: free the correct layer_list in compat_atomic_commit"

7 years agoMerge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt"
Linux Build Service Account [Mon, 8 Aug 2016 06:22:38 +0000 (23:22 -0700)]
Merge "ARM: dts: msm: add proxy vote for mdss gdsc for msmcobalt"

7 years agomsm: ipa3: update BCR Regsiter values for IPA v3.1 and v3.5
Amir Levy [Sun, 7 Aug 2016 07:28:24 +0000 (10:28 +0300)]
msm: ipa3: update BCR Regsiter values for IPA v3.1 and v3.5

Change BCR value for IPAv3.1 according to updated value from HPG.
Add IPAv3.5 to receive BCR initialization according to HPG.

CRs-Fixed: 1051371
Change-Id: If2a7eaf11ad05ced3c52ff87be934745b7dc713b
Signed-off-by: Amir Levy <alevy@codeaurora.org>
7 years agomsm: ipa: Add parameters validation to handle static analysis issues
Ghanim Fodi [Tue, 2 Aug 2016 11:56:28 +0000 (14:56 +0300)]
msm: ipa: Add parameters validation to handle static analysis issues

Check input parameter range before using it to access
array elements and check pointer value before
dereferencing it.

Change-Id: I702b4ff11582047b00e3f0d5433d29c84f34e913
CRs-Fixed: 1048706
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt
David Collins [Wed, 3 Aug 2016 23:26:38 +0000 (16:26 -0700)]
ARM: dts: msm: increase VDD_GFX CPR ceiling voltages for msmcobalt

Hardware characterization has shown that some parts require
higher voltages in order to operate consistently.  Increase
the ceiling voltage for all corners so that they are able to
operate at higher voltages.  This applies to all CPR revisions
except 0.

Change-Id: Ie9d4e825e5c6040036642cdaf22d1f67b6129685
CRs-Fixed: 1050071
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agosoc: qcom: irq-helper: Add header file of irq-helper
Runmin Wang [Fri, 5 Aug 2016 20:38:00 +0000 (13:38 -0700)]
soc: qcom: irq-helper: Add header file of irq-helper

Add header file of irq-helper to export black_list on/off api to
other module.

CRs-Fixed: 1051104
Change-Id: I4737975961b18f1095e3cd78d07a2bca22931291
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agodefconfig: Enable irq-helper on msmcobalt
Runmin Wang [Sat, 6 Aug 2016 00:02:22 +0000 (17:02 -0700)]
defconfig: Enable irq-helper on msmcobalt

Enable irq-helper on msmcobalt to export apis for user space.

CRs-Fixed: 1051104
Change-Id: I7a623463a142a4db1db7247cf7c5dfeb5b99283c
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agosoc: qcom: irq-helper: Fix spelling mistake
Runmin Wang [Sat, 6 Aug 2016 00:00:04 +0000 (17:00 -0700)]
soc: qcom: irq-helper: Fix spelling mistake

Change koject to kobject to resolve compilation error.

CRs-Fixed: 1051104
Change-Id: I642d5d4adc6978ddfa84f6d9dc4ae6428efc7894
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoregulator: cpr3-mmss-regulator: add support for force highest corner fuse
David Collins [Wed, 3 Aug 2016 23:17:42 +0000 (16:17 -0700)]
regulator: cpr3-mmss-regulator: add support for force highest corner fuse

Add support for the MSMCOBALT force highest corner fuse.  This
fuse is set on parts which can only operate consistently when
the highest corner's voltage is applied to all of the lower
corners.

Change-Id: Ibeef761044deea375dc7684c0a160609b610b8f6
CRs-Fixed: 1050071
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agousb: gadget: f_fs: Add support for ipc logging
Hemant Kumar [Thu, 28 Jul 2016 18:51:07 +0000 (11:51 -0700)]
usb: gadget: f_fs: Add support for ipc logging

Log function entry and exit and dump relevant values
into ipc log buffer. This allows to debug various
race conditions and stability issues.

Change-Id: I15011d79fc2f054e64f8bbd1f8f5db8944b46ada
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agousb: phy: qusb: Fix typo with emulation related property name
Mayank Rana [Fri, 5 Aug 2016 17:44:49 +0000 (10:44 -0700)]
usb: phy: qusb: Fix typo with emulation related property name

Driver is using "qcom,emu-init-seq" for finding length of property
but using "qcom,qemu-init-seq" instead of "qcom,emu-init-seq" to
get passed values from device tree. With this, length of property
comes as expected but values are not received. This results into
programming zeros as values with offset as zero instead of expected
<value, offset> passed through devicetree.

CRs-Fixed: 1051115
Change-Id: I1809fcef844d275175814e636591b87e91432609
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agoARM: dts: msm: Enable the GPU QDSS STM for msmcobalt
Jonathan Wicks [Tue, 26 Jul 2016 18:23:17 +0000 (12:23 -0600)]
ARM: dts: msm: Enable the GPU QDSS STM for msmcobalt

Add the QDSS STM property to the device tree so
that data can be logged from the GPU to the debug
bus when available.

CRs-Fixed: 1031648
Change-Id: I754c85a2ed02d0b1e40fd1e27b10ff84c463ac83
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
7 years agoinput: ft5x06_ts: Add support for FB notifications
Mohan Pallaka [Fri, 10 May 2013 10:04:44 +0000 (15:34 +0530)]
input: ft5x06_ts: Add support for FB notifications

Add support for FB notifications to trigger suspend/resume
based on FB blank/unblank events.

Change-Id: I79abc586ad8c14a25afd56559c579a1415df9f0e
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: correct function and variable names in ITE tech driver
Shantanu Jain [Thu, 3 Mar 2016 09:24:14 +0000 (14:54 +0530)]
input: touchscreen: correct function and variable names in ITE tech driver

Correct function and variable names in ITE tech driver from upper case
to lower case, and use underscore instead of camel-case in their names.
This change makes the driver as per kernel coding standards and similar
to other touch drivers.

This is a propagation patch from 3.18 kernel 'commit c1fe9ac38d93 ("input:
touchscreen: correct function and variable names in ITE tech driver")'

CRs-Fixed: 982219
Change-Id: Ic8b66317f414fe3bfcd0f9c5b03369cc304edb55
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: correct return values in ITE tech driver
Shantanu Jain [Wed, 2 Mar 2016 11:29:52 +0000 (16:59 +0530)]
input: touchscreen: correct return values in ITE tech driver

Correct return values of the functions in ITE tech driver.
Use valid integer error and success values instead of boolean
values.

This is a propagated patch from 3.18 kernel 'commit a68ff7e23d20
("input: touchscreen: correct return values in ITE tech driver")'

CRs-Fixed: 982219
Change-Id: Iba07517fd32dbeb3079df9c0346ea0c044b88f63
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: remove global variable from ITE tech touch driver
Shantanu Jain [Tue, 1 Mar 2016 09:36:08 +0000 (15:06 +0530)]
input: touchscreen: remove global variable from ITE tech touch driver

Remove the use of global variable from ITE tech touch driver,
and use the internal driver structure passed as function argument.
This change makes the driver complied to kernel coding standards
and similar to other touch driver.

This is a propagated patch from 3.18 patch 'commit 041f90ddeb5e ("input:
touchscreen: remove global variable from ITE tech touch driver")'

CRs-Fixed: 982219
Change-Id: Ib609d6e76ea70cd3b49c4ea6f09c75bf52521aa8
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: identify ITE tech controller until ready
Shantanu Jain [Wed, 2 Mar 2016 06:41:38 +0000 (12:11 +0530)]
input: touchscreen: identify ITE tech controller until ready

Identify the ITE tech controller until it is ready to do any
i2c transaction. This is needed for dynamic detection and to check
if ITE tech controller is connected or not.

This is a propagated patch from 3.18 kernel 'commit eb37d1174948
("input: touchscreen: identify ITE tech controller until ready")'

CRs-Fixed: 980427
Change-Id: I9f69eb541e31de6a04db7468ca12a04a837d2b40
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: correct condition checks in ITE tech touch driver
Shantanu Jain [Fri, 22 Jan 2016 11:39:27 +0000 (17:09 +0530)]
input: touchscreen: correct condition checks in ITE tech touch driver

Correct the return value check of kstrtoint function.
Also correct the platform_data parsing check in ITE tech
touch driver.

This is a propagated patch from 3.18 kernel
'commit 9a1496537aeb ("input: touchscreen: correct condition checks
in ITE tech touch driver")'

Change-Id: I792c043ca4d85e236c209605e80392a05d26b983
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: don't allow ITE tech driver to do infinite i2c checks
Shantanu Jain [Thu, 10 Dec 2015 10:57:17 +0000 (16:27 +0530)]
input: touchscreen: don't allow ITE tech driver to do infinite i2c checks

Don't allow ITE tech driver to check the status of the controller forever
before any i2c read/write, instead make it to 10 times only.
In case of firmware flashing and external calibration features, this is
made to 500 times.

This is a propagated patch from 3.18 kernel
'commit 5e8c98c6705b ("input: touchscreen: don't allow ITE tech driver
to do infinite i2c checks")'

Change-Id: I88e024700de43cc9f712fd7fa509fcb387f9cd21
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: ft5x06_ts: Add DT support
Mohan Pallaka [Thu, 9 May 2013 11:00:00 +0000 (16:30 +0530)]
input: ft5x06_ts: Add DT support

Add device tree support for focaltech controller driver.
The data is represented in device tree format and parsed
by the driver using of framework apis.

This patch is a propagated patch from 3.18 kernel
'commit 83310a9a151e ("input: ft5x06_ts: Add DT support")'

Change-Id: Ibcdd8c3579f401ac0632d670e1b7c674aa67ba8d
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
[abinayap@codeaurora.org: Fix checkpatch errors for 4.4 kernel
struct of_device_id should normally be const]
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
7 years agoARM: dts: msm: Update TLMM base address for msmfalcon
Neeraj Upadhyay [Wed, 15 Jun 2016 03:05:22 +0000 (20:05 -0700)]
ARM: dts: msm: Update TLMM base address for msmfalcon

Update TLMM base address to match new address.

Change-Id: Ie0c46cbbcbc3edabd5e0f867b4393a27e55db9f5
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agopinctrl: qcom: Update TLMM configuration for msmfalcon
Neeraj Upadhyay [Tue, 26 Jul 2016 09:44:07 +0000 (02:44 -0700)]
pinctrl: qcom: Update TLMM configuration for msmfalcon

Update TLMM configuration for msmfalcon, to match new
HW definitions.

Change-Id: I61d99454dab2fa90b4ed6577d1a58685088eb968
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agopinctrl: qcom: Update SDC pins for msmfalcon
Neeraj Upadhyay [Wed, 15 Jun 2016 03:05:22 +0000 (20:05 -0700)]
pinctrl: qcom: Update SDC pins for msmfalcon

Add SDC1 related pin configuration and update addresses for
SDC2 pins, to match TLMM addresses in new HW definitions.

Change-Id: If39ad62cc591565793cd1d8a0f2a454e0b7d5c58
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agoinput: touchscreen: increase number of checks for touch controller status
Shantanu Jain [Wed, 2 Dec 2015 08:48:18 +0000 (14:18 +0530)]
input: touchscreen: increase number of checks for touch controller status

Before doing any i2c read/write, driver needs to check the value
of QUERY buffer to know if the controller is in ready or busy state.
Sometime, it takes more number of checks to know the status.
So this change increases the number of checks to know the ITE tech
touch controller status.

This is a propagated patch from 3.18 kernel 'commit 60589278b8e7 ("input:
touchscreen: increase number of checks for touch controller status")

Change-Id: I30dd0cf0b15538e67f50725754d5059e2fe721d0
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
7 years agoinput: msg21xx_ts: update mstar driver to enable msg2138A
Mao Li [Mon, 11 Aug 2014 06:19:09 +0000 (14:19 +0800)]
input: msg21xx_ts: update mstar driver to enable msg2138A

Mstar reference driver is being cleaned up to be checkpatch
compliant. Add Kconfig and Makefile changes to enable Mstar
driver's compilation. And following new features are added to
the driver:
1. Pinctrl support
2. Threaded irq support
3. Release all touches in suspend
4. Protocol B compliance
5. Explicit suspend/resume function
6. Configure gpios in suspend/resume function
7. Add device tree parser function
8. Add dtsi support for gpio, regulator, I2C address, display coords

This patch is propagated from 3.18 kernel
'commit 091a01709e12 ("input: msg21xx_ts: update mstar
driver to enable msg2138A")'

Change-Id: Ic49a18de64ec210a0636405394ba7a8f52f336a9
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
[abinayap@codeaurora.org: Fix checkpatch errors for 4.4 kernel
- Block comments use a trailing */ on a separate line
- Comparisons should place the constant on the right side of the test
- struct of_device_id should normally be const
- DT compatible string vendor "mstar" appears un-documented]
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
7 years agoNFC: IRQ gpio usage modification in nfc_read
Gaurav Singhal [Fri, 8 Jul 2016 13:50:33 +0000 (19:20 +0530)]
NFC: IRQ gpio usage modification in nfc_read

Modified condition to ensure data is read
only after interrupt has occurred.

Spurious interrupt handling is done in nfc_read
instead of irq handler.

Change-Id: Ie2362610fe922e792e6358b4386c828fdd754fa8
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
7 years agoMerge "ASoC: wcd934x: Enable smart boost on WCD9340 codec"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:49 +0000 (21:39 -0700)]
Merge "ASoC: wcd934x: Enable smart boost on WCD9340 codec"

7 years agoMerge "icnss: pass fw version to wlan driver"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:48 +0000 (21:39 -0700)]
Merge "icnss: pass fw version to wlan driver"

7 years agoMerge "soc: qcom: pil: Add error codes to error logs"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:47 +0000 (21:39 -0700)]
Merge "soc: qcom: pil: Add error codes to error logs"

7 years agoMerge "msm: kgsl: Allocate global buffers through paged memory"
Linux Build Service Account [Fri, 5 Aug 2016 04:39:46 +0000 (21:39 -0700)]
Merge "msm: kgsl: Allocate global buffers through paged memory"