Commit graph

118608 commits

Author SHA1 Message Date
Linux Build Service Account
896ddc1b32 Merge "ARM: dts: msm: Fix BT current leakage in msmcobalt MTP and CDP" 2016-11-10 22:49:38 -08:00
Linux Build Service Account
e73de78f69 Merge "ARM: dts: msm: Correct camera dtsi place for msmcobalt skuk device" 2016-11-10 22:49:36 -08:00
Linux Build Service Account
de9acd7e8f Merge "arm: dma-mapping: page align size before flush tlb" 2016-11-10 22:49:35 -08:00
Linux Build Service Account
c2183620ea Merge "ARM: dts: msm: Add GPU mempools properties for all msm" 2016-11-10 22:49:34 -08:00
Linux Build Service Account
c24c3c4d70 Merge "ARM: dts: msm: Add camera node for msmcobalt QVR board" 2016-11-10 22:49:25 -08:00
Linux Build Service Account
8a9006341d Merge "ARM: dts: msm: Enable memory allocation for diag on cobalt" 2016-11-10 15:14:42 -08:00
Linux Build Service Account
0307dd36e1 Merge "ARM: dts: msm: Update clock gcc node for MSMfalcon/Triton" 2016-11-10 15:14:40 -08:00
Linux Build Service Account
8f000b7b8e Merge "ARM: dts: msm: Add IMEM pil entry for msmfalcon" 2016-11-10 15:14:37 -08:00
Linux Build Service Account
982cdaebe0 Merge "ARM: dts: msm: Enable memory allocation for diag on falcon" 2016-11-10 15:14:36 -08:00
Linux Build Service Account
2516911133 Merge "ARM: dts: msm: Add storage node for QRD interposer msmcobalt" 2016-11-10 15:14:35 -08:00
Linux Build Service Account
208399ba94 Merge "ARM: dts: msm: Change LAB precharge time to 500us in pmicobalt" 2016-11-10 15:14:32 -08:00
Linux Build Service Account
dc30c737b0 Merge "regulator: qpnp-labibb: Rename properties to reflect the vendor" 2016-11-10 15:14:32 -08:00
Linux Build Service Account
194d6b16aa Merge "ARM: dts: msm: Enable gpu-quirk-disable-lmloadkill for msmcobalt" 2016-11-10 15:14:22 -08:00
Linux Build Service Account
4dfa75b604 Merge "ARM: dts: msm: Disable lpm sleep modes for msmfalcon" 2016-11-10 15:14:16 -08:00
Sungjun Park
6eaec59433 ARM: dts: msm: Fix BT current leakage in msmcobalt MTP and CDP
There is a current leakage on S5 and LDO XO RF rail during
BT sleep. To prevent the current leakage, L7A/L17A/L25A
should be on during BT sleep. So, change L7A/L17A/L25A LDOs
from pin control version to SW control not to follow HW_EN2.
RFCLK2 has not been turned off during sleep and caused
extra current penalty. For RFCLK2 to follow HW_EN2 pin control,
clk_rf_clk2_pin should be used.

Change-Id: Ie316941535f62afd75eac21280061b489e9196c1
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2016-11-10 14:09:34 -08:00
Shiraz Hashim
adcf23cfd5 arm: dma-mapping: page align size before flush tlb
start and end must be page aligned while calling
flush_tlb_kernel_range else the last page may get
missed while invalidation.

Change-Id: Ibaab202c47a475623e197a13191b2fed638ce20b
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-11-10 04:32:42 -08:00
Wei Ding
4764fd0d2f ARM: dts: msm: Correct camera dtsi place for msmcobalt skuk device
Correct the camera dtis place to support multiple chipset
version for msmcobalt skuk device.

Change-Id: I20e12bc1597ad15cb3dc9c3ef18d81d039931e07
Signed-off-by: Wei Ding <weiding@codeaurora.org>
2016-11-10 19:23:22 +08:00
Taniya Das
d5540f87db ARM: dts: msm: Update clock gcc node for MSMfalcon/Triton
Modify the clock_gcc dummy clock to use the real clock controller for all
global clock controller clients.

Change-Id: Iac989d3c9312654b599d8299206e5478ca454861
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-11-10 14:17:04 +05:30
Gaurav Kohli
04d3e804c6 ARM: dts: msm: Add IMEM pil entry for msmfalcon
Add IMEM PIL entry to save relocatable address of images
loaded by PIL.

