OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
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 agoMerge "net: support __netdev_alloc_frag to always use GFP_DMA"
Linux Build Service Account [Fri, 10 Feb 2017 23:47:10 +0000 (15:47 -0800)]
Merge "net: support __netdev_alloc_frag to always use GFP_DMA"

7 years agoMerge "msm: kgsl: Fix Integer overflow in sparse_bind related functions"
Linux Build Service Account [Fri, 10 Feb 2017 23:47:10 +0000 (15:47 -0800)]
Merge "msm: kgsl: Fix Integer overflow in sparse_bind related functions"

7 years agoMerge "ASoC: msm: qdsp6v2: Add INT3 Tx port for LSM"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:06 +0000 (06:46 -0800)]
Merge "ASoC: msm: qdsp6v2: Add INT3 Tx port for LSM"

7 years agoMerge "drivers: soc: add mutex to prevent response being processed twice"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:05 +0000 (06:46 -0800)]
Merge "drivers: soc: add mutex to prevent response being processed twice"

7 years agoMerge "ARM: dts: msm: add SMB1351 charger node for SDM660 MTP"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:04 +0000 (06:46 -0800)]
Merge "ARM: dts: msm: add SMB1351 charger node for SDM660 MTP"

7 years agoMerge "qpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAX"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:02 +0000 (06:46 -0800)]
Merge "qpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAX"

7 years agoMerge "power_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:01 +0000 (06:46 -0800)]
Merge "power_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties"

7 years agoMerge "defconfig: arm64: msm-perf: Enable MSM_TZ_LOG"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:00 +0000 (06:46 -0800)]
Merge "defconfig: arm64: msm-perf: Enable MSM_TZ_LOG"

7 years agoMerge "soc: qcom: Add support for Cx iPeak limit driver"
Linux Build Service Account [Fri, 10 Feb 2017 14:46:00 +0000 (06:46 -0800)]
Merge "soc: qcom: Add support for Cx iPeak limit driver"

7 years agoMerge "USB: qc_rndis: Fix aggregation parameters settings issue"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:58 +0000 (06:45 -0800)]
Merge "USB: qc_rndis: Fix aggregation parameters settings issue"

7 years agoMerge "ARM: dts: msm: Add APC0/1 CPR instances for sdm630"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:57 +0000 (06:45 -0800)]
Merge "ARM: dts: msm: Add APC0/1 CPR instances for sdm630"

7 years agoMerge "defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for sdm660"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:56 +0000 (06:45 -0800)]
Merge "defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for sdm660"

7 years agoMerge "driver-core: cpu: Make isolate node read-only"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:55 +0000 (06:45 -0800)]
Merge "driver-core: cpu: Make isolate node read-only"

7 years agoMerge "qpnp-smb2: Make CURRENT_MAX property writeable for usb_psy"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:54 +0000 (06:45 -0800)]
Merge "qpnp-smb2: Make CURRENT_MAX property writeable for usb_psy"

7 years agoMerge "ASoC: msm: qdsp6v2: Add endianness control for USB devices"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:53 +0000 (06:45 -0800)]
Merge "ASoC: msm: qdsp6v2: Add endianness control for USB devices"

7 years agoMerge "msm: rndis_ipa: Fix to incorrect state transition"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:53 +0000 (06:45 -0800)]
Merge "msm: rndis_ipa: Fix to incorrect state transition"

7 years agoMerge "clk: qcom: Add qpnp clock divider support"
Linux Build Service Account [Fri, 10 Feb 2017 14:45:47 +0000 (06:45 -0800)]
Merge "clk: qcom: Add qpnp clock divider support"

7 years agoclk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_mux
Padmanabhan Komanduru [Sun, 5 Feb 2017 03:46:08 +0000 (09:16 +0530)]
clk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_mux

The fractional divider values for DP pixel clock RCG needs to be
determined dynamically. Add the recalc_rate operation for the DP
PLL mux clock dp_vco_divided_clk_src_mux which is the parent of
DP pixel clock RCG. This enables the RCG clock to calculate the
fractional dividers correctly. Modify the determine rate op for the
mux clock to also set the new parent after performing the determine
rate operation.

