OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "smb138x-charger: Fix max conn temp config"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:11 +0000 (17:01 -0800)]
Merge "smb138x-charger: Fix max conn temp config"

7 years agoMerge "iommu/io-pgtable-fast: alloc pgtable while fragmented"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:10 +0000 (17:01 -0800)]
Merge "iommu/io-pgtable-fast: alloc pgtable while fragmented"

7 years agoMerge "msm: mdss: Handle ping pong split configuration in splash done"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:09 +0000 (17:01 -0800)]
Merge "msm: mdss: Handle ping pong split configuration in splash done"

7 years agoMerge "msm: mdss: Add mdss capabilities for sdm630"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "msm: mdss: Add mdss capabilities for sdm630"

7 years agoMerge "ARM: dts: msm: fix wb qos for msm8998"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: fix wb qos for msm8998"

7 years agoMerge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:07 +0000 (17:01 -0800)]
Merge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator"

7 years agoMerge "smb-lib: fix icl changed interrupt storm"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:06 +0000 (17:01 -0800)]
Merge "smb-lib: fix icl changed interrupt storm"

7 years agoMerge "msm: sde: Correct bandwidth for TP10 and P010 in SDE rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:05 +0000 (17:01 -0800)]
Merge "msm: sde: Correct bandwidth for TP10 and P010 in SDE rotator"

7 years agoMerge "ARM: dts: msm: update sdm660 rotator xin id values"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: update sdm660 rotator xin id values"

7 years agoMerge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"

7 years agoMerge "scsi: ufs: handle LINERESET error only during hibern8 enter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:02 +0000 (17:01 -0800)]
Merge "scsi: ufs: handle LINERESET error only during hibern8 enter"

7 years agoMerge "qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:01 +0000 (17:01 -0800)]
Merge "qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter"

7 years agoMerge "spi: spi_qsd: Set DMA mask for SPI device"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:00 +0000 (17:01 -0800)]
Merge "spi: spi_qsd: Set DMA mask for SPI device"

7 years agoMerge "scsi: ufs: renable AH8 timer on reset"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:59 +0000 (17:00 -0800)]
Merge "scsi: ufs: renable AH8 timer on reset"

7 years agoMerge "clk: qcom: Add support to log PLL/RCGR values in case of failure"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:58 +0000 (17:00 -0800)]
Merge "clk: qcom: Add support to log PLL/RCGR values in case of failure"

7 years agoMerge "ARM: dts: msm: Move sdcc and ufs ice nodes"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:57 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Move sdcc and ufs ice nodes"

7 years agoMerge "rpm-rail-stats: Add support to read RPM rail stats"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "rpm-rail-stats: Add support to read RPM rail stats"

7 years agoMerge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"

7 years agoMerge "input: touchscreen: gt9xx: fix memory corruption in Goodix driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "input: touchscreen: gt9xx: fix memory corruption in Goodix driver"

7 years agoMerge "ARM: dts: msm: Disable home key for SDM660 QRD"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Disable home key for SDM660 QRD"

7 years agoMerge "ath10k: Remove redundant code from snoc layer"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:52 +0000 (17:00 -0800)]
Merge "ath10k: Remove redundant code from snoc layer"

7 years agoMerge "ARM: dts: msm: Config sdm660 CPR controllers to use default step_quot"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:51 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Config sdm660 CPR controllers to use default step_quot"

7 years agoMerge "clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver"

7 years agoMerge "ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990"

7 years agoMerge "ARM: dts: msm: configure interrupt types for charger for pmi8998"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:40 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: configure interrupt types for charger for pmi8998"

7 years agoMerge "ASoC: msm: qdsp6v2: Add initialization and range check in q6afe"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:39 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: Add initialization and range check in q6afe"

7 years agoMerge "ASoC: wcd934x: Do not prevent the core entering power collapse"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: wcd934x: Do not prevent the core entering power collapse"

7 years agoMerge "ASoC: msm: qdsp6v2: NOIRQ dynamic perf mode control"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: NOIRQ dynamic perf mode control"

7 years agoMerge "ASoC: msm8998: Add DoP support on QUAT TDM"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:37 +0000 (06:11 -0800)]
Merge "ASoC: msm8998: Add DoP support on QUAT TDM"

