OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoARM: dts: msm: Enable audio over DP for sdm660
Rohit Kumar [Wed, 8 Feb 2017 12:21:05 +0000 (17:51 +0530)]
ARM: dts: msm: Enable audio over DP for sdm660

Add device nodes for display port and enable it for
sdm 660 internal and external codec variant.

CRs-Fixed: 2000466
Change-Id: I3204b1f3afd4bba6e114b328443420fa97d45bc1
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
7 years agoASoC: msm: Add support for audio over Display Port for sdm660
Rohit Kumar [Tue, 6 Dec 2016 09:18:58 +0000 (14:48 +0530)]
ASoC: msm: Add support for audio over Display Port for sdm660

Add support for audio over Display port for sdm660.

CRs-Fixed: 2000466
Change-Id: Ia4a3a7ab59b25a3e366dd8b2d29d331cdd2d78e6
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
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 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 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 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 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 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>
7 years agoARM: dts: msm: Add GPU properties for SDM630
Rajesh Kemisetti [Mon, 6 Feb 2017 05:25:34 +0000 (10:55 +0530)]
ARM: dts: msm: Add GPU properties for SDM630

Add initial version of SDM630 GPU properties.

This is needed to support Graphics driver functionality
on SDM630 target.

Change-Id: I0442ed8dbb728adae36db8631eeba83c6425ea82
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agoARM: dts: msm: Add sdhc1 for SDM630 QRD
xiaonian [Mon, 13 Feb 2017 01:44:27 +0000 (09:44 +0800)]
ARM: dts: msm: Add sdhc1 for SDM630 QRD

Add sdhc1 to enable eMMC support for SDM630 QRD.

CRs-Fixed: 2005010
Change-Id: I8d6c9f1479d7bde36b86b5e482085fef033795a1
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
7 years agoARM: dts: msm: Add ufs support for SDM630 QRD
xiaonian [Fri, 10 Feb 2017 02:26:40 +0000 (10:26 +0800)]
ARM: dts: msm: Add ufs support for SDM630 QRD

Add ufs and ufs-phy device nodes to support
ufs as storage device for SDM630 QRD platform.

CRs-Fixed: 2005015
Change-Id: If0c4edaba9285ba9a1c927e1e804427160947b11
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
7 years agoMerge "spi: spi_qsd: Use the right device for dma_unmap_single operation"
Linux Build Service Account [Sun, 12 Feb 2017 22:28:20 +0000 (14:28 -0800)]
Merge "spi: spi_qsd: Use the right device for dma_unmap_single operation"

7 years agoARM: dts: msm: Enable pil_modem for apq8998 mediabox
Prasad Sodagudi [Sat, 14 Jan 2017 01:10:32 +0000 (17:10 -0800)]
ARM: dts: msm: Enable pil_modem for apq8998 mediabox

To support WLAN on apq8998 mediabox platform, modem PIL is needed.

Change-Id: I542053414f5de256514f252b8c019d498756bf80
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agoMerge "config: Add new file msmcortex_mediabox_defconfig"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:30 +0000 (01:25 -0800)]
Merge "config: Add new file msmcortex_mediabox_defconfig"

7 years agoMerge "ARM: dts: msm: add mdss node for sdm630"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:28 +0000 (01:25 -0800)]
Merge "ARM: dts: msm: add mdss node for sdm630"

7 years agoMerge "qcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:25 +0000 (01:25 -0800)]
Merge "qcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires"

7 years agoMerge "qcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargers"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:23 +0000 (01:25 -0800)]
Merge "qcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargers"

7 years agoMerge "qcom: qnovo: Update fcc and fv through batt psy"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:21 +0000 (01:25 -0800)]
Merge "qcom: qnovo: Update fcc and fv through batt psy"

7 years agoMerge "arm64: process: Update the kernel offset"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:20 +0000 (01:25 -0800)]
Merge "arm64: process: Update the kernel offset"

7 years agoMerge "defconfig: msm: Enable EL2 tlb handler"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:19 +0000 (01:25 -0800)]
Merge "defconfig: msm: Enable EL2 tlb handler"

7 years agoMerge "arm64: raise exception to EL2 for sync aborts"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:19 +0000 (01:25 -0800)]
Merge "arm64: raise exception to EL2 for sync aborts"

7 years agoMerge "qpnp-smb2: Add DT option for enabling input suspend on fake battery"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:18 +0000 (01:25 -0800)]
Merge "qpnp-smb2: Add DT option for enabling input suspend on fake battery"

7 years agoMerge "msm: ipa3: fix race condition in SSR"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:17 +0000 (01:25 -0800)]
Merge "msm: ipa3: fix race condition in SSR"

7 years agoMerge "input: keyboard: correct suspend/resume for gpio_keys"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:16 +0000 (01:25 -0800)]
Merge "input: keyboard: correct suspend/resume for gpio_keys"

7 years agoMerge "input: gpio_keys: Add support for pinctrl framework"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:15 +0000 (01:25 -0800)]
Merge "input: gpio_keys: Add support for pinctrl framework"

7 years agoMerge "ARM: dts: msm: Disable CXIP LM feature for sdm630"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:14 +0000 (01:25 -0800)]
Merge "ARM: dts: msm: Disable CXIP LM feature for sdm630"

7 years agoMerge "defconfig: msm: Enable BALANCE_ANON_FILE_RECLAIM"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:13 +0000 (01:25 -0800)]
Merge "defconfig: msm: Enable BALANCE_ANON_FILE_RECLAIM"