Change-Id: I79acd047c7e414ed19a2f992f8ff801b63c8a2ad
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-11-10 00:25:06 -08:00
Subbaraman Narayanamurthy
83dd0b0ca0 ARM: dts: msm: Change LAB precharge time to 500us in pmicobalt
Set LAB's precharge time to max 500us to optimize the precharge
behavior as suggested in the hardware documentation.

CRs-Fixed: 1084297
Change-Id: I118f4254686caf498087847916b7710662ab31e7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-09 20:03:44 -08:00
Subbaraman Narayanamurthy
bcac9ef54a regulator: qpnp-labibb: Rename properties to reflect the vendor
Currently, some properties in LABIBB regulator driver are having
prefix "qpnp" which is not reflecting the vendor. Change it to
"qcom" to reflect the vendor name correctly and also match with
other DT properties.

CRs-Fixed: 1071971
Change-Id: I182dddc29f3d7c7b449b56ac7fb84e74061cf3a4
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-09 20:03:44 -08:00
Hareesh Gundu
87cdd9228c ARM: dts: msm: Add GPU mempools properties for all msm
Add initial set of configuration for GPU mempools
to reserve page pools at init time of kgsl driver.

CRs-Fixed: 1064046
Change-Id: Ie6789e13be7316a0de43538b9e477920fa64c6bb
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-11-09 19:46:04 -08:00
Linux Build Service Account
05a0fa2b20 Merge "dma-mapping: use iommu_unmap for unmapping address" 2016-11-09 16:25:09 -08:00
Ashay Jaiswal
110f023c2c ARM: dts: msm: switch to RPM control for regulators on MSMFALCON
Convert most of the pmfalcon stub-regulator devices to a
rpm-smd-regulator devices. This ensures that requests made for
these regulators are aggregated by the RPM processor along with
the requests from other processors.
Also, add a dummy gfx_vreg_corner regulator until the CPR node
is added.

While at it, rename all regulators names and add pm/pm2 prefix
to differentiate between regulators on multiple supported PMICs.
Also update all clients with new regulator phandles.

CRs-Fixed: 1077493
Change-Id: I95b17de5bf17b62096d2c9d60633b6b30768752a
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2016-11-09 13:06:57 +05:30
Harshdeep Dhatt
54162545a1 ARM: dts: msm: Enable gpu-quirk-disable-lmloadkill for msmcobalt
A540v1 and v2 both need to enable the LMLOADKILL quirk for the
GPU.

CRs-Fixed: 1036444
Change-Id: I84243578a1ef2f9948f0c9a8c1c00dc6a31eb579
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-11-08 15:15:31 -07:00
Linux Build Service Account
4a91ea36cb Merge "ARM: dts: msm: Add stub regulator devices for msmtriton" 2016-11-08 11:19:15 -08:00
Linux Build Service Account
684c01af9a Merge "ARM64: config: Add VPN support" 2016-11-08 11:19:14 -08:00
Linux Build Service Account
f83f0cdbd0 Merge "ARM: dts: msm: Add QRD interposer dts file for msmcobalt" 2016-11-08 11:19:13 -08:00
Linux Build Service Account
bd04f6926f Merge "qpnp-fg-gen3: support configuring ESR FCC based on charging status" 2016-11-08 11:19:11 -08:00
Linux Build Service Account
e0a287f464 Merge "ARM: dts: msm: Add remote debugger device configuration for msmcobalt" 2016-11-08 11:19:03 -08:00
Linux Build Service Account
e4d2402bc9 Merge "ARM: dts: msm: Enable VDD_APC CPR aging for msmcobalt v2" 2016-11-08 11:18:53 -08:00
Linux Build Service Account
34c43886b9 Merge "ARM: dts: msm: update VDD_APC CPR settings for msmcobalt" 2016-11-08 11:18:52 -08:00
Linux Build Service Account
dbf9862073 Merge "Revert "defconfig: msm64: msm: Compile vidc driver as LKM"" 2016-11-08 11:18:51 -08:00
Linux Build Service Account
3b1bca8355 Merge "defconfig: msm: Add MSMTRITON in msmfalcon defconfig" 2016-11-08 11:18:46 -08:00
Linux Build Service Account
3e792d2915 Merge "arm: qcom: Add support for msmtriton chipset" 2016-11-08 11:18:44 -08:00
Linux Build Service Account
59ef24e225 Merge "ARM: dts: msm: Disable clock gating on msmcobalt" 2016-11-08 11:18:43 -08:00
Linux Build Service Account
cb51868198 Merge "msm: mdss: add multiple partial update support" 2016-11-08 11:18:38 -08:00
Linux Build Service Account
2fd83abdb7 Merge "ARM: dts: msm: update VDD_GFX CPR aging and loop parameters for msmcobalt" 2016-11-08 11:18:34 -08:00
Linux Build Service Account
54525872ba Merge "ARM: dts: msm: Enable ACD on msmcobalt v2" 2016-11-08 11:18:23 -08:00
Raju P.L.S.S.S.N
c8ddda23db ARM: dts: msm: Disable lpm sleep modes for msmfalcon
Disable lpm sleep modes for msmfalcon emulation platform
at boot time as PMIC related functionality is not emulated.