7 years agoMerge "ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:36 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode"

7 years agoMerge "ASoC: msm: qdspv2: Add mixer controls for drift query"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:35 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdspv2: Add mixer controls for drift query"

7 years agoMerge "ARM: dts: msm: limit the maximum PCLK supported for DP on SDM660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:34 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: limit the maximum PCLK supported for DP on SDM660"

7 years agoMerge "ARM: dts: msm: enable etr as default sink on sdm660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:33 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: enable etr as default sink on sdm660"

7 years agoMerge "ARM: dts: msm: modify dcc ram size for sdm660 and sdm630"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:33 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: modify dcc ram size for sdm660 and sdm630"

7 years agoMerge "input: synaptics_dsx: reallocate buffer under lock."
Linux Build Service Account [Wed, 15 Feb 2017 14:11:28 +0000 (06:11 -0800)]
Merge "input: synaptics_dsx: reallocate buffer under lock."

7 years agoMerge "wil6210: support loading dedicated image for sparrow-plus devices"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:27 +0000 (06:11 -0800)]
Merge "wil6210: support loading dedicated image for sparrow-plus devices"

7 years agoMerge "firmware_class: Add null check in firmware_direct_write"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:26 +0000 (06:11 -0800)]
Merge "firmware_class: Add null check in firmware_direct_write"

7 years agoMerge "msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:25 +0000 (06:11 -0800)]
Merge "msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR"

7 years agoMerge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:24 +0000 (06:11 -0800)]
Merge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe"

7 years agoMerge "soc: qcom: pil: Clear elf memory on validation failure"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:24 +0000 (06:11 -0800)]
Merge "soc: qcom: pil: Clear elf memory on validation failure"

7 years agoMerge "defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:23 +0000 (06:11 -0800)]
Merge "defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098"

7 years agoMerge "msm: camera: sensor: Validate destination step position"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:22 +0000 (06:11 -0800)]
Merge "msm: camera: sensor: Validate destination step position"

7 years agoMerge "msm: cpp: Check for validity of processed frame in cpp timeout"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:21 +0000 (06:11 -0800)]
Merge "msm: cpp: Check for validity of processed frame in cpp timeout"

7 years agoMerge "msm: camera: isp: Handle page fault in case of overflow"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:21 +0000 (06:11 -0800)]
Merge "msm: camera: isp: Handle page fault in case of overflow"

7 years agoMerge "drm/msm/sde: enable pixel extension and qseed3 along with VIG pipes"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:20 +0000 (06:11 -0800)]
Merge "drm/msm/sde: enable pixel extension and qseed3 along with VIG pipes"

7 years agoMerge "msm: vidc: BUG_ON before killing session on timeout"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:19 +0000 (06:11 -0800)]
Merge "msm: vidc: BUG_ON before killing session on timeout"

7 years agoMerge "msm: vidc: Check for sanity of size while mapping buffers"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:18 +0000 (06:11 -0800)]
Merge "msm: vidc: Check for sanity of size while mapping buffers"

7 years agoMerge "msm: vidc: Fix crash due to invalid instance access"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:17 +0000 (06:11 -0800)]
Merge "msm: vidc: Fix crash due to invalid instance access"

7 years agoMerge "msm: vidc: Fix issue in split mode for UBWC output"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:17 +0000 (06:11 -0800)]
Merge "msm: vidc: Fix issue in split mode for UBWC output"

7 years agoMerge "msm: vidc: Decide plane count whenever extradata is set"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:16 +0000 (06:11 -0800)]
Merge "msm: vidc: Decide plane count whenever extradata is set"

7 years agoMerge "ARM: dts: msm: Add GPU properties for SDM630"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:15 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: Add GPU properties for SDM630"

7 years agoMerge "defconfig: msm: add fastmap config on sdm660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:14 +0000 (06:11 -0800)]
Merge "defconfig: msm: add fastmap config on sdm660"

7 years agoMerge "ARM: dts: msm: Add sdhc2 for sdm630 QRD"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:12 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: Add sdhc2 for sdm630 QRD"

7 years agoMerge "ARM: dts: msm: enable LRA drive correction for haptics on pmi8998 and pm660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:11 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: enable LRA drive correction for haptics on pmi8998 and pm660"

