Commit graph

580395 commits

Author SHA1 Message Date
Linux Build Service Account
7c77d8252a Merge "clk: qcom: Add voltage voting for MSM8996 GCC driver" 2016-12-26 08:58:26 -08:00
Linux Build Service Account
3fd107c84e Merge "clk: qcom: Add FORCE_ENABLE_RCGR & CLK_ENABLE_HAND_OFF flag for MSMfalcon" 2016-12-26 08:58:25 -08:00
Linux Build Service Account
0e41111119 Merge "clk: qcom: Add smd-rpm voter & voter branch clocks for MSM8996" 2016-12-26 08:58:24 -08:00
Linux Build Service Account
bb7bd9fe3b Merge "diag: dci: Fix possible dangling reference" 2016-12-26 08:58:23 -08:00
Linux Build Service Account
2300bb89c0 Merge "msm: kgsl: Do a midframe sampling of power stats if enabled" 2016-12-26 08:58:23 -08:00
Linux Build Service Account
c49a0ffd01 Merge "ARM: dts: msm: Add initial support for msm8998 QRD SKUK HDK board" 2016-12-26 08:58:21 -08:00
Linux Build Service Account
5f431a3a02 Merge "spi: spi_qsd: Don't restrict first transfer in FIFO mode" 2016-12-26 08:58:20 -08:00
Linux Build Service Account
fd2339375e Merge "ARM: dts: msm: disable soft hot JEITA for 8998 QRD SKUK and VR1" 2016-12-26 08:58:20 -08:00
Linux Build Service Account
4927e39240 Merge "ARM: dts: msm: update icnss device node for msm8998-interposer" 2016-12-26 08:58:19 -08:00
Linux Build Service Account
b05b377c25 Merge "input: misc: fix heap overflow issue in hbtp_input.c" 2016-12-26 08:58:18 -08:00
Shrey Vijay
f3f9cfbe71 ARM: dts: msm: Update GPIO pins for SPI on msm8998
Update GPIO pins for spi_4 and spi_5 instances on msm8998.

Change-Id: I06bfaa1db1843590e51a07e7aa5018595929700b
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2016-12-26 19:49:21 +05:30
Hamad Kadmany
ea31a92946 msm_11ad: Add option to enable SMMU fastmap
Option added not to bypass SMMU and use
fastmap DMA APIs for 11ad use-cases.

SMMU address range is changed to have the
max possible.

Change-Id: I073ab59cc4ef1b71545a9e77b76d94f09d659aac
CRs-Fixed: 1105323
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-26 14:57:52 +02:00
Girish Mahadevan
118a4b58d1 spi: spi_qsd: Fix the register peek/poke debug feature
The spi_qsd driver allows peeking/poking registers via debugfs.

Currently a static variable is used as the user data to get to the spi
controller data structure. Unfortunately this means that the last device
to probe is always obtained.

Fix this to use a member of the spi controller data structure instead.

Change-Id: I711354941b4168f3f6ffe2d29185597bdad4da89
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-12-26 15:05:03 +05:30
Manoj Prabhu B
f7ae4042cd diag: dci: Fix possible dangling reference
This patch prevents the arise of dangling pointer after
kfree operation on pointer.

CRs-Fixed: 1083444
Change-Id: Ie2702223379b9c77ce4fe30376d446c63223dbc8
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-26 01:18:15 -08:00
cyizhao
cbfc55e3b4 ARM: dts: msm: set wled string/full scale current for QRD8998 SKUK
Specify the number of strings and full scale current in WLED property
according to the hardware design of QRD8998 SKUK.

CRs-Fixed: 1104977
Change-Id: I575aecb616a56974ec2680e5888190adb40c969a
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-26 00:50:08 -08:00
cyizhao
78923e0bee ARM: dts: msm: disable soft hot JEITA for 8998 QRD SKUK and VR1
QRD SKUK and VR1 has fixed battery design and the batteries have defect
of the NTC design which is very easy to hit soft hot threshold when
charging at 1C while the battery cell is actually stay much cooler.
Disable soft hot jeita threshold according to the battery vendor's and
hardware team's suggestion to make sure the battery could sustain at 1C
charging current longer.

