OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "leds: qpnp-wled: add support to control PSM dynamically"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:45 +0000 (04:28 -0800)]
Merge "leds: qpnp-wled: add support to control PSM dynamically"

7 years agoMerge "ARM: dts: msm: change CHG_OK pin to active high for QRD SDM660"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:44 +0000 (04:28 -0800)]
Merge "ARM: dts: msm: change CHG_OK pin to active high for QRD SDM660"

7 years agoMerge "msm: mdss: trigger BTA during active region of display"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:43 +0000 (04:28 -0800)]
Merge "msm: mdss: trigger BTA during active region of display"

7 years agoMerge "msm: mhi_rmnet: Keep wake when processing transfer"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:40 +0000 (04:28 -0800)]
Merge "msm: mhi_rmnet: Keep wake when processing transfer"

7 years agoMerge "msm: mhi_rmnet: Add support for platform devices"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:40 +0000 (04:28 -0800)]
Merge "msm: mhi_rmnet: Add support for platform devices"

7 years agoMerge "ARM: dts: msm: Change BLSP assignment for APQ8098-mediabox"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:39 +0000 (04:28 -0800)]
Merge "ARM: dts: msm: Change BLSP assignment for APQ8098-mediabox"

7 years agoMerge "ARM: dts: msm: Add cpp micro reset flag for SDM660"
Linux Build Service Account [Mon, 6 Mar 2017 12:28:38 +0000 (04:28 -0800)]
Merge "ARM: dts: msm: Add cpp micro reset flag for SDM660"

7 years agoMerge "mmc: card: block: Add support for completing cmdq requests with error"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:26 +0000 (20:08 -0800)]
Merge "mmc: card: block: Add support for completing cmdq requests with error"

7 years agoMerge "ath10k: define structure for the copy engine misc regs"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:24 +0000 (20:08 -0800)]
Merge "ath10k: define structure for the copy engine misc regs"

7 years agoMerge "ath10k: skip cal configuration for WCN3990"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:23 +0000 (20:08 -0800)]
Merge "ath10k: skip cal configuration for WCN3990"

7 years agoMerge "USB: composite: Check return value before composite_setup_complete()"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:22 +0000 (20:08 -0800)]
Merge "USB: composite: Check return value before composite_setup_complete()"

7 years agoMerge "leds: qpnp-wled: improve OVP fault interrupt handling"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:20 +0000 (20:08 -0800)]
Merge "leds: qpnp-wled: improve OVP fault interrupt handling"

7 years agoMerge "ARM: dts: msm: Add improve touch device node into sdm630 QRD"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:20 +0000 (20:08 -0800)]
Merge "ARM: dts: msm: Add improve touch device node into sdm630 QRD"

7 years agoMerge "ARM: dts: msm: Update SDCC PM QOS values for SDM660"
Linux Build Service Account [Mon, 6 Mar 2017 04:08:19 +0000 (20:08 -0800)]
Merge "ARM: dts: msm: Update SDCC PM QOS values for SDM660"

7 years agoARM: dts: msm: change CHG_OK pin to active high for QRD SDM660
Yingwei Zhao [Sat, 4 Mar 2017 05:15:58 +0000 (13:15 +0800)]
ARM: dts: msm: change CHG_OK pin to active high for QRD SDM660

PM660 controls SMB1351 by STAT_CHG pin when the parallel is enabled.
the polarity of SMB1351 should be active high, so add a property
in DTS to the polarity.

CRs-Fixed: 2015025
Change-Id: Idca4149c587e9588fce8ba757fa0b7bf0ca5614d
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
7 years agoMerge "msm: mdss: Fix AVR flush for split control path"
Linux Build Service Account [Sun, 5 Mar 2017 20:38:08 +0000 (12:38 -0800)]
Merge "msm: mdss: Fix AVR flush for split control path"

7 years agoMerge "msm: mdss: flush timing after splash done for video panel"
Linux Build Service Account [Sun, 5 Mar 2017 20:38:07 +0000 (12:38 -0800)]
Merge "msm: mdss: flush timing after splash done for video panel"