Change-Id: Id931a60677380ecee28eb9aec6468548898b812b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
7 years agoARM: dts: msm: add camera focus and snapshot device nodes for SDM630
Shantanu Jain [Thu, 9 Feb 2017 12:48:19 +0000 (18:18 +0530)]
ARM: dts: msm: add camera focus and snapshot device nodes for SDM630

MSM GPIO 64 is connected to camera focus button and MSM GPIO 113 is
connected to camera snapshot button. Add the device nodes for these
buttons for SDM630 devices.

Change-Id: I7f58f3ed6e7cfa49f03ebea23cff4eae417a071b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoqpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAX
Nicholas Troast [Thu, 9 Feb 2017 18:05:03 +0000 (10:05 -0800)]
qpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAX

CTM needs to vote for USB ICL. Add support for it.

Change-Id: I88b146000f7327cf5dc7310fb721309f08dc3035
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agopower_supply: add CTM_CURRENT_MAX property
Nicholas Troast [Mon, 6 Feb 2017 03:44:33 +0000 (19:44 -0800)]
power_supply: add CTM_CURRENT_MAX property

POWER_SUPPLY_PROP_CTM_CURRENT_MAX is needed by CTM to limit USB input
current. Add it.

Change-Id: I8aac65a91959300676cf7e1c2685a557f322c509
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agopower: supply: qcom: implement die and connector health property
Nicholas Troast [Wed, 8 Feb 2017 18:47:37 +0000 (10:47 -0800)]
power: supply: qcom: implement die and connector health property

The die and connector health properties expose the comparator output of
the thermal regulation. If both die and skin temperature regulation is
enabled then the output of the comparator will be the higher of the two.
The property values can be one of: Unknown, Cool, Warm, Hot, Overheat.

Change-Id: Ic92c9cb08ec42fd2c2f26a54687a17e3b05b388f
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agopower_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties
Nicholas Troast [Wed, 8 Feb 2017 18:41:06 +0000 (10:41 -0800)]
power_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties

The DIE_HEALTH and CONNECTOR_HEALTH properties are used to show the
output of the thermal regulation TEMP_RANGE.

Change-Id: Ice3f159b7775084bdd0099047d4660a1e5edce98
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb-lib: add support of ICL voting based on charger
Abhijeet Dharmapurikar [Wed, 8 Feb 2017 21:35:14 +0000 (13:35 -0800)]
smb-lib: add support of ICL voting based on charger

Add support to vote for ICL based on charger type.
Following are the current limit for chargers:
Legacy adapters:
CDP: 1500mA, DCP: 1800mA, HVDCP: 3000mA

TypeC Adapters:
Based on the current advertised by the adapter.

Change-Id: Ia5dbf73c29949a94e096ca6233a33c40da744140
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agodefconfig: arm64: msm-perf: Enable MSM_TZ_LOG
Matt Wagantall [Fri, 24 Jul 2015 04:08:19 +0000 (21:08 -0700)]
defconfig: arm64: msm-perf: Enable MSM_TZ_LOG

The tz_log driver is responsible for allocating the memory for the
'qsee_log' buffer. If tz_log driver is disabled and some part of the
bootchain has set the qsee_log address before Linux booted, then that
previous address will continue being used. If that address overlaps
with memory used for some other purpose, logging to qsee_log may
scribble on memory and cause a crash.

Change-Id: I10d69355beeb252115a0d91cfabfa8b9e729c969
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
7 years agoARM: dts: msm: add SMB1351 charger node for SDM660 MTP
Ashay Jaiswal [Thu, 9 Feb 2017 16:55:21 +0000 (22:25 +0530)]
ARM: dts: msm: add SMB1351 charger node for SDM660 MTP

Add SMB1351 charger node in parallel charger configuration
for SDM660.

