Commit graph

580472 commits

Author SHA1 Message Date
Avaneesh Kumar Dwivedi
1904958951 soc: qcom: Increase length of crash reason smem buffer
Presently we read a length of 80 character to dump subsystem
crash reason in case of err fatal on subsystem. Making it 130
character to dump additional info provided by subsystem.

CRs-Fixed: 1083000
Change-Id: Icaf4c27862984148c7125332ef7531b2a61f4ea2
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2016-12-28 23:22:20 -08:00
Manoj Prabhu B
e145621a4a diag: Fix error response during SSR
This patch addresses the scheduling conflicts of
control channel removal work by listening
to peripheral events.

CRs-Fixed: 1081265
Change-Id: Ib9f2448e564c4800535bd80d13c9bda5cc283c3c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-29 12:51:16 +05:30
Deepak Katragadda
87c6bb6b8b clk: qcom: clk-rcg2: Configure the RCGs to a safe frequency as needed
In certain cases, an RCG might be prone to being enabled even
though the overlying software thinks that it disabled the RCG.
In order to avoid letting the RCG go into an invalid state, support
parking it at a safe frequency during clk_disable() and deferring
all the RCG configuration updates to be done during clk_enable(),
if a scaling request comes in whilst the clock is disabled.

Change-Id: I55f1d1d346182a2b480127c57d6659fc9a63331b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-12-28 22:56:12 -08:00
Rohit Kulkarni
2eb05c86d3 uapi/media: add buffer size calculation for P010 ubwc
Add support for P010 ubwc format in media buffer size
calculation API.

Change-Id: I3e99bb37ff3353b77dc1aa892ca017a7af28ec00
Signed-off-by: Rohit Kulkarni <rkulkarn@codeaurora.org>
2016-12-28 13:11:17 -08:00
Neeraj Upadhyay
33eba0ae11 msm: Rename msmtriton/apqtriton to sdm630/sda630
Update the code name from msmtriton/apqtriton to sdm630/sda630.
As part of this, update the filename containing "triton" and
files content containing "triton".

Change-Id: Ia558be75041e41e83d304d5fb4091c2a098e87c0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-28 21:56:22 +05:30
Neeraj Upadhyay
da23c02138 msm: Rename msmfalcon/apqfalcon to sdm660/sda660
Update the code name from msmfalcon/apqfalcon to sdm660/sda660.
As part of this, update the filename containing "falcon" and
files content containing "falcon".

Change-Id: Iec85862251b9e1b4dcc8bdce8b214ce87c0049bc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-28 21:56:21 +05:30
Hamad Kadmany
c81d1f330a wil6210: Protect against false interrupt during reset sequence
During reset sequence it is seen that device is generating an
interrupt eventhough interrupts are masked at device level.

Add workaround to disable the interrupts from host side during
reset and clear any pending interrupts before re-enabling
the interrupt.

CRs-Fixed: 1105834
Change-Id: Iea5b8a047908ed722a03c7838cd373718828bcc4
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-28 10:24:25 +02:00
Amir Samuelov
94b379f485 spss_utils: add support to read debug regs
Allow to read debug regs set by SPSS kernel or SPSS app.
This is a very basic and minimal debug info.