Change-Id: If2309a590ad37547354c0917dd11a202daa9abe4
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2016-11-08 19:11:32 +05:30
Linux Build Service Account
7115eafa5b Merge "ARM: dts: msm: Add camera dtsi file for msmcobalt qrd skuk board" 2016-11-07 22:29:02 -08:00
Linux Build Service Account
2047ab822d Merge "defconfig: msm: Add support for GCC clocks" 2016-11-07 22:29:01 -08:00
xiaonian
7a99b2fb7e ARM: dts: msm: Add storage node for QRD interposer msmcobalt
Add UFS and sdhc2 node for QRD interposer msmcobalt. Config
corresponding GPIO to no pull and change its polarity to
enable SD card detection.

CRs-Fixed: 1086932
Change-Id: Ibf9ac87dc605266a90f7364b6618297e66902b39
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2016-11-07 22:08:14 -08:00
Zhenhua Huang
32eed90428 ARM: dts: msm: Add QRD interposer dts file for msmcobalt
Add device tree support for msmcobalt interposer platform
using msmfalcon QRD.

CRs-Fixed: 1086541
Change-Id: If17aa7a60832b71a94d75718da07158e1474ef31
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2016-11-08 14:05:24 +08:00
Ashwanth Goli
c5d496664e ARM64: config: Add VPN support
Add native android VPN support for msm_falcon

Change-Id: I2689d42402befd849aff05353196c7c0a4d32d56
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
2016-11-07 20:21:27 -08:00
Subbaraman Narayanamurthy
c15a8e246d ARM: dts: msm: update the ESR pulse width in pmicobalt
As per the hardware documentation, increase the duration
between attempts to measure ESR as the ESR pulse amplitude got
increased. This is to reduce the power consumption.

Change-Id: I65027413ecb22a1e89e37a12f66c5abda6c3ba28
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-07 14:32:10 -08:00
Subbaraman Narayanamurthy
1ddf07d8e2 qpnp-fg-gen3: update empty voltage threshold and empty SOC irq handling
As per the hardware characterization, update the battery empty
voltage threshold to 2.8V. Since this moves the voltage little
away from cutoff voltage, update the empty SOC interrupt handling
to report SOC as 0. Since we only need the rising edge of empty
SOC interrupt, modify the interrupt flag as well.

Change-Id: I665a6f879af4e6b6e9f94b5464be7894d5ea67cb
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-07 14:32:09 -08:00
Osvaldo Banuelos
120ff46702 ARM: dts: msm: Enable VDD_APC CPR aging for msmcobalt v2
Enable VDD_APC CPR aging for msmcobalt v2 and define a CPR
closed-loop and open-loop voltage margin reduction of 15 mV
for CPR local rev 3 parts and greater to account for this
feature being enabled.

CRs-Fixed: 1081084
Change-Id: I50a3ca4e09c6cd6edeb5c15478989e19926c6576
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-11-07 07:53:16 -08:00
Osvaldo Banuelos
da0db5ee22 ARM: dts: msm: update VDD_APC CPR settings for msmcobalt
Update the default CPR min/max step quotient,
count repeat, consecutive down, and aging RO scaling
factor values for VDD_APC0 and VDD_APC1 to match the latest
hardware guidelines.

CRs-Fixed: 1080409
Change-Id: Ibb35a3f475725af96276389f78abb790ea5b5b81
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-11-07 07:49:10 -08:00
Manoj Prabhu B
43cd01495d ARM: dts: msm: Enable memory allocation for diag on falcon
The new diag client requires additional memory from hlos.
This patch caters to diag memory requirement

CRs-Fixed: 1079523
Change-Id: Ie96470b93d879d2c175f18aef25f3e256cd0a322
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-11-07 19:50:20 +05:30