7 years agoMerge "msm: mdss: add support for DP PLL driver on sdm630"
Linux Build Service Account [Sun, 5 Mar 2017 20:38:06 +0000 (12:38 -0800)]
Merge "msm: mdss: add support for DP PLL driver on sdm630"

7 years agoMerge "USB: gadget: midi: Replace snd_card_free with snd_card_free_closed"
Linux Build Service Account [Sun, 5 Mar 2017 07:34:14 +0000 (23:34 -0800)]
Merge "USB: gadget: midi: Replace snd_card_free with snd_card_free_closed"

7 years agoMerge "msm: mdss: validate qseed3 params"
Linux Build Service Account [Sat, 4 Mar 2017 18:12:55 +0000 (10:12 -0800)]
Merge "msm: mdss: validate qseed3 params"

7 years agoMerge "mmc: core: Retry claim host in mmc_sd_detect"
Linux Build Service Account [Sat, 4 Mar 2017 18:12:54 +0000 (10:12 -0800)]
Merge "mmc: core: Retry claim host in mmc_sd_detect"

7 years agoMerge "defconfig: enable VT driver for mediabox"
Linux Build Service Account [Sat, 4 Mar 2017 10:56:20 +0000 (02:56 -0800)]
Merge "defconfig: enable VT driver for mediabox"

7 years agoMerge "ASoC: codecs: add cable connect/disconnect acknowledgment"
Linux Build Service Account [Sat, 4 Mar 2017 10:56:19 +0000 (02:56 -0800)]
Merge "ASoC: codecs: add cable connect/disconnect acknowledgment"

7 years agoMerge "msm: pcie: add the checking of userspace input length"
Linux Build Service Account [Sat, 4 Mar 2017 10:56:18 +0000 (02:56 -0800)]
Merge "msm: pcie: add the checking of userspace input length"

7 years agoMerge "msm: camera: Lack of copy_from_user in camera driver."
Linux Build Service Account [Sat, 4 Mar 2017 10:56:17 +0000 (02:56 -0800)]
Merge "msm: camera: Lack of copy_from_user in camera driver."

7 years agommc: core: Retry claim host in mmc_sd_detect
Veerabhadrarao Badiganti [Thu, 9 Feb 2017 14:53:17 +0000 (20:23 +0530)]
mmc: core: Retry claim host in mmc_sd_detect

Use mmc_try_claim_host with a timeout instead of mmc_claim_host in
mmc_sd_detect. This is to ensure that mmc rescan work item is doesn't
get blocked on claim_host for longer period.

In the pm_suspend path, we cancel the mmc_rescan work item.
If this work item is already scheduled, suspend would be blocked till
mmc_rescan gets finished. In case, mmc_rescan is blocked on claim_host
lock, pm_suspend could get blocked for longer period.  This can result
in momentary UI freeze since pm_suspend is blocked for longer duration.
This change is to prevent this scenario.

Change-Id: Ib93bae6745a153bad3579ae42f46c3c3a7c1b95a
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
7 years agoMerge "usb: dwc3: Replace sscanf with kstrtou8_from_user"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:29 +0000 (17:39 -0800)]
Merge "usb: dwc3: Replace sscanf with kstrtou8_from_user"

7 years agoMerge "clk: qcom: Use the saved current frequency for enable_safe_config"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:28 +0000 (17:39 -0800)]
Merge "clk: qcom: Use the saved current frequency for enable_safe_config"

7 years agoMerge "power: fg-util: Fix the address mask for secure_write check"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:27 +0000 (17:39 -0800)]
Merge "power: fg-util: Fix the address mask for secure_write check"

7 years agoMerge "qcom: smb-lib: fix adapter allowance for PM660"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:26 +0000 (17:39 -0800)]
Merge "qcom: smb-lib: fix adapter allowance for PM660"

7 years agoMerge "msm: ipa3: fix DMA memory allocation success check"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:26 +0000 (17:39 -0800)]
Merge "msm: ipa3: fix DMA memory allocation success check"

7 years agoMerge "msm: ipa: Remove usage of stack memory"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:25 +0000 (17:39 -0800)]
Merge "msm: ipa: Remove usage of stack memory"