Change-Id: Ia36a352f2728c25605b4a4a730493b99f83c8c12
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm630
Tirupathi Reddy [Fri, 10 Feb 2017 07:09:00 +0000 (12:39 +0530)]
ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm630

Use NOM ACC settings up to TURBO voltage corner for APC0/1 for
sdm630.

CRs-Fixed: 2005083
Change-Id: Ifa50b62c5b8ae46a691d260f3517a4bc410d19c3
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoMerge "power: qcom-charger: add support for USBIN-USBIN parallel configuration"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:30 +0000 (22:09 -0800)]
Merge "power: qcom-charger: add support for USBIN-USBIN parallel configuration"

7 years agoMerge "power: smb1351-charger: update drive to support parallel architecture"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:28 +0000 (22:09 -0800)]
Merge "power: smb1351-charger: update drive to support parallel architecture"

7 years agoMerge "icnss: For WDOG bite, shutdown after FW ready"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:27 +0000 (22:09 -0800)]
Merge "icnss: For WDOG bite, shutdown after FW ready"

7 years agoMerge "sched: remove sched_new_task_windows tunable"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:26 +0000 (22:09 -0800)]
Merge "sched: remove sched_new_task_windows tunable"

7 years agoMerge "ARM: dts: msm: Add alias name for secondary GPU sensor in MSM8998"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:26 +0000 (22:09 -0800)]
Merge "ARM: dts: msm: Add alias name for secondary GPU sensor in MSM8998"

7 years agoMerge "ARM: dts: msm: Update tsens for cluster0 mitigation profile for sdm630"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:25 +0000 (22:09 -0800)]
Merge "ARM: dts: msm: Update tsens for cluster0 mitigation profile for sdm630"

7 years agoMerge "icnss: Avoid DOMAIN_ATTR_ATOMIC setting during S1 bypass"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:23 +0000 (22:09 -0800)]
Merge "icnss: Avoid DOMAIN_ATTR_ATOMIC setting during S1 bypass"

7 years agoMerge "usb: host: xhci: Fix bound check for interrupter number"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:22 +0000 (22:09 -0800)]
Merge "usb: host: xhci: Fix bound check for interrupter number"

7 years agoMerge "clk: qcom: update post div bits to be cleared for MMCC/GPU clocks"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:21 +0000 (22:09 -0800)]
Merge "clk: qcom: update post div bits to be cleared for MMCC/GPU clocks"

7 years agoMerge "ARM: dts: msm: Add audio support for SDM630, SDA630/660"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:20 +0000 (22:09 -0800)]
Merge "ARM: dts: msm: Add audio support for SDM630, SDA630/660"

7 years agoMerge "defconfig: mfd: Enable REGMAP_ALLOW_WRITE_DEBUGFS for 8998"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:15 +0000 (22:09 -0800)]
Merge "defconfig: mfd: Enable REGMAP_ALLOW_WRITE_DEBUGFS for 8998"

7 years agoMerge "msm: regmap: configure REGMAP debugfs write optional"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:14 +0000 (22:09 -0800)]
Merge "msm: regmap: configure REGMAP debugfs write optional"

7 years agoMerge "msm: mdss: enable dest_scaler data protection"
Linux Build Service Account [Fri, 10 Feb 2017 06:09:13 +0000 (22:09 -0800)]
Merge "msm: mdss: enable dest_scaler data protection"

7 years agoARM: dts: msm: Add APC0/1 CPR instances for sdm630
Tirupathi Reddy [Mon, 30 Jan 2017 10:12:01 +0000 (15:42 +0530)]
ARM: dts: msm: Add APC0/1 CPR instances for sdm630

Add CPR device nodes with required configuration for supporting
closed-loop operation for APC0/1 CPR instances in sdm630.

CRs-Fixed: 1117353
Change-Id: I206ef602a78802ddd15b568b1d5d1043ddfc44c0
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agopower: qcom-charger: add support for USBIN-USBIN parallel configuration
Ashay Jaiswal [Mon, 6 Feb 2017 18:01:29 +0000 (23:31 +0530)]
power: qcom-charger: add support for USBIN-USBIN parallel configuration

