Add device tree support for msmcobalt interposer platform
using msmfalcon CDP/MTP.
Change-Id: Ie9eef135cdefc8d2a55f038cf9de5fc7f3656f64
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
This is a snapshot from msm-3.18 upto the
commit 262b8c5814ec ("edac: cortex_arm64_edac:
modify sbe detection to use perf events") for the
arm64 cache cpu erp bindings.
Change-Id: I7313a121440bf5a455401cf73bd5ef4d6c1506cb
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Add vdd_class support which would help vote/unvote for any voltage rail
for the clock frequency to the regulator framework. A clock client request
for a clock frequency would look for the corresponding voltage vote and
would be send the request to regulator framework.
Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Only call an SVID handler's disconnect function only if it was
previously connected, i.e. when the state machine had proceeded
received a successful DISCOVER_SVIDs response. This helps to
avoid excessive notification to SVID clients.
While at it, require that .connect and .disconnect callbacks
are supplied during registration. This helps to eliminate NULL
checks each time they are called.
Change-Id: I030153a6b2106a6504ed51b5cb00a27f842e2488
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Add camera dtsi file for msmcobalt qrd skuk board.
Camera dtsi define DT of rear and front camera.
Change-Id: I7529a30af5d3c16a9c40ace5b5bb85e43cc28923
Signed-off-by: penliu <pengfeiliu@codeaurora.org>
Fix errors shown during bootup to ensure robustness and enable a
cleaner bootup process.
Change-Id: Iaee59cf2d668e9a324ecf1e1106f6daecc54d67b
CRs-fixed: 1073250
Signed-off-by: Siena Richard <sienar@codeaurora.org>
Update headphone OCP (Over Current Protection)
connection attempts to 2 to avoid hardware state
machine getting stuck in OCP state even after
reset.
CRs-Fixed: 1083736
Change-Id: I69e37a93418b99a187c7b46cf62524c5fc4901f2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Adds lock to ioctl and other external calls to driver.
Adds missing null check in __usf_set_stream_param.
Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add interface support for secure camera. This change adds the
flag for the secure camera buffer in mdss and sde rotator driver
interface.
CRs-Fixed: 1085143
Change-Id: I3d4c1c7587b367836a151c3c988f58790611acd1
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
The codec DSP needs to be enabled only when there is use case that
utilizes the DSP. This way the codec DSP can be shutdown when it
is not used. Change adds misc device node that the user space can
use to trigger boot and shutdown of DSP.
CRs-Fixed: 1085213
Change-Id: Ie8bb9ed903e46b0914b4ba2630efa864c751c29b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Upon host bus reset driver draws 0mA and switches
to higher value 900/500 mA after moving to configured
state. This causes a glitch in the led and battery icon
status. Hence request to draw 100mA to void the glitch.
Change-Id: Id570e427d40d08e29cad7cb74be426bf218d00ee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Print if the session is secure or not in the vidc
driver fault handler.
CRs-Fixed: 1084723
Change-Id: Iffc4a829613f9aa939b1ed20d360d54bfc541f10
Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
num_descriptors and descriptor_size needs to be
checked for:
1) not being negative values
2) no overflow occurs when these are multiplied
together as done in wil_pmc_read.
An overflow of two signed integers is undefined
behavior.
CRs-Fixed: 1077174
Change-Id: I669dc12a17b3102a7fd7f28e8c78843e3e3f9764
Signed-off-by: Maya Erez <merez@codeaurora.org>
Audio format received from QMI client are not one to one
mapped to pcm format defined by ALSA driver. This causes
format mismatch when QMI client request a format not
defined by ALSA driver. Fix this by creating a mapping
between two formats.
Change-Id: I0f08dd57fa39d385369ef4886d12e8ea77c6ebc0
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Most users expect RGB order instead of RBG.
When userspace gives an ARGB color, the blue and green
channels are swapped.
Adjust pattern to match ARGB instead of ARBG.
CRs-Fixed: 1045472 1084507
Change-Id: I413ded858df41496d26362602abf3eb40c3cc1ed
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
This patch extends protection while closing SMD/socket while
feature mask processing.
CRs-Fixed: 1059771
Change-Id: Icdf27dce5b3eb7cfc4a7686f044195db13a81a58
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Incase V4L2 client sets the perf mode to TURBO, DCVS
is turned off. Now when the client sets the perf mode
back to nominal, venus clock and load is changed but
dcvs parameters are not updated to reflect the driver
current state interms of venus load. Initialize the
dcvs parameters to update itself as per the ongoing
venus load.
Change-Id: I8f35cdd154fbde49c95cdd0e5f7df4b9e4f897a5
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>