7 years agoMerge "alarmtimer: Program mpm wakeup time in milliseconds"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:23 +0000 (17:39 -0800)]
Merge "alarmtimer: Program mpm wakeup time in milliseconds"

7 years agoMerge "msm: mhi_uci: Add support for platform devices"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:22 +0000 (17:39 -0800)]
Merge "msm: mhi_uci: Add support for platform devices"

7 years agoMerge "ARM: dts: msm: Update SDCC bus voting for SDM660"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:22 +0000 (17:39 -0800)]
Merge "ARM: dts: msm: Update SDCC bus voting for SDM660"

7 years agoMerge "ARM: dts: msm: add sink capabilities to PM660 PD PHY"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:21 +0000 (17:39 -0800)]
Merge "ARM: dts: msm: add sink capabilities to PM660 PD PHY"

7 years agoMerge "ath10k: Remove bus structures from ath10k struct"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:19 +0000 (17:39 -0800)]
Merge "ath10k: Remove bus structures from ath10k struct"

7 years agoMerge "Merge tag 'lsk-v4.4-16.12-android' into branch 'msm-4.4'"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:19 +0000 (17:39 -0800)]
Merge "Merge tag 'lsk-v4.4-16.12-android' into branch 'msm-4.4'"

7 years agoMerge "ARM: dts: msm: Add Nfc device to sdm630"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:18 +0000 (17:39 -0800)]
Merge "ARM: dts: msm: Add Nfc device to sdm630"

7 years agoMerge "USB: f_mtp: Perform vfs_write under mutex protection"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:17 +0000 (17:39 -0800)]
Merge "USB: f_mtp: Perform vfs_write under mutex protection"

7 years agoMerge "sched/rt: Fix PI handling vs. sched_setscheduler()"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:16 +0000 (17:39 -0800)]
Merge "sched/rt: Fix PI handling vs. sched_setscheduler()"

7 years agoMerge "msm: kgsl: Change GPU RAC hardware clockgating on SDM660"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:15 +0000 (17:39 -0800)]
Merge "msm: kgsl: Change GPU RAC hardware clockgating on SDM660"

7 years agoMerge "defconfig: Enable REGMAP_ALLOW_WRITE_DEBUGFS for sdm660"
Linux Build Service Account [Sat, 4 Mar 2017 01:39:14 +0000 (17:39 -0800)]
Merge "defconfig: Enable REGMAP_ALLOW_WRITE_DEBUGFS for sdm660"

7 years agomsm: mhi_rmnet: Keep wake when processing transfer
Sujeev Dias [Wed, 12 Oct 2016 00:58:49 +0000 (17:58 -0700)]
msm: mhi_rmnet: Keep wake when processing transfer

Disable MHI from going into low power mode when
processing inbound transfers.

CRs-Fixed: 1081654
Change-Id: If8af0805501901a15981bbc6db0c92d2e040eb78
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomsm: mhi_rmnet: Add support for platform devices
Sujeev Dias [Thu, 9 Jun 2016 20:32:02 +0000 (13:32 -0700)]
msm: mhi_rmnet: Add support for platform devices

In order to support multiple instances of mhi_rmnet
net devices re-architect how the driver initialize
by adding support for platform device.

CRs-Fixed: 1027069
Change-Id: I038f9dcb2e9bffb2637d82fb30794f6e6d4c578c
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agommc: card: block: Add support for completing cmdq requests with error
Veerabhadrarao Badiganti [Tue, 21 Feb 2017 09:36:23 +0000 (15:06 +0530)]
mmc: card: block: Add support for completing cmdq requests with error

Add support for completing failed cmdq requests with error.

If any cmdq request is failed, we enter into error recovery path and
re-queue the same request. But in some cases (e.g. requests failed due
to invalid crypto configuration) same request shouldn't be re-queued
but should complete the request with error so that the a new requested
would be issued.

In mmc_blk_cmdq_complete_rq(), for a request if error information is
present and flag which indicates to skip error handling is set
then complete that request with error info.