Change-Id: Id27886390caab5ff308a8423f3e65eb93fd1175d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-12-28 00:14:28 -08:00
Linux Build Service Account
aa36bb38fc Promotion of kernel.lnx.4.4-161227.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1104858   I482bbf480d4129cdc6a1dfe08f37a1ec56c3131e   clk: qcom: Add FORCE_ENABLE_RCGR & CLK_ENABLE_HAND_OFF f
1104679   I53ac153ba9f7ae81bb0657b17e0e798fd3fe4f48   power_supply: Add SOC_REPORTING_READY property
1104679   I415e322e99bacd61c4e9ac921643d87d3eec4b3e   power: qpnp-fg-gen3: add SOC_REPORTING_READY property
1068294   I779074d0aba35827e1a8264385149967cb9973f3   regulator: cpr4-mmss: Add mmss CPR platform specific dri
1105323   I073ab59cc4ef1b71545a9e77b76d94f09d659aac   msm_11ad: Add option to enable SMMU fastmap
1102641   I39a1266f4158e71238f374b6cba49e1a8c2b1a3b   leds: qpnp-wled: Update WLED config
1104760   I2f9b4e9d45f95066ec93bb5fab179a14bc2c62ee   power: reset: Store KASLR offset in IMEM
986540   I711354941b4168f3f6ffe2d29185597bdad4da89   spi: spi_qsd: Fix the register peek/poke debug feature
1102726   I806456737485dfcbca8a71d59db0927bbd843708   clk: qcom: add MDSS PLL support for msmfalcon
1093863   I47cfe2cd7d93ba5db57365cf250c600dac22bab1   i2c-msm-v2:Synchronise runtime PM callback operations
1102841   I2661a639c19dd451f22c9a29d7d75d9b3fb98114   msm: mdss: Initialize mdss v3 pp driver ops for msmfalco
1101084   I334fd782a2c5d604cafb94f44832d9c700891ba2   msm: thermal: Update error handling of device offline
1105169   Ib089e7ddd38d0d15285ed65c8a29039451cfc3c5   ARM: dts: msm: Add initial support for msm8998 QRD SKUK
1104865   Ib1291524c53c4ec757a494a1e08cb0925720e1a6   msm: rtb: record counter timestamp for every log record
1081961   I5680dc5333c9664e1316c29a91e29231f15eb4f1   defconfig: msm: Add support for CPU OSM clock
1094763   Ifd41990058f8bbce8ba488770ffbfcd9b6067ad6   ASoC: msm: add support for WCD interrupt config via LPI
1103739   Ie5474c42ccdd88df4c101b2113ca8d924eddf037   usb: phy: qusb2: Switch to SE clk from diff clk upon sus
1068294   I2111fe55c9335d57ac91f18f4a4fb3689d80660d   defconfig: Compile GFX LDO regulator driver for msmfalco
1046799   I47db9f66c95846dbff882f631b915655c33c3d55   spi: spi_qsd: Don't restrict first transfer in FIFO mode
1104607   Ie85f7ede2d91767d0d5d20c90a481e6365ad7189   ARM: dts: msm: Add thermal mitigation properties to msmt
1104981   I476397d88e0f9d2b32ae375afc6f15eca4b9ec95   ARM: dts: msm: Add initial support for msm8998 QRD SKUK
1098662   I214bb19385f855af61da628fdf1cf7efc5dd08d6   msm: mdss: dp: fix calculation of link rate
1102900   Ide652165711eec23644d36837f3847d896293709   msm: mdss: Add mdss capabilities for msmfalcon
1104876   I9a707d953a85c16c9c5be82fd36960b49da36e3c   smcinvoke: support listener service request
1104976   Ic8c9657752271026d796ecd6c3b9f9f46f831f37   ARM: dts: msm: update icnss device node for msm8998-inte
1052835   I7f1419c8f7fd7c371767f6921afe0cd8cfaad18f   msm: camera: Change %p into %pK
1081961   I0aca021e51ef9ae59dedce855430a63937eb98c6   ARM: dts: msm: Add support for CPU clocks for msmfalcon
1076516   I290ec786bbe5c45873265ea74290eefcd3d16cb1   msm: mdss: dp: add support for PHY compliance tests
1100632   Iab69062336966e61683117a17974f46cd8f513aa   ARM: dts: msm: Allocate memory for diag client for msmfa
1103405   Iaaa69a56f13db9304640f115863bb882c72551a8   ARM: dts: msm: Update VA range for venus_ns and modify c
1083444   Ie2702223379b9c77ce4fe30376d446c63223dbc8   diag: dci: Fix possible dangling reference
1102776   I77f8e6de6f1b5c447a3516380c51db9c7129d2f3   spcom: abort any read() operation on SSR
1094456   Ib5247f6bceb1f555c03103f061af089755b2de62   clk: introduce CLK_ENABLE_HAND_OFF flag
1094763   Ib17d8bbd5894be5fbf3fa0cafdbec958abc42649   ARM: dts: msm: Enable audio internal codec nodes for msm
1103891   Iec6247a69c3258660eae398d6e3fe8215e3f254a   ARM: dts: msm: Add TP device node into msm8998 interpose
1104880 868394   I885ae66be2d8cca17bcc0b87b7635a71c734e4b2   usb/xhci: Add support for EHSET tests for host complianc
1094456   I7d527571c2eb4d53d58d82126989bd673de12e2d   clk: move check for CLK_ENABLE_HAND_OFF at unused tree
1093271   I472449c52bff40d48f7d65b05e145cc47cba9357   msm: crypto: fix AEAD issues for HW crypto driver on msm
1105038   I45d13b40fab9bf6686277c0c26a07668410cdfb2   usb: gadget: u_data_ipa: Fix condition check for IPA pip
1081961   I389cc9e93a26a434be752cf74444d6c0985ff36d   clk: qcom: Support CPU clock for OSM for common clock fr
1104001   Ib4cc69afb32a7654bbdd98f2efff901729c4d3da   clk: qcom: Add voltage voting for MSM8996 GCC driver
1104876   Ifeed957b99d2becd986629f60e145d6fdb717244   qseecom: support listener request for smcinvoke
1105100   Ic64d89b960c5effada93118d67a30cc051640be2   ARM: dts: msm: set rcu_expedited for msmfalcon and msmtr
1104853   If624bf14e8588e50fa6a97d29b528d7d02ef64dc   ARM: dts: msm: disable soft hot JEITA for 8998 QRD SKUK
1099484   I58c30a50c7834e7897daa2849b9885b3e797cf07   ARM: dts: msm: enable vdd and vdd-io for sdhc_2 on msm89
1099101   I41ab0baf1bbe6ccda6b8da2ecd077bea2a388e56   ASoC: msm: Check prepare state to avoid duplicate channe
1104977   I575aecb616a56974ec2680e5888190adb40c969a   ARM: dts: msm: set wled string/full scale current for QR
1092969   I6e315eec256f01c143ffc8b463279f2b30e64610   input: qpnp-power-on: Set ship mode in system_pwr_off
1104886   Ic44359e224e0f9070238748bd9b16eed35974ba6   ARM: dts: msm: add support of PM3FALCON based MSMFALCON
1097878   I3f895deaae3acf329088cf8135859cc41e781763   drivers: soc: qcom: Add error handling in function avtim
1104880   I88f2748f0c8cf96fe7f6ab9ebaa82d51ec97f4fd   defconfig: msmcortex: Enable EHSET Test Fixture device d
1104760   I456c62764c88149b785ecf1d65691ea5a775c1db   ARM: dts: msm: Add kaslr offset IMEM entry for msm8998
1104607   I780f9187256596d6f5d93b3847dc98a3c410a51e   ARM: dts: msm: Configure lmh hardware for msmtriton
1104928   I6aad9916c92d2f775632406374dbb803063148de   input: misc: fix heap overflow issue in hbtp_input.c
1101260   I6d59c7804d0dac5087e9b0e6c4a0cdacb5ddf3db   ARM: dts: msm: Add support for new flash mode on msm8998
1100528   I1fd7b7e7324b79544608a9d9ce73aa53608d1f3e   RM: dts: Update SD card Detect GPIO for msmfalcon
1104880   I638ca552f6dae735147378f3e6f6068e0003094b   usb: xhci: Add support for SINGLE_STEP_SET_FEATURE test
1103468   I547d792b38649aa1d60525b0dc335791b37989fd   msm: kgsl: Do a midframe sampling of power stats if enab
1104607   Id65a720d20fb34b9b5dccf8626af00a1d0519ce3   ARM: dts: msm: Add thermal sensor info for msmtriton
1100213   I29572841624c1cb96d85e2dcfe620b455867d41e   ARM: dts: msm: add devfreq nodes to msmfalcon target
1100018   I8e7c4be090107618cd6cbac394a57f109f8a1ced   usb: gadget: f_qc_rndis: Fix double-free in qcrndis_free
1084177   I2bbe7be3daedef45a5990c23168df5185e72e82f   msm: sensor: correcting return value for get actuator in
1102137   I2fce80cec72e3bd8b1561fd46fa1a1520cddd294   msm: mdss: dp: fix handling of link training mutex
1102584   Idd40a0b471293048833b34dda3ac5044a87fc3c9   ASoC: wcd934x: Fix headset TX mode setting
1103939   I03e4a8e10452ef53d8e35e7cee44bdf51f53483b   ARM: dts: msm: Add support for home hard key at QRD8998H
1098041   I8cc22af138a343cd387f4400cff487faa66b3da0   ASoC: wcd934x: Update class-H parameters based on headph
1095411   Ie639a26543e2f20b61d6dfc73b3bcbd6a43b24be   msm: mdss: Move PP programming after mdp wait for ping p
1093271   I406a41ac961757d31209ae0a0a4b4d9cc4d31a1e   defconfig: msm: disable CRYPTO_DEC_QCE device on msm8998
1104183   I58e19def0042022046e730dd97008a9e1c25b6d6   icnss: Add EXEC permission when assigning the MSA0 back
1104001   Ie596ddee60aac3e6fc996f9a3e8dc988b0f4aa88   clk: qcom: Add smd-rpm voter & voter branch clocks for M
1102726   I49efddea0228e3129d36eabc102d6df0fcd53d12   ARM: dts: msm: add mdss node for msmfalcon target
1099101   I1e76eb2e1c575b433e3899ae2471719bf68ab1c1   ASoC: msm: decrement slim channel ref to set the propert
1105246   I4de26881620dde4230d0a907bd0fd39bebe2bb3d   wil6210: missing reinit_completion in wmi_call