7 years agoMerge "ARM: dts: msm: Enable pil_modem for apq8998 mediabox"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:10 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: Enable pil_modem for apq8998 mediabox"

7 years agoMerge "power: qpnp-fg-gen3: add support to configure batt_therm coefficients"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:09 +0000 (06:11 -0800)]
Merge "power: qpnp-fg-gen3: add support to configure batt_therm coefficients"

7 years agoMerge "icnss: Remove unused IPC logging mechanism"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:08 +0000 (06:11 -0800)]
Merge "icnss: Remove unused IPC logging mechanism"

7 years agoMerge "msm: ADSPRPC: Set the device node in the session context"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:07 +0000 (06:11 -0800)]
Merge "msm: ADSPRPC: Set the device node in the session context"

7 years agoMerge "defconfig: arm64: msm: enable CONFIG_FORCE_ALLOC_FROM_DMA_ZONE"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:07 +0000 (06:11 -0800)]
Merge "defconfig: arm64: msm: enable CONFIG_FORCE_ALLOC_FROM_DMA_ZONE"

7 years agoMerge "net: support __netdev_alloc_skb to always use GFP_DMA"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:06 +0000 (06:11 -0800)]
Merge "net: support __netdev_alloc_skb to always use GFP_DMA"

7 years agoMerge "usb: pd: Update uevent parameters during hard reset"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:05 +0000 (06:11 -0800)]
Merge "usb: pd: Update uevent parameters during hard reset"

7 years agoMerge "usb: pd: Make select_pdo_store() wait until request goes through"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:04 +0000 (06:11 -0800)]
Merge "usb: pd: Make select_pdo_store() wait until request goes through"

7 years agoMerge "ARM: dts: msm: Fix dwc3 device node property name typo on msm8998"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:04 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: Fix dwc3 device node property name typo on msm8998"

7 years agoMerge "usb: dwc3: Fix LPM NYET Threshold value"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:03 +0000 (06:11 -0800)]
Merge "usb: dwc3: Fix LPM NYET Threshold value"

7 years agoMerge "ath10k: Return failure if fw ready is not arrived"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:02 +0000 (06:11 -0800)]
Merge "ath10k: Return failure if fw ready is not arrived"

7 years agoMerge "ice: Sent proper storage type for ICE configuration during reset"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:01 +0000 (06:11 -0800)]
Merge "ice: Sent proper storage type for ICE configuration during reset"

7 years agoARM: dts: msm: Config sdm660 CPR controllers to use default step_quot
Tirupathi Reddy [Thu, 9 Feb 2017 11:21:07 +0000 (16:51 +0530)]
ARM: dts: msm: Config sdm660 CPR controllers to use default step_quot

There is a chance for a CPR controller to use the run-time calibrated
step_quot of lower modes for higher modes. This can sometimes lead
to closed-loop voltage getting stuck at open-loop voltage. To avoid
this, configure APC0/1 and GFX CPR controllers in sdm660 to first use
the default step_quot and then later switch to the run-time calibrated
step_quot.

CRs-Fixed: 2003482
Change-Id: Ic355a3a533ab65d9e2b28c67b7fca7df1dd49d48
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agosmb138x-charger: Fix max conn temp config
Harry Yang [Tue, 14 Feb 2017 20:31:47 +0000 (12:31 -0800)]
smb138x-charger: Fix max conn temp config

The value of device tree property qcom,connector-temp-max-mdegc is
passed to a wrong variable. Fix it.

CRs-Fixed: 1077217
Change-Id: I705467d91dd8e5e9ea4aa0ab231e29c512608f36
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agosmb-lib: fix icl changed interrupt storm
Abhijeet Dharmapurikar [Mon, 13 Feb 2017 03:16:15 +0000 (19:16 -0800)]
smb-lib: fix icl changed interrupt storm

Current driver has two votables for controlling the usb current
and the usb suspend bit. This could lead to a situation where
the icl votable changes current setting while its suspended.
Changing current setting while suspended causes icl changed
interrupt storm.

Fix it by removing usb_suspend_votable and make all the suspend
voters call usb_icl_votable with 0mA to cause suspend.
Update usb_icl_votable to update current settings only when
not suspended. Moreover disable the interrupt while changing
the current settings and enable the interrupt only after the
unsuspend.