Change-Id: I9c4a446bb27b4d82a0847d0bfb4481b314df479c
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
7 years agoUSB: composite: Check return value before composite_setup_complete()
Vijayavardhan Vennapusa [Thu, 2 Mar 2017 10:37:13 +0000 (16:07 +0530)]
USB: composite: Check return value before composite_setup_complete()

Currently driver is calling composite_setup_complete() when request
queuing to control endpoint fails. During disconnect or composition switch,
ep_queue() fails with -ESHUTDOWN return value. In this case also, driver is
calling composite_setup_complete(), which leads to invalid pointer
dereference. Fix it by not calling composite_setup_complete() in case of
return value of -ESHUTDOWN as anyhow composite_unbind() will take care of
clearing pending flags before freeing request buffers.

Change-Id: I87ea6ecb1e925c6b36dede59486e49ba3a4e90c7
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agomsm: camera: Lack of copy_from_user in camera driver.
Manish Poddar [Fri, 9 Dec 2016 06:24:37 +0000 (11:54 +0530)]
msm: camera: Lack of copy_from_user in camera driver.

In msm_copy_camera_private_ioctl_args function in
msm_buf_mgr camera driver arg is pointing to an address
in userspace and not kernel.
Done changes to use copy_from_user to fix it.

Change-Id: Ia9b747dcf86b448656a5d3676455ccb4eccd4e5a
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
7 years agoath10k: skip cal configuration for WCN3990
Govind Singh [Sat, 11 Feb 2017 11:14:21 +0000 (16:44 +0530)]
ath10k: skip cal configuration for WCN3990

Calibration data configuration is done from user space
for WCN3990 target. Skip cal configuration from debug
routine.

Change-Id: I349575a04029e80ef4efc2ac486f5716561c37d8
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agommc: cmdq_hci: ice: Handle ICE HCI errors in cmdq mode
Veerabhadrarao Badiganti [Sun, 11 Dec 2016 15:08:20 +0000 (20:38 +0530)]
mmc: cmdq_hci: ice: Handle ICE HCI errors in cmdq mode

With ICE HCI addition in SDHC, couple of errors conditions
got introduced. These errors would be detected by ICE HCI and
triggers interrupt.

The two errors are:
1. Generic Crypto Error (GCE): This error is detected during the
transfer. Need to reset SDHC to recover.
2. Invalid Crypto Configuration Error (ICCE): The HW detects it
before the beginning of the transfer and terminates the transfer
before actual execution started.

Driver has to handle these error for recovering ICE-HCI from
these error conditions. This patch is for handling there errors
in cmdq mode.

Change-Id: Ia10075aca429cbc49ccccdae5c0499c7a176b8a2
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
7 years agodefconfig: enable VT driver for mediabox
Manoj Kumar AVM [Fri, 3 Mar 2017 03:56:39 +0000 (19:56 -0800)]
defconfig: enable VT driver for mediabox

Enable CONFIG_VT in msmcortex mediabox defonfig. This is needed for
Weston compositor functionality.

CRs-Fixed: 2002381
Change-Id: Id7d57d4b1862252af40fe1d8b296a4e5a8ee0fba
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
7 years agoARM: dts: msm: Add improve touch device node into sdm630 QRD
zhaoyuan [Wed, 1 Mar 2017 06:16:29 +0000 (14:16 +0800)]
ARM: dts: msm: Add improve touch device node into sdm630 QRD

Improve touch will be used on sdm630 QRD so add support for it.

Change-Id: I4e7868f81dbd86a425375e98f4fea4a40f53887f
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
7 years agoleds: qpnp-wled: add support to control PSM dynamically
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:48:47 +0000 (15:48 -0800)]
leds: qpnp-wled: add support to control PSM dynamically

As per the hardware recommendation, keep PSM disabled 10 ms after
WLED module is enabled. Enable PSM back when the module is
disabled. This is to ensure that PFM mode is operational without
the precedence from PSM. Make this configurable through a device
tree property.

Change-Id: Ic6be160a88be40e94a4a0798646b8aa3f169ab49
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoleds: qpnp-wled: improve OVP fault interrupt handling
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:14:06 +0000 (15:14 -0800)]
leds: qpnp-wled: improve OVP fault interrupt handling