Add support for USBIN-USBIN configuration based parallel charging. This
involves splitting Input Current Limit(ICL) between the main and the
parallel charger, ICL re-split is done when the settled AICL of the main
charger changes by 300mA.

Change-Id: I5b916f1503a2267ca1e73b24096cb60a304e3c19
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agopower: smb1351-charger: update drive to support parallel architecture
Ashay Jaiswal [Mon, 6 Feb 2017 18:42:08 +0000 (00:12 +0530)]
power: smb1351-charger: update drive to support parallel architecture

Re-organize SMB1351 charger driver to support new parallel charger
architecture.
- New property "POWER_SUPPLY_PROP_PARALLEL_MODE" exposes the parallel
  charger configuration, in this case it is USBIN-USBIN configuration.
- Property "POWER_SUPPLY_CHARGE_TYPE" is added to report the current
  charge type and is also used for parallel charger chip detection.

Change-Id: I05692b34daef244f89a365e03043ae2ffe42d9da
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agopower: qcom-charger: add support to detect parallel charger
Abhijeet Dharmapurikar [Wed, 8 Feb 2017 21:34:01 +0000 (13:34 -0800)]
power: qcom-charger: add support to detect parallel charger

Add support to detect presence of parallel charger chip by
requesting a register read via power_supply framework.
If parallel chip is absent then disable parallel charger.

Change-Id: Icfa4a774d344fde4c7d1f4ced772a707be85020d
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoqcom: battery: add support to delay parallel enable
Ashay Jaiswal [Thu, 2 Feb 2017 17:15:22 +0000 (22:45 +0530)]
qcom: battery: add support to delay parallel enable

Add support to delay parallel enable until HVDCP detection
and authentication completes. This involves adding a new voter
which enables parallel charger under following condition:
For DCP: enable parallel path after HVDCP detection
times out.
For HVDCP: enable parallel path after HVDCP authentication
completes.

Change-Id: Ib1c740eee5c721a0c267f6a9bc924c58af4b2c1e
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb-lib: manage override in icl_callback
Abhijeet Dharmapurikar [Tue, 7 Feb 2017 02:39:19 +0000 (18:39 -0800)]
smb-lib: manage override in icl_callback

Currently we have only one path - the pd active setting path -  where
ICL_OVERRIDE gets set.

With the upcoming changes to manage connector temperature
mitigation and usbin-usbin parallel charger, the ICL_OVERRIDE is needed
to be set from these usecases.

So instead of creating a voter for ICL_OVERRIDE and putting the onus
on callsites to set it before calling their icl settings, it is best
to handle it in icl_callback.

Update the icl_callback to manage override and suspend in this way.

- Presence of voter signifies that the driver wants to enforce a
  value different than the hw default. Force an icl override.

- No voters signifies that the hw defaults are good, undo an override.

- For USB types that command a limit aka SDP and CDP, never override.

- never suspend if there are no clients.

Change-Id: I3ed01237b0bb2c028bec572d2905cabb03ce50a3
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agosmb-lib: Handle icl voter priorities between DCP, SDP and PD type
Abhijeet Dharmapurikar [Thu, 9 Feb 2017 17:25:51 +0000 (22:55 +0530)]
smb-lib: Handle icl voter priorities between DCP, SDP and PD type

Cleanup the code such that when PD is activated, DCP_VOTER
and USB_PSY_VOTER (the voter for SDP and CDP types) are disabled.

While at it DCP_VOTER is intended to enforce a different value
from the hw defaults. Set it only when type is confirmed DCP.

Also to handle the situation when the PD profile allows to suspend
based on the phy, use a different voter PD_SUSPEND_SUPPORTED_VOTER
to activate that situation.

Change-Id: I0cb1a0aad9c94fdd233ec3103779e1a13449472e
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoregulator: cprh-kbss: add support for sdm630 kbss cpr instances
Tirupathi Reddy [Mon, 30 Jan 2017 09:40:11 +0000 (15:10 +0530)]
regulator: cprh-kbss: add support for sdm630 kbss cpr instances