Change-Id: Iafc8ee3c934952b8131d374d0529e865424016d5
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoscsi: ufs: handle LINERESET error only during hibern8 enter
Venkat Gopalakrishnan [Tue, 14 Feb 2017 01:57:51 +0000 (17:57 -0800)]
scsi: ufs: handle LINERESET error only during hibern8 enter

If LINERESET was detected during hibern8 exit, HW recovers
link back to original speed automatically by PA_INIT sequence,
hence remove the full reset.

Change-Id: I181adf4580c0febed817047a40c1d0621d9c9824
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
7 years agoscsi: ufs: renable AH8 timer on reset
Venkat Gopalakrishnan [Wed, 8 Feb 2017 20:16:45 +0000 (12:16 -0800)]
scsi: ufs: renable AH8 timer on reset

Auto hibern8 timer will get reset as part of ufshcd_vops_full_reset(),
so reenable the timer in ufshcd_probe_hba().

Change-Id: I8ff85a9fd02f4a6b527666654728c4146cb61f5e
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
7 years agospi: spi_qsd: Set DMA mask for SPI device
Girish Mahadevan [Tue, 27 Dec 2016 22:07:42 +0000 (15:07 -0700)]
spi: spi_qsd: Set DMA mask for SPI device

Set the DMA mask for the SPI device appropriately.

This will alleviate usage of bounce buffers by the dma kernel library and
prevent some of the crashes due to the kernel running out of bounce
buffers.

Change-Id: I7b0b123be6e7bb1e30d0755ca8b1b72ea4e2b5f6
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
7 years agoqcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter
Ashay Jaiswal [Mon, 13 Feb 2017 06:12:19 +0000 (11:42 +0530)]
qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter

Parallel charging is enabled only for DCP and HVDCP adapters, add
support to enable parallel charging for SDP/CDP/OCP and FLOAT chargers.
While at it, rename PL_DISABLE_HVDCP_VOTER to PL_DELAY_HVDCP_VOTER.

Change-Id: I79b28ee6fd91739fa9895959d9ca3d399506d388
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoice: Sent proper storage type for ICE configuration during reset
AnilKumar Chimata [Tue, 14 Feb 2017 14:38:40 +0000 (20:08 +0530)]
ice: Sent proper storage type for ICE configuration during reset

Read instance type from device tree node to know the storage type
for ICE configuration, which is used to program the corresponding
ICE register during ICE reset.

Change-Id: I0eb423fb84dc89115227abc7c5688df7ae9a4a3c
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
7 years agoARM: dts: msm: Move sdcc and ufs ice nodes
Brahmaji K [Tue, 14 Feb 2017 11:59:59 +0000 (17:29 +0530)]
ARM: dts: msm: Move sdcc and ufs ice nodes

As sdcc and ufs ice nodes are common between sdm660
and sdm630, move sdcc and ufs ice nodes to common
device tree file to avoid duplication of nodes.

Change-Id: I1e018ef44759e8cc3ce201e19a1e99ba6bb601bd
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
7 years agorpm-rail-stats: Add support to read RPM rail stats
Karthik Parsha [Wed, 17 Jun 2015 23:49:04 +0000 (16:49 -0700)]
rpm-rail-stats: Add support to read RPM rail stats

Shared rails such as CX, MX are controlled by the RPM. RPM aggregates
the votes to these rails and sets the rails at a corner voltage to
satisfy the needs of all the masters.

Add support to read and print the CX, MX rail-stats from shared memory.

cat /d/rpm_rail_stats

Number of Rails:2
        rail:mx num_corners:4  current_corner:2  last_entered:0
                corner:ret   time:0
                corner:svs   time:0
                corner:nom   time:0
                corner:turb  time:0
        rail:cx num_corners:5  current_corner:1  last_entered:0
                corner:ret   time:0
                corner:svs2  time:0
                corner:svs   time:0
                corner:nom   time:0
                corner:turb  time:0

Change-Id: I730c4accc1bf4c152ef95f9ce9343a58022c2630
Signed-off-by: Karthik Parsha <kparsha@codeaurora.org>
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
7 years agousb: pd: Fix probe failure in case of no sink capablities passed
Vijayavardhan Vennapusa [Tue, 14 Feb 2017 10:02:07 +0000 (15:32 +0530)]
usb: pd: Fix probe failure in case of no sink capablities passed