If there is an OVP event happened in the bootloader and the
interrupt is not handled before, then as soon as the WLED
module is enabled, fault interrupt can fire. This is seen
sometimes during bootup. This is harmless as such and cannot
be stopped completely. However, it would be good to keep the
OVP fault interrupt disabled at the startup. When WLED module
is enabled again, it will get enabled anyways after ~10 ms.

While at it, print the error message in OVP fault interrupt
handler only when the fault status is set.

Change-Id: I0759c87137a52a8872b37d126e71c13f76d10e05
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoARM: dts: msm: change WLED interrupt configuration for pm660l
Subbaraman Narayanamurthy [Fri, 3 Mar 2017 01:48:56 +0000 (17:48 -0800)]
ARM: dts: msm: change WLED interrupt configuration for pm660l

Currently, WLED over-voltage and short-circuit fault interrupts
are configured for both rising and falling edge. Configure them
to be on rising edge alone as that should be sufficient.

Change-Id: I9e19cf08e77432a4db5f18894ee445d38f1ad802
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoARM: dts: msm: change WLED interrupt configuration for pmi8998
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:12:02 +0000 (15:12 -0800)]
ARM: dts: msm: change WLED interrupt configuration for pmi8998

Currently, WLED over-voltage and short-circuit fault interrupts
are configured for both rising and falling edge. Configure them
to be on rising edge alone as that should be sufficient.

Change-Id: I7cdaf126c07daa9afb2c0db68ee760a9a4a2956a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoUSB: gadget: midi: Replace snd_card_free with snd_card_free_closed
Manu Gautam [Mon, 30 Jan 2017 04:59:01 +0000 (10:29 +0530)]
USB: gadget: midi: Replace snd_card_free with snd_card_free_closed

snd_card_free is a blocking function which waits for ALSA device to
be closed before freeing it. This could be blocked forever if userspace
has device node opened when midi function is unbound.
Replace it with snd_card_free_when_closed which can be safely used if
userspce has the device node opened.
It is not a blocking function and defers freeing of the card until
userspace closes the ALSA device.

Change-Id: I6becc44dc0f0c1131f9b7dcd1e4a151d830dde2b
CRs-fixed: 1116790
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
7 years agoASoC: codecs: add cable connect/disconnect acknowledgment
Kuirong Wang [Tue, 7 Feb 2017 19:24:46 +0000 (11:24 -0800)]
ASoC: codecs: add cable connect/disconnect acknowledgment

Add support for cable connect/disconnect acknowledgment
between HDMI/DisplayPort audio codec driver and display
driver to replace sysfs node mechanism.

CRs-Fixed: 2013097
Change-Id: I3b385a5e9933f7e99f1dbb9848a2664f687bd7d7
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
7 years agopower: fg-util: Fix the address mask for secure_write check
Anirudh Ghayal [Thu, 2 Mar 2017 07:23:04 +0000 (12:53 +0530)]
power: fg-util: Fix the address mask for secure_write check

For the 16-bit FG peripheral register address check the lower-byte
for secure_access instead of the upper-byte.

CRs-Fixed: 2013922
Change-Id: I647aa4eadccb007e6e974eae65cef162c5a40a0d
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoqcom: smb-lib: fix adapter allowance for PM660
Ashay Jaiswal [Wed, 1 Mar 2017 04:48:04 +0000 (10:18 +0530)]
qcom: smb-lib: fix adapter allowance for PM660

PM660 only supports VBUS voltage upto 9V, add
support to limit adapter allowance to maximum 9V for
PM660.

Change-Id: I283d5b1105cd9ad397a484982d674acf97f31f8a
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "msm: mdss: handle synchronization issues during DSI debugfs read/write"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:04 +0000 (08:27 -0800)]
Merge "msm: mdss: handle synchronization issues during DSI debugfs read/write"

7 years agoMerge "msm: vidc: Return correct error code from venus_hfi_suspend"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:03 +0000 (08:27 -0800)]
Merge "msm: vidc: Return correct error code from venus_hfi_suspend"