CRs-Fixed: 1104853
Change-Id: If624bf14e8588e50fa6a97d29b528d7d02ef64dc
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-26 00:49:44 -08:00
Hamad Kadmany
221fbb9e16 wil6210: missing reinit_completion in wmi_call
The code in wmi_call uses the wil->wmi_call completion
structure to wait for a reply.
In some scenarios, complete was called twice on the
completion structure. This happened mainly with a disconnect
event which can arrive both unsolicited and as a reply to
a disconnect request. In this case the completion structure
was left marked as "done" and the next wmi_call returned
immediately with a corrupted reply buffer. This caused
unexpected results including crashes.
Fix this by adding the missing call to reinit_completion.

CRs-Fixed: 1105246
Change-Id: I4de26881620dde4230d0a907bd0fd39bebe2bb3d
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-26 10:33:29 +02:00
Taniya Das
da422925cd ARM: dts: msm: Add support for CPU clocks for msmfalcon
OSM cpu clock node is required by cpufreq client to be able to scale cpu
frequency. Add tables of various speed bins supported and keep the status
of the clock node disabled for now.

Change-Id: I0aca021e51ef9ae59dedce855430a63937eb98c6
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-26 13:58:38 +05:30
Liangliang Lu
ace411555c ARM: dts: msm: enable vdd and vdd-io for sdhc_2 on msm8998 interposer
This change enables vdd and vdd-io power supply for sdhc2
in msm8998 v2.1 interposer msmfalcon QRD dts file.

CRs-Fixed: 1099484
Change-Id: I58c30a50c7834e7897daa2849b9885b3e797cf07
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2016-12-26 15:46:10 +08:00
Linux Build Service Account
16fb7d4abc Merge "usb: gadget: u_data_ipa: Fix condition check for IPA pipes updation" 2016-12-25 23:37:26 -08:00
Amit Nischal
ac038b44a9 clk: qcom: Add FORCE_ENABLE_RCGR & CLK_ENABLE_HAND_OFF flag for MSMfalcon
Some clocks are critical for system booting and should
not be gated until a driver that knows best claims
those clocks. Add CLK_ENABLE_HAND_OFF flag for system
critical clocks.
Also add FORCE_ENABLE_RCGR flag to force enable/disable
RCG and fix camss_jpeg0 voter clock.

Change-Id: I482bbf480d4129cdc6a1dfe08f37a1ec56c3131e
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-12-26 12:36:28 +05:30
Andrey Markovytch
ebd74eee2d ice: fix security issue with validating error in pointer
get_ice_device_from_storage_type can return error pointer which is
not NULL in case of error, this was not checked, changes fixes this.

Change-Id: I7dd8a068454a7bd250189ff9467c685af449f81b
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-12-25 23:06:12 -08:00
Laxminath Kasam
88abb7ca68 ARM: dts: msm: Enable audio internal codec nodes for msmfalcon
Enable internal codec audio nodes and disable external
codec nodes in internal codec platform.

CRs-Fixed: 1094763
Change-Id: Ib17d8bbd5894be5fbf3fa0cafdbec958abc42649
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-26 12:32:07 +05:30
Amit Nischal
999531d98e clk: qcom: Add smd-rpm voter & voter branch clocks for MSM8996
MSM8996 requires the voter & voter branch clocks to be
available for clients to be able to enable/disable and
set rate on these clocks.
Also add support for keeping active set vote on mmssnoc
and pnoc voter clocks.

Change-Id: Ie596ddee60aac3e6fc996f9a3e8dc988b0f4aa88
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-12-26 11:48:49 +05:30
Srikanth Uyyala
2ef4b778cd Revert "msm: camera: isp: Update burst length for msmfalcon"
Burst length is only a 2 bit register, which can take max value
of 3 which corresponds to burst length of 16
commit ec486b025d ("msm: camera: isp: Update burst length for msmfalcon")

Change-Id: I37d5ef9d9ecb510a8af04db986dd341fbadaba04
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2016-12-26 11:25:38 +05:30
Odelu Kukatla
83f20c0612 clk: qcom: Add voltage voting for MSM8996 GCC driver
Global Clock Controller(GCC) needs to vote for volatge level on
rail for the clock frequencies, so add voltage voting in GCC.
Also clean up clock flags and parent info for few clocks.