7 years agoMerge "msm: mhi: fix latent issues in MHI drivers"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:13 +0000 (01:25 -0800)]
Merge "msm: mhi: fix latent issues in MHI drivers"

7 years agoMerge "ath10k: converge TLV and HL1.0 params and API"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:12 +0000 (01:25 -0800)]
Merge "ath10k: converge TLV and HL1.0 params and API"

7 years agoMerge "tracing: Add clock trace events only for COMMON_CLK_MSM"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:11 +0000 (01:25 -0800)]
Merge "tracing: Add clock trace events only for COMMON_CLK_MSM"

7 years agoMerge "defconfig: Enable FG GEN3 and QNOVO configs for sdm660 32-bit"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:09 +0000 (01:25 -0800)]
Merge "defconfig: Enable FG GEN3 and QNOVO configs for sdm660 32-bit"

7 years agoMerge "regulator: cpr4-mmss-ldo: Add GFX LDO CPR support for sdm630"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:09 +0000 (01:25 -0800)]
Merge "regulator: cpr4-mmss-ldo: Add GFX LDO CPR support for sdm630"

7 years agoMerge "ARM: dts: msm: add camera focus and snapshot device nodes for SDM630"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:08 +0000 (01:25 -0800)]
Merge "ARM: dts: msm: add camera focus and snapshot device nodes for SDM630"

7 years agoMerge "clk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_mux"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:07 +0000 (01:25 -0800)]
Merge "clk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_mux"

7 years agoMerge "ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm630"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:06 +0000 (01:25 -0800)]
Merge "ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm630"

7 years agoMerge "drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers"
Linux Build Service Account [Sat, 11 Feb 2017 09:25:05 +0000 (01:25 -0800)]
Merge "drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers"

7 years agomsm: ADSPRPC: Set the device node in the session context
Sathish Ambley [Sat, 11 Feb 2017 02:55:18 +0000 (18:55 -0800)]
msm: ADSPRPC: Set the device node in the session context

Set the device node associated with the session while creating
the context to allow for dma operations.

Change-Id: I7937a7bd533a9be09453144e20f7ecca3f3cc0ef
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agoqpnp-fg-gen3: add support for configuring slope limit coefficients
Subbaraman Narayanamurthy [Fri, 10 Feb 2017 02:06:14 +0000 (18:06 -0800)]
qpnp-fg-gen3: add support for configuring slope limit coefficients

Slope limit coefficient is used to define the maximum change in
battery SOC. There is a requirement to configure slope limit
coefficient based on charging status and battery temperature
threshold. Add support for it through the following properties.

- qcom,slope-limit-temp-threshold
- qcom,slope-limit-coeffs

Possibe values allowed for slope limit coefficient is 0 to 31.

Change-Id: I41eacb13734f1692a16c1b011c58a488e46515ec
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agousb: pd: Update uevent parameters during hard reset
Jack Pham [Tue, 31 Jan 2017 23:23:56 +0000 (15:23 -0800)]
usb: pd: Update uevent parameters during hard reset

Ensure that a few of the parameters (SELECTED_PDO, REQUESTED_PDO,
RDO) are properly cleared out during hard reset and a uevent
update is sent to notify userspace clients.

Also, don't reset src_cap_id upon disconnect. This makes it a
a monotonically increasing value upon every connection so that
clients can distinguish when a new PD session is established.
Demote it to a u16 in order to have a smaller wraparound (65535).

Change-Id: I622ad1155b3680d3f616d5e9a835d4c6cbca3636
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agousb: pd: Make select_pdo_store() wait until request goes through
Jack Pham [Thu, 26 Jan 2017 21:28:19 +0000 (13:28 -0800)]
usb: pd: Make select_pdo_store() wait until request goes through

When sending a request through the 'select_pdo' sysfs file,
make sure the request has gone through and is acknowledged
by the source before returning. This allows for checking if
the request was rejected so that an error can be returned.

Rename the 'swap_complete' completion variable to 'is_ready'
so it can be reused in this context. Also add a mutex so that
select_pdo will not contend with a dual_role swap.

Change-Id: Ie8b088faa15c67915e3bd96972b4f59f0cc66afe
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoqcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires
Subbaraman Narayanamurthy [Tue, 7 Feb 2017 00:33:12 +0000 (16:33 -0800)]
qcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires

Currently when 3 switcher_power_ok interrupts are seen within a
second, the driver thinks that the switcher is reverse boosting
and suspends USB input path.

However, switcher_power_ok could happen 3 times within a second
while AICL is run from a charger collapse, a valid usecase which
ends up in an USB suspended state.

Note that AICL run caused switcher_power_ok is accompanied by an
USBIN_UV interrupt. Use that to distinguish reverse boost Vs AICL
runs. In particular, reset the switcher_power_ok interrupt count
updated by storm_watch when an USBIN_UV interrupt is seen.

Change-Id: I6817c66319f9af03ac28324a8d863876fdadafb3
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargers
Subbaraman Narayanamurthy [Tue, 7 Feb 2017 00:22:48 +0000 (16:22 -0800)]
qcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargers

Since the interrupt information for both smb2 and smb138x charger
devices are almost common, abstract it to a single smb_irq_info
struct. Also, keep an interrupt index for every interrupt which
can be used when necessary.

Change-Id: I4e42dd15a46b59c1a9c27412ca6fdff281fa71ec
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>