7 years agoMerge "msm: vidc: Add support for Cx ipeak limitation"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:02 +0000 (08:27 -0800)]
Merge "msm: vidc: Add support for Cx ipeak limitation"

7 years agoMerge "ARM: dts: msm: Remove debug_timeout property for msm8998"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:02 +0000 (08:27 -0800)]
Merge "ARM: dts: msm: Remove debug_timeout property for msm8998"

7 years agoMerge "msm: vidc: Add support for querying controls"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:01 +0000 (08:27 -0800)]
Merge "msm: vidc: Add support for querying controls"

7 years agoMerge "msm: vidc: Initialize DCVS load properly"
Linux Build Service Account [Thu, 2 Mar 2017 16:27:00 +0000 (08:27 -0800)]
Merge "msm: vidc: Initialize DCVS load properly"

7 years agoMerge "soc: qcom: Propagate separate error code for PDR disabled"
Linux Build Service Account [Thu, 2 Mar 2017 16:26:59 +0000 (08:26 -0800)]
Merge "soc: qcom: Propagate separate error code for PDR disabled"

7 years agoMerge "leds: remove unused driver leds-qpnp-flash.c"
Linux Build Service Account [Thu, 2 Mar 2017 16:26:58 +0000 (08:26 -0800)]
Merge "leds: remove unused driver leds-qpnp-flash.c"

7 years agoMerge "ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD"
Linux Build Service Account [Thu, 2 Mar 2017 16:26:57 +0000 (08:26 -0800)]
Merge "ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD"

7 years agoMerge "ARM: dts: msm: Add support for sdm630 QRD board"
Linux Build Service Account [Thu, 2 Mar 2017 16:26:57 +0000 (08:26 -0800)]
Merge "ARM: dts: msm: Add support for sdm630 QRD board"

7 years agomsm: ipa3: fix DMA memory allocation success check
Ghanim Fodi [Thu, 2 Mar 2017 15:32:03 +0000 (17:32 +0200)]
msm: ipa3: fix DMA memory allocation success check

IPA allocates memory for Filtering and Routing tables
by the DMA memory allocation Linux APIs.
The code did not check the success of allocation
correctly. This change fixes the check.

CRs-fixed: 2014060
Change-Id: I95a170f19e3becfc2b90bf5931947c0637464257
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoalarmtimer: Program mpm wakeup time in milliseconds
Mohit Aggarwal [Thu, 16 Feb 2017 08:59:20 +0000 (14:29 +0530)]
alarmtimer: Program mpm wakeup time in milliseconds

Currently, mpm wakeup time is programmed in seconds
due to which there is a possibility that wakeup
happens later than the expected time. This patch
fixes the issue by programming the mpm wakeup time
in milliseconds.

CRs-Fixed: 2010001
Change-Id: I5c4905a0386e60ae54876f30d89f445fd06a161c
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
7 years agocpuidle: lpm-levels: Update suspend wake time
Maulik Shah [Wed, 22 Feb 2017 04:56:17 +0000 (10:26 +0530)]
cpuidle: lpm-levels: Update suspend wake time

Alarmtimer will send suspend wake time in milliseconds
instead of seconds to minimize round off errors. Update
lpm-levels accordingly.

Change-Id: I58c780993ce35cda69cd963996f057d6e2265c6d
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
7 years agoath10k: define structure for the copy engine misc regs
Sarada Prasanna Garnayak [Thu, 16 Feb 2017 11:53:29 +0000 (17:23 +0530)]
ath10k: define structure for the copy engine misc regs

Define structures for the copy engine misc registers
copy engine CMD halt, watermark source, watermark
destination, host IE ring.

This adds support to avoid the conditional compilation,
code optimization and dynamic configuration of the copy
engine register map for respective hardware bus interface.

Change-Id: I42b9c0ad0927b492e3b4f040ae7163456b161735
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoath10k: define structure for the copy engine CTRL_1 regs
Sarada Prasanna Garnayak [Wed, 15 Feb 2017 10:37:41 +0000 (16:07 +0530)]
ath10k: define structure for the copy engine CTRL_1 regs