sdm630 CPU CPR controllers support full hardware closed-loop CPR
operation also known as CPR hardening. Extend the cprh-kbss-regulator
driver to handle CPU subsystem specific power requirements of
the sdm630 chip.

CRs-Fixed: 1117353
Change-Id: Id2aa0674b0d9737907defd4b305ee70b74f65142
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agodefconfig: msm: Enable CONFIG_MMC_RING_BUFFER for sdm660
Sayali Lokhande [Fri, 10 Feb 2017 04:07:36 +0000 (09:37 +0530)]
defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for sdm660

Enable CONFIG_MMC_RING_BUFFER to support ring buffer
logging of legacy and CQ events for sdm660.

Change-Id: I91e7dc68b929c0bf03d76510a084ee89ca4cd030
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agodriver-core: cpu: Make isolate node read-only
Olav Haugan [Fri, 10 Feb 2017 00:46:45 +0000 (16:46 -0800)]
driver-core: cpu: Make isolate node read-only

We no longer support isolating a core using the isolate node. Remove
write-access to this node.

Change-Id: Ib51cf12066819ad295ce57f6ae8edf52b0a4e558
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agoicnss: For WDOG bite, shutdown after FW ready
Prashanth Bhatta [Wed, 8 Feb 2017 17:27:57 +0000 (09:27 -0800)]
icnss: For WDOG bite, shutdown after FW ready

When there is Modem WDOG bite, Q6 will not get chance to reset
the hardware and if shutdown is called as part of PD down
notification then freeing buffers already submitted to hardware
may cause exceptions as hardware may try to access DDR location
which is already freed.
Fix the issue by delaying the shutdown till FW ready happens and
hardware is reset to clean state this way buffers are freed after
hardware is in reset state.

CRs-fixed: 2000709
Change-Id: Iacea5e8b712dd4ca310e5b502e43f4beb99f6981
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agosoc: qcom: Add ssr states to service notifier notifications
Puja Gupta [Wed, 8 Feb 2017 22:30:34 +0000 (14:30 -0800)]
soc: qcom: Add ssr states to service notifier notifications

Add more refined states with service notifier notification for clients
to be able to distinguish between different error scenarios.

CRs-Fixed: 2004229
Change-Id: Ibae1f2b0ba03f8cdcb14398d7d35b007fac1a150
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
7 years agodrm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers
Jordan Crouse [Tue, 7 Feb 2017 16:03:40 +0000 (09:03 -0700)]
drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers

With the conversion of the master device to use the arm iommu
ops we lose the benefit of a cache flush using the dma_map_sg
trick. Plus we end up mapping all the GPU buffers into the master
DMA device which is admittedly sub optimal.

However it did end up mapping all the display buffers which
unintentionally worked. Put the map_sg() functions back into msm_gem.c
to make it intentionally work from now on.

Change-Id: Ic0dedbada1a8723fb47311189a6b7e11969427ee
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoMerge "msm: rndis_ipa: fix to debug file system init failure"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:13 +0000 (13:16 -0800)]
Merge "msm: rndis_ipa: fix to debug file system init failure"

7 years agoMerge "msm: ext_display: increase timeout value to 5 seconds"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:12 +0000 (13:16 -0800)]
Merge "msm: ext_display: increase timeout value to 5 seconds"

7 years agoMerge "defconfig: msm: Enable RCU_FAST_NO_HZ for msmcortex"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:11 +0000 (13:16 -0800)]
Merge "defconfig: msm: Enable RCU_FAST_NO_HZ for msmcortex"

7 years agoMerge "ASoC: wcd934x: Update master clock sequence for wcd934x codec"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:10 +0000 (13:16 -0800)]
Merge "ASoC: wcd934x: Update master clock sequence for wcd934x codec"

7 years agoMerge "ARM: dts: msm: Add MLCK routing for VI feedback path on msm8998"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:09 +0000 (13:16 -0800)]
Merge "ARM: dts: msm: Add MLCK routing for VI feedback path on msm8998"

7 years agoMerge "ASoC: msm8998: Add support for ANC headset detection"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:08 +0000 (13:16 -0800)]
Merge "ASoC: msm8998: Add support for ANC headset detection"

7 years agoMerge "ASoC: wcd934x: add DSD support for lineout path"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:07 +0000 (13:16 -0800)]
Merge "ASoC: wcd934x: add DSD support for lineout path"

7 years agoMerge "ARM: dts: msm: Add support for ANC headset detection on MSM8998"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:06 +0000 (13:16 -0800)]
Merge "ARM: dts: msm: Add support for ANC headset detection on MSM8998"

7 years agoMerge "ARM: dts: msm: enable dynamic fps for all video mode panels on sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:05 +0000 (13:16 -0800)]
Merge "ARM: dts: msm: enable dynamic fps for all video mode panels on sdm660"

7 years agoMerge "mmc: block: Fix issue with deferred resume when CQ is enabled"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:04 +0000 (13:16 -0800)]
Merge "mmc: block: Fix issue with deferred resume when CQ is enabled"

7 years agoMerge "spcom: abort server pending rx when SP reset (SSR) detected"
Linux Build Service Account [Thu, 9 Feb 2017 21:16:02 +0000 (13:16 -0800)]
Merge "spcom: abort server pending rx when SP reset (SSR) detected"

7 years agoMerge "ARM: dts: msm: Add fab-id property for PM660"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:55 +0000 (13:15 -0800)]
Merge "ARM: dts: msm: Add fab-id property for PM660"

7 years agoMerge "qpnp-fg-gen3: fix ESR filter configuration"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:52 +0000 (13:15 -0800)]
Merge "qpnp-fg-gen3: fix ESR filter configuration"

7 years agoMerge "ASoC: qdsp6v2: Clear memory map handle during ADSP SSR"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:52 +0000 (13:15 -0800)]
Merge "ASoC: qdsp6v2: Clear memory map handle during ADSP SSR"

7 years agoMerge "ASoC: Add support for ADIE RTC on SDM660 internal codec"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:50 +0000 (13:15 -0800)]
Merge "ASoC: Add support for ADIE RTC on SDM660 internal codec"

7 years agoMerge "ASoC: msm: add Slimbus7 loopback volume mixer control"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:49 +0000 (13:15 -0800)]
Merge "ASoC: msm: add Slimbus7 loopback volume mixer control"

7 years agoMerge "ASoC: qdsp6v2: update afe topology to RTAC driver"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:48 +0000 (13:15 -0800)]
Merge "ASoC: qdsp6v2: update afe topology to RTAC driver"

7 years agoMerge "ASoC: msm: remove wrong return statement"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:47 +0000 (13:15 -0800)]
Merge "ASoC: msm: remove wrong return statement"

7 years agoMerge "ASoC: wcd-mbhc: Reduce plug insert/remove pop for USB type-C analog audio"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:46 +0000 (13:15 -0800)]
Merge "ASoC: wcd-mbhc: Reduce plug insert/remove pop for USB type-C analog audio"

7 years agoMerge "msm: mdss: Fix advertising HDR capability"
Linux Build Service Account [Thu, 9 Feb 2017 21:15:39 +0000 (13:15 -0800)]
Merge "msm: mdss: Fix advertising HDR capability"

7 years agousb: host: xhci: Fix bound check for interrupter number
Hemant Kumar [Tue, 7 Feb 2017 19:50:13 +0000 (11:50 -0800)]
usb: host: xhci: Fix bound check for interrupter number

Since max_interrupters flag includes primary interrupter as well,
update the bound check when this flag is being used for
secondary event ring clean-up/allocation.

Change-Id: I044c5a89fe17779eb847981cbf27e99b97e37d80
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoARM: dts: msm: Add alias name for secondary GPU sensor in MSM8998
Ram Chandrasekar [Wed, 8 Feb 2017 22:18:25 +0000 (15:18 -0700)]
ARM: dts: msm: Add alias name for secondary GPU sensor in MSM8998