Change-Id: I0c6d90c668b09a08de714b3bcd03e1e513f1853a
CRs-Fixed: 1102584, 986540, 1104976, 1076516, 1104977, 1100018, 1102841, 1105100, 1104880, 1102900, 1081961, 1103939, 1104865, 1104679, 1105169, 1084177, 1105038, 1102641, 1099484, 1046799, 1052835, 1102137, 1098662, 1104853, 1098041, 1095411, 1083444, 1100632, 1104981, 1104858, 1100213, 1104607, 1093271, 1104928, 1102726, 1104876, 1093863, 1099101, 1103891, 1092969, 868394, 1094763, 1105246, 1103739, 1105323, 1094456, 1104760, 1101260, 1100528, 1097878, 1104886, 1104001, 1103468, 1102776, 1068294, 1101084, 1104183, 1103405
2016-12-27 21:28:56 -07:00
Prabhanjan Kandula
aeb892b900 msm: mdss: fix cwb output buffer memory leak
Currently, cwb buffers are allocated and mapped during
commit but not unmapped, leaving the kernel refcounts
intact which would eventually cause memory issues. Fix it
by adding the buffer to a cleanup queue after mapping and
unmap/free the buffer in the work queue after cwb intr done.

Change-Id: I2bb41a4fadc58ecedb1fafacf6821ce6376b1b4d
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
2016-12-27 15:13:43 -08:00
Krishnankutty Kolathappilly
3bfff20e7f msm: camera: cpp: Add validation for v4l2 ioctl arguments
Print the command instead of the printing ioctl ptr to avoid
information disclosure