Define a structure for the copy engine CTRL_1 register
source, destination and dmax ring. This adds support to
avoid the conditional compilation, code optimization and
dynamic configuration of the copy engine register map
for respective hardware bus interface.

Change-Id: Ic0a4190b0735fb5d905ea75ac71e8060260dde74
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoath10k: define structure for the copy engine register map
Sarada Prasanna Garnayak [Mon, 6 Feb 2017 11:56:10 +0000 (17:26 +0530)]
ath10k: define structure for the copy engine register map

Instead of defining the copy engine register map as a macro,
Define a structure for the copy engine register map to avoid
the conditional compilation, code optimization and dynamic
configuration of the copy engine register map for respective
hardware bus interface.

Change-Id: I799794ed85b83e342c2aab3d12b2876fc28d680b
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoARM: dts: msm: Change BLSP assignment for APQ8098-mediabox
Shrey Vijay [Wed, 15 Feb 2017 12:23:33 +0000 (17:53 +0530)]
ARM: dts: msm: Change BLSP assignment for APQ8098-mediabox

By default codec uses SPI_10 BLSP instance. On mediabox platform,
codec usecase is not present. Hence disable SPI_10 instance on
APQ8098 mediabox platform.

Change-Id: I721673b8cc0ef6d974e715ffd405fc1b11e2c9d5
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
7 years agoath10k: Remove bus structures from ath10k struct
Govind Singh [Sat, 11 Feb 2017 07:07:42 +0000 (12:37 +0530)]
ath10k: Remove bus structures from ath10k struct

ath10k struct is bus opaque structure.
Remove bus structures from ath10k struct to make it
bus independent.

Change-Id: Ifb82e1fc4525c535e8a19f95bd4da006294be203
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoARM: dts: msm: Update SDCC PM QOS values for SDM660
Sayali Lokhande [Thu, 2 Mar 2017 05:19:19 +0000 (10:49 +0530)]
ARM: dts: msm: Update SDCC PM QOS values for SDM660

Update SDCC PM QOS latencies to allow l2-retention
state as per measured LPM latencies on SDM660 target.

Change-Id: Iac0a0473f78be90722ceb07db1f85ac6adb69911
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoARM: dts: msm: Update SDCC bus voting for SDM660
Sayali Lokhande [Tue, 28 Feb 2017 11:57:57 +0000 (17:27 +0530)]
ARM: dts: msm: Update SDCC bus voting for SDM660

On SDM660, for sdcc there are two msm-bus paths:
1. AGGNOC->SNOC->BIMC
2. CPU->CNOC->SDC_CFG
For SDCC DATA-FIFO or DPRAM, write clock is HCLK
and read clock is MCLK for TX transactions and
vice-versa for RX transactions.
As both HCLK and MCLK are being used for data
transfers ,we need to provide bus bandwidth vote
from CPU(id:1) to SDC_CFG(id:606) which will be
used for register access and data transfers.

By default on sdm660, we observed cnoc_clk at only
19.2MHz which is very less and hence affecting eMMC
performance (drop upto 50%) for read/writes.
This change is updating bus voting from CPU to CNOC
and helps improving eMMC performance.

Change-Id: I9e3dadf307444be464a42f4a518b44e3f6e98a75
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoclk: qcom: Use the saved current frequency for enable_safe_config
Taniya Das [Wed, 1 Mar 2017 17:58:24 +0000 (23:28 +0530)]
clk: qcom: Use the saved current frequency for enable_safe_config

A clk_get_rate in the clk_enable path would result in a BUG from sleeping
context, as clk_get_rate would hold a mutex when we have already acquired a
spinlock in the clk_enable.

Change-Id: I7b32292710bbea3565cdc51c79916fddc60f8bba
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoMerge "defconfig: msm: Turn on ESOC configs"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:34 +0000 (18:38 -0800)]
Merge "defconfig: msm: Turn on ESOC configs"

7 years agoMerge "usb: gadget: f_fs: Fix memory leak for ipc_log_context"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:33 +0000 (18:38 -0800)]
Merge "usb: gadget: f_fs: Fix memory leak for ipc_log_context"