Add alias name for the secondary GPU temperature sensor in MSM8998. This
alias information will be used by thermal-engine.

Change-Id: I4d3400efef8886153018435468526f88418ee0a0
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agomsm: rndis_ipa: Fix to incorrect state transition
Utkarsh Saxena [Mon, 4 Jul 2016 12:08:13 +0000 (17:38 +0530)]
msm: rndis_ipa: Fix to incorrect state transition

Add a spinlock to protect the state transitions in rndis ipa
driver.

Change-Id: Ia5eab252d9a53e6a2f4db07912967a5f466982a6
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Acked-by: Javid Mohammed <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
7 years agomsm: rndis_ipa: fix to debug file system init failure
Utkarsh Saxena [Mon, 17 Oct 2016 10:40:11 +0000 (16:10 +0530)]
msm: rndis_ipa: fix to debug file system init failure

Do not consider debug file system init failure as
functional failure.

Modify the code to proceed further
driver initialization.

Change-Id: I821af8970b6c2ced55d6464b8a7b56a458fa7d79
Acked-by: Javid Mohammed <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoicnss: Avoid DOMAIN_ATTR_ATOMIC setting during S1 bypass
Hardik Kantilal Patel [Wed, 8 Feb 2017 11:24:43 +0000 (16:54 +0530)]
icnss: Avoid DOMAIN_ATTR_ATOMIC setting during S1 bypass

While initializing the SMMU with DOMAIN_ATTR_ATOMIC attribute
iommu driver always vote for aggre2_noc_clk during suspend mode
which result into power penalty. To resolve this issue avoid
configuring DOMAIN_ATTR_ATOMIC attribute in S1_BYPASS mode.

CRs-fixed: 2004562
Change-Id: Ic5d4b2864f58098fd29da48e5f977434e356b1e0
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoARM: dts: msm: Add smmu-s1-bypass flag to icnss node for sdm630
Hardik Kantilal Patel [Thu, 9 Feb 2017 13:07:35 +0000 (18:37 +0530)]
ARM: dts: msm: Add smmu-s1-bypass flag to icnss node for sdm630

Add smmu-s1-bypass flag to the icnss node. so based on target
requirement the user can configure different SMMU configuration.

CRs-fixed: 2004562
Change-Id: I04297b5dbc013a8df4603887794f98a8f8ea2bcc
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoARM: dts: msm: Add smmu-s1-bypass flag to icnss node for sdm660
Hardik Kantilal Patel [Thu, 9 Feb 2017 12:17:20 +0000 (17:47 +0530)]
ARM: dts: msm: Add smmu-s1-bypass flag to icnss node for sdm660

Add smmu-s1-bypass flag to the icnss node. so based on target
requirement the user can configure different SMMU configuration.

CRs-fixed: 2004562
Change-Id: If44232baaeab27a1abc93126f65fe5ee6fca6cd4
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
7 years agoUSB: qc_rndis: Fix aggregation parameters settings issue
Vijayavardhan Vennapusa [Thu, 9 Feb 2017 09:21:40 +0000 (14:51 +0530)]
USB: qc_rndis: Fix aggregation parameters settings issue

Currently driver does read max Transfer size from RNDIS_MSG_INIT
control message, when received from Host, but it is wrongly being
decoded due to wrong offset used. This leads dl_aggregation size set to
0 instead of required rndis_dl_aggr_size. Hence fix this by incrementing
tmp pointer for requestID to use correct offset to read max Transfer
size and set DL aggregation size correctly.

Also pass maxpkt_per_xfer as zero to rndis_qc_bind_config_vendor() so that
UL aggregation buffer size will be set to aggregation of 15 packets. This
helps in improving througput numbers.

Change-Id: Icc7506b57d26f82e6bf81f9d7dc1515cfbae6c82
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoclk: qcom: update post div bits to be cleared for MMCC/GPU clocks
Taniya Das [Wed, 1 Feb 2017 11:27:43 +0000 (16:57 +0530)]
clk: qcom: update post div bits to be cleared for MMCC/GPU clocks