Change-Id: Ib4cc69afb32a7654bbdd98f2efff901729c4d3da
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2016-12-25 21:26:12 -08:00
Xiaogang Cui
b90c988fe9 ARM: dts: msm: Add initial support for msm8998 QRD SKUK HDK board
Add initial device trees for msm8998 QRD SKUK HDK board.

Change-Id: Ib089e7ddd38d0d15285ed65c8a29039451cfc3c5
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
2016-12-26 11:13:01 +08:00
Linux Build Service Account
7aada1c608 Merge "ARM: dts: msm: set rcu_expedited for msmfalcon and msmtriton" 2016-12-23 22:42:20 -08:00
Linux Build Service Account
d106da41c7 Merge "defconfig: Compile GFX LDO regulator driver for msmfalcon" 2016-12-23 13:24:47 -08:00
Linux Build Service Account
1514e371fe Merge "ARM: dts: msm: add support of PM3FALCON based MSMFALCON platform" 2016-12-23 13:24:47 -08:00
Linux Build Service Account
5d267dee14 Merge "RM: dts: Update SD card Detect GPIO for msmfalcon" 2016-12-23 13:24:43 -08:00
Linux Build Service Account
d725b7575a Merge "msm: mdss: Add mdss capabilities for msmfalcon" 2016-12-23 03:55:35 -08:00
Linux Build Service Account
7ff8d27f66 Merge "smcinvoke: support listener service request" 2016-12-23 03:55:33 -08:00
Linux Build Service Account
9a312e1092 Merge "qseecom: support listener request for smcinvoke" 2016-12-23 03:55:32 -08:00
Linux Build Service Account
2d1fb8b803 Merge "ARM: dts: msm: add mdss node for msmfalcon target" 2016-12-23 03:55:31 -08:00
Linux Build Service Account
e56b44fc6b Merge "ARM: dts: msm: Configure lmh hardware for msmtriton" 2016-12-23 03:55:29 -08:00
Linux Build Service Account
437017aa07 Merge "ARM: dts: msm: Add thermal sensor info for msmtriton" 2016-12-23 03:55:28 -08:00
Linux Build Service Account
8a97b8e1e0 Merge "usb: gadget: f_qc_rndis: Fix double-free in qcrndis_free_inst" 2016-12-23 03:55:27 -08:00
Linux Build Service Account
711ba9b4ec Merge "msm: rtb: record counter timestamp for every log record" 2016-12-23 03:55:26 -08:00
Linux Build Service Account
e82d67f799 Merge "usb: xhci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET" 2016-12-23 03:55:24 -08:00
Linux Build Service Account
753d9edb8a Merge "ASoC: wcd934x: Fix headset TX mode setting" 2016-12-23 03:55:22 -08:00
Linux Build Service Account
845d4badfd Merge "ASoC: wcd934x: Update class-H parameters based on headphone impedance" 2016-12-23 03:55:21 -08:00
Linux Build Service Account
25894fce14 Merge "ASoC: msm: decrement slim channel ref to set the property" 2016-12-23 03:55:20 -08:00
Linux Build Service Account
27e721b825 Merge "drivers: soc: qcom: Add error handling in function avtimer_ioctl" 2016-12-23 03:55:19 -08:00
Linux Build Service Account
b9a9185967 Merge "ARM: dts: msm: add devfreq nodes to msmfalcon target" 2016-12-23 03:55:13 -08:00
Linux Build Service Account
88a6ed6813 Merge "ARM: dts: msm: Add support for home hard key at QRD8998HB" 2016-12-23 03:55:12 -08:00
Linux Build Service Account
c38b5ff378 Merge "i2c-msm-v2:Synchronise runtime PM callback operations" 2016-12-23 03:55:12 -08:00
Linux Build Service Account
9721c27659 Merge "leds: qpnp-wled: Update WLED config" 2016-12-23 03:55:11 -08:00
Linux Build Service Account
a82ea635b1 Merge "defconfig: msm: Add support for CPU OSM clock" 2016-12-23 03:55:09 -08:00
Linux Build Service Account
81bd5027ae Merge "icnss: Add EXEC permission when assigning the MSA0 back to host" 2016-12-23 03:55:08 -08:00