7 years agoMerge "iommu/io-pgtable-fast: cache clean the last level ptes"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:32 +0000 (18:38 -0800)]
Merge "iommu/io-pgtable-fast: cache clean the last level ptes"

7 years agoMerge "iommu/io-pgtable-fast: optimize statically allocated pages"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:31 +0000 (18:38 -0800)]
Merge "iommu/io-pgtable-fast: optimize statically allocated pages"

7 years agoMerge "power: qpnp-fg-gen3: Add support to clamp ESR"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:30 +0000 (18:38 -0800)]
Merge "power: qpnp-fg-gen3: Add support to clamp ESR"

7 years agoMerge "msm: camera: isp: Check userspace parameters"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:29 +0000 (18:38 -0800)]
Merge "msm: camera: isp: Check userspace parameters"

7 years agoMerge "icnss: Trigger recovery only if PDR enabled"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:28 +0000 (18:38 -0800)]
Merge "icnss: Trigger recovery only if PDR enabled"

7 years agoMerge "wil6210: remove "No Snoop" settings for RX transactions"
Linux Build Service Account [Thu, 2 Mar 2017 02:38:27 +0000 (18:38 -0800)]
Merge "wil6210: remove "No Snoop" settings for RX transactions"

7 years agoARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD
Yingwei Zhao [Wed, 1 Mar 2017 08:39:23 +0000 (16:39 +0800)]
ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD

In the new SDM660 QRD devices, PM660 does not need the hardware
workround that cut-off voltage should be set to 3.7V, so delete
the qcom,fg-cutoff-voltage property.

CRs-Fixed: 2013279
Change-Id: Ica55128a2f426a668b0d43d04424e13672dd78fd
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
7 years agoARM: dts: msm: Add support for sdm630 QRD board
Pengfei Liu [Mon, 13 Feb 2017 08:58:52 +0000 (16:58 +0800)]
ARM: dts: msm: Add support for sdm630 QRD board

Add camera node including rear aux and front camera node, also
add corresponding eeprom actuator ois flash and torch node.

Change-Id: I84e3bfa11127ca7808491df728665f74c9222343
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
7 years agoleds: remove unused driver leds-qpnp-flash.c
Abhijeet Dharmapurikar [Tue, 28 Feb 2017 23:50:09 +0000 (15:50 -0800)]
leds: remove unused driver leds-qpnp-flash.c

leds-qpnp-flash driver is not supported anymore. Remove it.

Change-Id: Ie2f570bad8171c460b8167f140d71c052ada2b17
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agodefconfig: msm: Turn on ESOC configs
Satya Durga Srinivasu Prabhala [Fri, 24 Feb 2017 18:32:12 +0000 (10:32 -0800)]
defconfig: msm: Turn on ESOC configs

Enable support for ESOC drivers.

Change-Id: Ie10f7b74fa7d06c7fcc93bf6eaa23889fc533b86
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agoMerge "ASoC: msm8998: Add micbias configuration for MBHC"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:04 +0000 (11:09 -0800)]
Merge "ASoC: msm8998: Add micbias configuration for MBHC"

7 years agoMerge "defconfig: msm: Enable DRM"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:03 +0000 (11:09 -0800)]
Merge "defconfig: msm: Enable DRM"

7 years agoMerge "power: bcl_peripheral: Enable BCL LMH algorithm only once"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:02 +0000 (11:09 -0800)]
Merge "power: bcl_peripheral: Enable BCL LMH algorithm only once"

7 years agoMerge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:02 +0000 (11:09 -0800)]
Merge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD"

7 years agoMerge "power: supply: qcom: remove unused drivers"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:01 +0000 (11:09 -0800)]
Merge "power: supply: qcom: remove unused drivers"

7 years agoMerge "power: qcom-battery: Add sysfs to restrict charging"
Linux Build Service Account [Wed, 1 Mar 2017 19:09:00 +0000 (11:09 -0800)]
Merge "power: qcom-battery: Add sysfs to restrict charging"

7 years agoMerge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD"
Linux Build Service Account [Wed, 1 Mar 2017 19:08:59 +0000 (11:08 -0800)]
Merge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD"