Commit graph

44625 commits

Author SHA1 Message Date
Taniya Das
28fc7928ba ARM: dts: msm: Support only dummy clocks for falcon/triton rumi
As RUMI platform does not require real clocks, add back dummy clocks for
this platform.

Change-Id: I774ffb1e55971ec8097994d1cfe664db5902a8ce
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-11-13 21:20:55 -08:00
Linux Build Service Account
24d0c1f91e Merge "msm: mdss: dp: handle fast attention events" 2016-11-13 13:51:09 -08:00
Rajesh Kemisetti
a852ef6625 ARM: dts: msm: Change GPU clock plan for msmcobalt interposer
Change GPU clock plan based on requirements for msmcobalt
interposer platform versions.

Change-Id: I817859817eeb76c565d1604fcb1cc11b0df2dd30
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2016-11-14 01:09:26 +05:30
Linux Build Service Account
ce1a7c8d7d Merge "ARM: dts: msm: Add battery profile for FG in QRD interposer msmcobalt" 2016-11-13 04:22:15 -08:00
Linux Build Service Account
b22eba07a1 Merge "ARM: dts: msm: update VDD_GFX CPR settings for msmcobalt v2" 2016-11-12 21:39:15 -08:00
Linux Build Service Account
ace335774a Merge "defconfig: enable QCOM_IRQ_HELPER for 32bit msmcobalt and msmfalcon" 2016-11-12 05:13:47 -08:00
Tony Truong
d0430dc0f2 Revert "ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt"
This reverts commit c93b93ee87 ("ARM: dts: msm: disable L1 and
L1ss for PCIe on msmcobalt").

Re-enable a necessary power saving feature for PCIe and its
client.

Change-Id: I231f518b701a988ab4a4f475e7e3c6f17d58187b
Signed-off-by: Tony Truong <truong@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-11-11 23:38:39 +02:00
Subbaraman Narayanamurthy
05939b3db2 leds: qpnp-flash-v2: modify regulator control for switch devices
Currently multiple regulator devices can be specified for LED
switch device though a switch device may just require one supply.
Also, before the switch device is enabled, voltage request is
sent to set the maximum voltage. This is not needed with the
regulators like BoB being used as supply for the switch device.
Just enabling the regulator is enough during switch operation.
Modify the way the regulator is obtained and controlled for
switch operation.

Since BoB regulator is configured by the bootloader properly
for flash operation, remove them from the supply list of LED
switch devices on pmicobalt and pm2falcon.

While at it, fix the way device tree properties are read from
flash/torch, switch devices.

CRs-Fixed: 1083246
Change-Id: I8eb5f305f89bc18ad4b735bd89cbf259f0e1ea11
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-11 11:59:15 -08:00
Dilip Kota
39c04f12d9 ARM: dts: msm: Add slimbus instance entries for msmfalcon
Add Audio and QCA slimbus instance entries.
Entries are disabled by default. Need to enable
along with slave instances.

Change-Id: I372e9e38a567e0cf83a226f29510fdf570decd43
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2016-11-11 17:54:12 +05:30
Manoj Prabhu B
0e1d1f5c94 ARM: dts: msm: Enable memory allocation for diag on triton
The new diag client requires additional memory from hlos.
This patch caters to diag memory requirement.

CRs-Fixed: 1079523
Change-Id: Ief14bb96bfdc1998b7b9423755daae8d93964672
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-11-11 14:26:22 +05:30
Linux Build Service Account
a80049346b Merge "regulator: qpnp-labibb: add support to configure PFM for LAB regulator" 2016-11-10 22:49:43 -08:00
Linux Build Service Account
25d7561a4a Merge "ARM: dts: msm: Add IMEM pil entry for msmtriton" 2016-11-10 22:49:42 -08:00
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
Xiaogang Cui
9a549afd73 ARM: dts: msm: correct subtype of MSMCOBALT V2 QRD SKUK device
Correct subtype of msmcobalt V2 QRD SKUK board.

Change-Id: I3510952832f958b3b9d9d0a3e7237df34328ec30
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
2016-11-10 22:41:24 -08:00
Fenglin Wu
e146a32840 leds: qpnp-wled: Add support to configure VREF_CONTROL for pmicobalt
WLED module in pmicobalt has different VREF_CONTROL settings with current
WLED module which is existing in pmi8994/pmi8952, including min voltage,
max voltage, step size and default voltage. Add support for it.

CRs-Fixed: 1081738
Change-Id: Ibaa555cec8cfd296125af3e6277df5331f5c438b
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-11-11 14:19:05 +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
Naseer Ahmed
6b9dca0d13 ARM: dts: msm: Add physical dimensions for NT35597 panel
The physical dimensions are used to determine the DPI in the
framework. If these dimensions are not provided, the framework
assumes a default DPI value which may not be suitable for the
current panel and lead to some apps drawing incorrectly.

Change-Id: Ib14c5b9121190dded5071ff60ecf0be8e5e5c232
CRs-Fixed: 1079438
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2016-11-10 10:58:22 -05:00
Sarada Prasanna Garnayak
67383dc424 defconfig: enable QCOM_IRQ_HELPER for 32bit msmcobalt and msmfalcon
Fix the wlan host driver compilation error for the msmcobalt and msmfalcon
32 bit target. Enable QCOM_IRQ_HELPER config flag to expose IRQ balancer
APIs for msmcobalt and msmfalcon 32bit target.

CRs-Fixed: 1088388
Change-Id: Ieb72bd3779c3b9a372b469f3f7f571fc22294099
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-11-10 07:37:51 -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
cyizhao
73ab722dc6 ARM: dts: msm: Add battery profile for FG in QRD interposer msmcobalt
Add battery profile for QRD interposer msmcobalt to
make sure FG could load it and work as expected.

CRs-Fixed: 1086571
Change-Id: I6ca20cbd29b9a7bd45a78321ea0f65b74450e8c1
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-11-10 19:56:44 +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
d46e24b1fb ARM: dts: msm: Add IMEM pil entry for msmtriton
Add IMEM PIL entry to save relocatable address of images
loaded by PIL.

Change-Id: Ie09c8ae431cc7da4c8cd745d9c6d018e6a256158
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-11-10 00:25:33 -08:00
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
08cbd79f44 regulator: qpnp-labibb: add support to configure PFM for LAB regulator
As per the hardware documentation, PFM needs to be disabled for
LAB regulator during slow start. When the display is turned off,
PFM needs to be disabled with the default current limit. When the
display is turned on, after VREG_OK interrupt fires, PFM needs to
be enabled after overriding the current limit. Add support for
it. Currently this is required only for pmicobalt.

While at it, fix the current limit configuration for LAB
regulator.

CRs-Fixed: 1024407
Change-Id: Icb3781ca31dd8474cfca077c52593dc69d011127
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-11-09 20:03:44 -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
David Keitel
9dd0547cf5 ARM: dts: msm: add new mapping table for memlat
Modify the code-dev mapping table for memlat to
further improve power and performance on msmcobalt v2.

Change-Id: Ida2c99d7fd56b5b277653c42808f08f4f23ed790
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-11-09 12:49:36 -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
Chandan Uddaraju
85700def84 mdss: display-port: add support to configure stream attributes
Update the MISC settings register according the color
depth and format. Update the MVID and NVID registers
using the M and N values used to configuring
the DP pixel clock.

Change-Id: I67e08d3491fbb7c0960c463cc8f979238b89d818
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-11-08 17:00:24 -08:00
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
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