Commit b76105e359a7 ("usb: pd: Read sink capabilities from device
tree") added support in usbpd driver to pass sink capablities from
device tree. But it introduced bug in case of no sink capablities
passed from device tree as in this case, device_property_read_u32_array()
returns -EINVAL. Due to this, usbpd driver probe fails as usbpd_create()
returns errors. Fix this issue by checking if return value > 0 and then
only try to read sink capablities from device tree. If not, use default
sink capabliites defined in usbpd driver.

Change-Id: I51beeba282c6e067881c664d38c2657843a1c716
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoARM: dts: msm: Disable home key for SDM660 QRD
Yingwei Zhao [Tue, 14 Feb 2017 09:33:39 +0000 (17:33 +0800)]
ARM: dts: msm: Disable home key for SDM660 QRD

Home key is designed on the PCB level as a compatible solution, but
there is no mechanical hard key installed. Currently, GPIO11 on PM660
has been assigned the interrupt owership to modem, and this will cause
probe failure on gpio-keys driver and fail other gpio keys detection.
So, remove the home key configuration as a temporary solution.

CRs-Fixed: 2006468
Change-Id: Ib42a79e60c0cdf1489a63ba66ce7cde97c0e3f47
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
7 years agoath10k: Remove redundant code from snoc layer
Govind Singh [Fri, 10 Feb 2017 11:39:56 +0000 (17:09 +0530)]
ath10k: Remove redundant code from snoc layer

The ath10k snoc bus uses NAPI in rx path and tasklet
is no more used. Remove tasklet references from
bus layer. Refactor driver unload path to have
consistency in API uses.

CRs-Fixed: 2005874
Change-Id: Ib9534286ed45bf1394e109c6ca8063cd89a1d58e
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoinput: touchscreen: gt9xx: fix memory corruption in Goodix driver
Vevek Venkatesan [Mon, 23 Jan 2017 12:34:53 +0000 (18:04 +0530)]
input: touchscreen: gt9xx: fix memory corruption in Goodix driver

Fix memory corruption in Goodix touchscreen driver, by resetting
the global structure cmd_head to zero (except *data and wr flag)
in goodix_tool_write handler on error case.

Change-Id: I4f7f8f464b93571627b922b10c10a65826228e42
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
7 years agoath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990
Rakesh Pillai [Mon, 13 Feb 2017 11:59:30 +0000 (17:29 +0530)]
ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990

WCN3990 target uses more fields in htt rx descriptor.
Refactor htt rx descriptor to not break legacy code.
Remove last msdu check in htt rx for WCN3990 which is not required.

CRs-Fixed: 2005906
Change-Id: Id2f670ecd72ea898a11a9d9eea61b5a1f2364d32
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoinput: touchpanel: Add ST Touchscreen version 4.1.0 driver
Yahui Wang [Wed, 11 Jan 2017 15:31:30 +0000 (23:31 +0800)]
input: touchpanel: Add ST Touchscreen version 4.1.0 driver

This is the reference driver source code for ST
Touchscreen of version 4.1.0. It is used for QVR8998
touchscreen.
(cherry picked from commit 2cd09314337d614e69d0ebd99afb71d99d31b69a)

Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 2cd09314337d614e69d0ebd99afb71d99d31b69a
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10
CRs-Fixed: 1106217
Change-Id: I6674245402c0a5d6cca6bf82a9f8b1bf4f4f4ef3
Signed-off-by: Jin Fu <jinf@codeaurora.org>
7 years agoARM: dts: msm: enable etr as default sink on sdm660
Saranya Chidura [Thu, 9 Feb 2017 04:25:39 +0000 (09:55 +0530)]
ARM: dts: msm: enable etr as default sink on sdm660

Coresight ETR sink is enabled as the default sink to
collect traces.

Change-Id: I78cec888284307dbc7e696e7b33b45707bf9e1ca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
7 years agoARM: dts: msm: modify dcc ram size for sdm660 and sdm630
Saranya Chidura [Thu, 9 Feb 2017 06:45:37 +0000 (12:15 +0530)]
ARM: dts: msm: modify dcc ram size for sdm660 and sdm630

Modify DCC RAM size for sdm660 and sdm630. DCC RAM is used to
store captured information locally in DCC.

Change-Id: Ib4c630e165e55b8ac82976e406069ee9e4d3f3c2
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
7 years agoclk: qcom: Add support to log PLL/RCGR values in case of failure
Taniya Das [Fri, 27 Jan 2017 11:18:48 +0000 (16:48 +0530)]
clk: qcom: Add support to log PLL/RCGR values in case of failure

In case of PLL lock errors or the RCGR fails to update the new
configuration, add support to capture all the PLL and RCGR
configuration registers as part of kernel logs.

Change-Id: Ifb0cefafc30f8796ba17f2d388fb65ed41aae485
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agodrm/msm/sde: enable pixel extension and qseed3 along with VIG pipes
Gopikrishnaiah Anandan [Thu, 20 Oct 2016 22:42:04 +0000 (15:42 -0700)]
drm/msm/sde: enable pixel extension and qseed3 along with VIG pipes

If the user-space client doesn't provide the pixel extension and qseed3
configuration, driver should set the default values. Change sets the
default values if user-space client is not configuring the blocks when
VIG pipes are selected.

CRs-Fixed:2002381
Change-Id: I02f0e76fb87587d2eed9e5f4fcca5baa7d605b92
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
7 years agodefconfig: msm: add fastmap config on sdm660
Charan Teja Reddy [Tue, 7 Feb 2017 13:28:34 +0000 (18:58 +0530)]
defconfig: msm: add fastmap config on sdm660

Fastmap feature is used in the cases where it required reduced time for
dma_map/unmap().

Change-Id: Ic1c1fd0bbd95d849eaf6ee13569e345117a988b6
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoARM: dts: msm: configure interrupt types for charger for pmi8998
Abhijeet Dharmapurikar [Tue, 14 Feb 2017 01:41:47 +0000 (17:41 -0800)]
ARM: dts: msm: configure interrupt types for charger for pmi8998

Currently the interrupt trigger type is configured as NONE. This
causes a level handler to be assigned to these interrupts.

However, all of them are edge triggered interrupts with varying
falling/rising/both edge flavors. Update the device tree to
use their correct trigger types thereby preventing missed interrupt
storms because of incorrect handler types.

Change-Id: I6b5cddc8281ca7f6810dcb754d7dd2e6ae6f339c
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoinput: synaptics_dsx: reallocate buffer under lock.
Andrew Chant [Sat, 3 Dec 2016 04:49:26 +0000 (20:49 -0800)]
input: synaptics_dsx: reallocate buffer under lock.

Prevent concurrent usage & re-allocation of the wr_buf variable.
Based off patch by chengengjia <chengjia4574@gmail.com>.

BUG: 33001936
Change-Id: I88d78e1ec0fc9e88b1e6824c06161b67d01136ec
Signed-off-by: Andrew Chant <achant@google.com>
Git-commit: d740e7228bd1578ed01762998b2a86e7df56e608
Git-repo: https://android.googlesource.com/kernel/msm
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
7 years agopower: qpnp-fg-gen3: add support to configure batt_therm coefficients
cyizhao [Tue, 24 Jan 2017 09:08:55 +0000 (17:08 +0800)]
power: qpnp-fg-gen3: add support to configure batt_therm coefficients

Add support to configure battery thermal coefficients so that different
battery thermistors can be supported. These coefficients can be
configured via "qcom,battery-thermal-coefficients" device tree property.

CRs-Fixed: 2004461
Change-Id: Iff25acd397a68c31057dff4db1896d46e396adc6
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
7 years agofirmware_class: Add null check in firmware_direct_write
Prasad Sodagudi [Fri, 10 Feb 2017 18:58:12 +0000 (10:58 -0800)]
firmware_class: Add null check in firmware_direct_write

Add null check in firmware_direct_write to avoid null
pointer dereference due to firmware_abort.

Change-Id: Ibde30452bb6f3fe7a9f92aa3b1f2ed85a858d94e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agomsm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR
Ghanim Fodi [Mon, 31 Oct 2016 22:09:10 +0000 (00:09 +0200)]
msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR

SSR logic is executed during device shutdown. During device
shutdown the Linux tasks (processes) are moving to SIGKILL
state. If a DMA allocation from the kernel happens
in a context of a process in SIGKILL state and page migration
is needed, the allocation will fail.
Use GFP_ATOMIC allocation flag during SSR. This will
utilize the atomic memory pool and will not require page
migration.

CRs-fixed: 1077811
Change-Id: Ie06b85d1f9d0a230c3d3832b6f0bbcdefc520c1e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoASoC: msm8998: Add DoP support on QUAT TDM
Karthikeyan Mani [Fri, 13 Jan 2017 05:14:08 +0000 (21:14 -0800)]
ASoC: msm8998: Add DoP support on QUAT TDM

Add pinctrl dynamic switching support between
QUAT TDM and QUAT MI2S. Add snd_soc_be_ops for
QUAT TDM.

CRs-fixed: 1116515
Change-Id: Iced075d43d137639bcda6b6e6b2233b6740c5d36
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agoASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode
Josh Kirsch [Thu, 5 Jan 2017 01:59:30 +0000 (17:59 -0800)]
ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode

Add support for 352800 sampling rates and 32 bps for the TDM.
Add support for PCM compress passthough mode with mixer controls.

CRs-fixed: 1116515
Change-Id: Iab059a5a6b6ce8f57717023467677a399a60032e
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agodefconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098
Govind Singh [Mon, 13 Feb 2017 07:44:29 +0000 (13:14 +0530)]
defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098

This module adds support for the Integrated WCN3990 WLAN
module, The ATH10k WCN3990 has integrated 802.11ac chipset
with SNOC bus interface.

The ATH10K is MAC80211 based driver, enable MAC80211 and
ATH10K core related kernel config flag for driver compilation.

CRs-Fixed: 2005603
Change-Id: Ie153688eabf29e8f33aee413750028147a94d9a2
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoclk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver
Odelu Kukatla [Wed, 4 Jan 2017 14:36:24 +0000 (20:06 +0530)]
clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver

Following list of changes have been made
1. Add the missing clocks in multimedia clock controller driver.
   Also clean up clock flags and parent info for few clocks.
2. Removing clocks which are not controlled by HLOS.
3. MMCC needs to vote for volatge level on rail for the clock
   frequencies, so add voltage voting in MMCC.
4. Initial rate configuration for MMPLLs.

Change-Id: If3d84e52783651b611b624dbc60b18993c0f0b1a
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agoASoC: msm: qdspv2: Add mixer controls for drift query
Manish Dewangan [Tue, 20 Dec 2016 11:21:34 +0000 (16:51 +0530)]
ASoC: msm: qdspv2: Add mixer controls for drift query

Add mixer control to query avtimer vs HDMI drift.

CRs-Fixed: 1112258
Change-Id: If57a8e32de65f3e4949cd44631552ce5afe41ef2
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
7 years agoASoC: msm: qdsp6v2: Add support to query Drift.
Manish Dewangan [Tue, 20 Dec 2016 07:26:24 +0000 (12:56 +0530)]
ASoC: msm: qdsp6v2: Add support to query Drift.

Afe driver changes to query avtimer vs device drift.
Drift obtained can be used to pull the device pll so
that avtimer and device are in sync.

CRs-Fixed: 1112258
Change-Id: I4d4ddb0dbc06270553d583f266a44ddbe9412d1a
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
7 years agoarm: dma-mapping: add dma mapper for io-pgtable-fast for 32 bit
Charan Teja Reddy [Thu, 9 Feb 2017 15:14:29 +0000 (20:44 +0530)]
arm: dma-mapping: add dma mapper for io-pgtable-fast for 32 bit

io-pgtable-fast was implemented to achieve
better performance for IOMMU map/un-map. Add
DMA API support that goes through io-pgtable-fast
for 32 bit targets.

Change-Id:I3d0560a4331f6b7b87c70d0885df11d12cb1d6ec
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoARM: dts: msm: Add sdhc2 for sdm630 QRD
xiaonian [Mon, 13 Feb 2017 05:34:29 +0000 (13:34 +0800)]
ARM: dts: msm: Add sdhc2 for sdm630 QRD

Add sdhc2 to enable sd card for sdm630 QRD platform.

CRs-Fixed: 2005013
Change-Id: I3c88e1b80d36482b8f5563381656556d30a36f4c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>