CRs-Fixed: 1105663
Change-Id: I862a0a502c60519a864cfe12aacf7840ae094c1c
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-12-27 12:06:29 -08:00
Gaurav Kohli
b1713f5e9a soc: qcom: flush persistent kmaps and fixmap mappings for subsystem mdt
On 32 bit architecture xpu violations are happening because of mappings
in PK map regions. Flush the PKMAP and fixmap mappings to make sure that
there are no duplicate mappings for any pil mdt region. On 64 bit
architecture these functions are empty.

Change-Id: Ie69fcf9044a89328e91ff8969044835f2a487a10
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-12-27 02:49:00 -08:00
Gidon Studinski
d87908003d msm: ipa3: Suspend Q6 pipes again during SSR POST_SHUTDOWN
Suspend is set on Q6 pipes in PRE_SHUTDOWN phase of SSR. It was seen that
sometimes the suspend is being removed and is no longer present during the
POST_SHUTDOWN phase. Therefore, set suspend in POST_SHUTDOWN phase again.

Change-Id: Iebbef315a838b40eec939f368e63c4329723d906
CRs-Fixed: 1094908
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
2016-12-27 11:53:50 +02:00
Manoj Prabhu B
496e73b5a1 memshare: Listen to SUBSYS_BEFORE_POWERUP to collect ramdump
Currently the XPU lock on memory allocated for memshare clients may not be
unlocked by MBA during SUBSYS_RAMDUMP_NOTIFICATION event and can result in
XPU violation while collecting ramdump.
This patch collects the ramdump on listening to SUBSYS_BEFORE_POWERUP
event.

CRs-Fixed: 1099029
Change-Id: I51732d5adc60ad106a44ba554818c18947e2e803
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-27 09:19:28 +05:30
Manoj Prabhu B
db1306a708 diag: Add sysfs parameter to control diag mask clear
This patch adds syfs parameter which controls clearing
of the peripheral masks upon USB disconnect and stopping
ODL.
This patch takes proper care for handling buffers
while clearing masks.

CRs-Fixed: 1081142
Change-Id: Ibe070661618258513d683bfec13ff10f23bee5d6
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-26 19:16:16 -08:00
Linux Build Service Account
55e8426a19 Merge "msm_11ad: Add option to enable SMMU fastmap" 2016-12-26 18:24:19 -08:00
Linux Build Service Account
0e5d9545a0 Merge "ARM: dts: msm: set wled string/full scale current for QRD8998 SKUK" 2016-12-26 18:24:18 -08:00
Linux Build Service Account
4163e93ce5 Merge "wil6210: missing reinit_completion in wmi_call" 2016-12-26 18:24:18 -08:00
Linux Build Service Account
a142d07205 Merge "spi: spi_qsd: Fix the register peek/poke debug feature" 2016-12-26 18:24:17 -08:00
Linux Build Service Account
a5febdab47 Merge "ARM: dts: msm: enable vdd and vdd-io for sdhc_2 on msm8998 interposer" 2016-12-26 18:24:16 -08:00
Linux Build Service Account
1075dc72d7 Merge "ARM: dts: msm: Enable audio internal codec nodes for msmfalcon" 2016-12-26 08:58:27 -08:00
Linux Build Service Account
f66cd22d6d Merge "ARM: dts: msm: Add support for CPU clocks for msmfalcon" 2016-12-26 08:58:26 -08:00
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