MMCC and GPU clocks needs the post div bits to be cleared, so that the
clock measure does not account for any previously set div values in the
debug mux.

Change-Id: I1123e566740518e287692797fa3ab6b316da3bf1
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: Add support for post divider for debug mux
Taniya Das [Mon, 30 Jan 2017 12:47:43 +0000 (18:17 +0530)]
clk: qcom: Add support for post divider for debug mux

There could be cases where the post div in different debug muxes could be
set previously and not cleared, so add support to clear and set it, in case
required.

Change-Id: I15fedb4672179cb604804e7cbb0d6afc68bc473b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: Add audio support for SDM630, SDA630/660
Laxminath Kasam [Thu, 26 Jan 2017 14:09:26 +0000 (19:39 +0530)]
ARM: dts: msm: Add audio support for SDM630, SDA630/660

Add audio internal and external codecs support in respective
SDM630, SDA630, SDA660 variants.

Change-Id: I5b5f4abe4455b1251ce368619998fc20685c0dca
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoARM: dts: msm: Update tsens for cluster0 mitigation profile for sdm630
Manaf Meethalavalappu Pallikunhi [Fri, 3 Feb 2017 07:17:01 +0000 (12:47 +0530)]
ARM: dts: msm: Update tsens for cluster0 mitigation profile for sdm630

Update tsens mapping for cluster0 mitigation profile based on
latest recommendation for sdm630. With new recommendation, tsens7 is
used for cluster0 mitigation profile.

Change-Id: Ia60fb7ff72504a9429fe0c75d0d8252fceeeb696
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
7 years agoMerge "ASoC: codecs: fix out of bounds copy"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:05 +0000 (03:12 -0800)]
Merge "ASoC: codecs: fix out of bounds copy"

7 years agoMerge "ASoC: jack: Fix buttons enum value"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:04 +0000 (03:12 -0800)]
Merge "ASoC: jack: Fix buttons enum value"

7 years agoMerge "ASoC: msm: add FE DAIs for HFP for SDM660"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:03 +0000 (03:12 -0800)]
Merge "ASoC: msm: add FE DAIs for HFP for SDM660"

7 years agoMerge "ASoC: msm: Add support for 128KHz in the compress driver"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:02 +0000 (03:12 -0800)]
Merge "ASoC: msm: Add support for 128KHz in the compress driver"

7 years agoMerge "soundwire: Add support to disable smart boost data port"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:01 +0000 (03:12 -0800)]
Merge "soundwire: Add support to disable smart boost data port"

7 years agoMerge "ASoC: wsa881x: Fix boost enable sequence"
Linux Build Service Account [Thu, 9 Feb 2017 11:12:00 +0000 (03:12 -0800)]
Merge "ASoC: wsa881x: Fix boost enable sequence"

7 years agoMerge "ASoC: msm: add support for multi-copps for multiple BEs"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:59 +0000 (03:11 -0800)]
Merge "ASoC: msm: add support for multi-copps for multiple BEs"

7 years agoMerge "clk: msm: clock-mmss-8998: Park the MMNOC AHB RCG at XO when its disabled"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:59 +0000 (03:11 -0800)]
Merge "clk: msm: clock-mmss-8998: Park the MMNOC AHB RCG at XO when its disabled"

7 years agoMerge "msm: mdss: share MDP smmu device mappings with other mdss clients"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:57 +0000 (03:11 -0800)]
Merge "msm: mdss: share MDP smmu device mappings with other mdss clients"

7 years agoMerge "msm: mdss: dp: add null check for token value"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:56 +0000 (03:11 -0800)]
Merge "msm: mdss: dp: add null check for token value"

7 years agoMerge "msm: mdss: fix frame rate calculation for DP interface"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:55 +0000 (03:11 -0800)]
Merge "msm: mdss: fix frame rate calculation for DP interface"