If for some reasons like ioctl fuss test or reading dpcd caps failed,
max lane count supported might be zero. In such cases handle link clk
calculation gracefully.
Change-Id: I7cb08abce76025930681f6532c03708793d3acc4
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
Mount QT800S suspend and resume actions to early fb event,
so speed up touch response.
Change-Id: I1ca610131e94af806dab4dfa8709fdd9c0556971
Signed-off-by: Jin Fu <jinf@codeaurora.org>
Update the function return value and input scm_ret variable
type for restore secure configuration in scm_restore_sec_cfg() fn.
Adding scm_ret input variable for scm_get_feat_version() fn.
Change-Id: I5fff488f973b018f898eef616801a4b5e5a900fb
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Config sleep state for wlan bootstrap pin and add fixed regulator
support for wlan_en.
Change-Id: I1fa7ccb98b6667e2f212a658d02a4c2b68da4f89
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Revert this change to avoid TZ dependency in OTA upgrades.
This reverts commit 46756eb931
Change-Id: I2227d1dfa19fa75ea25d42702a9757043b8d63dd
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Synchronize camera_v4l2_open and camera_v4l2_close to avoid use
after free.
Change-Id: I1a203ae0753b265594f616496ab8c57e0521fd9f
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
In SDM636 target CPU frequency corners are updated this
calls for a change in memlat and mincpu node cpufreq to
DDR mapping.
Change-Id: Ief1bf8c3b177b35e6ad178656c736b68401a1845
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
As per the hardware documentation, operating limits of WLED is
from 0.4% to 100%. Cap the lower limit to 0.4% to ensure proper
operation.
Change-Id: I7ee2684ea2186d4fdda5cea9a4d421b429a6d4fd
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
During Modem graceful shutdown, QMI messages from WLAN FW can
still be delivered to host even after icnss receives Modem
shutdown notification from SSR framework. So prevent processing
any such messages from FW after Modem shutdown.
CRs-Fixed: 2095386
Change-Id: Ice21d043393b0f7b97aaccd68e1b28702cc9e393
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
The invalid slave_info is used by msm_sensor_driver_probe.
This causes crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG is
called repeatedly.
CRs-fixed: 2090483
Change-Id: I467c0a19d84658fb33da9677dcb904ebf49e4800
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
No upper-bound validation is performed when reading number of
extended CEA blocks from the untrusted source (EDID). Add a check
to limit the number of CEA extension blocks.
Change-Id: I69f09ed0ad28a4c267cf3e8f7a12efe46f75e244
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
Change IPA firmware loading on MDM devices to use
Linux PIL instead of manual loading.
Loading with PIL is more secure. Firmware needs
to be signed and then authenticated by Trust Zone.
Change-Id: If8bda76795dcd000327c6f6345a9b38474b609fd
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
If glue driver's probe failed, it tries to remove child devices
as part of of_platform_depopulate during cleanup. This results in
calling dwc3 core platform device's remove callback dwc3_remove().
This function is calling phy_set_suspend() for both HSPHY and SSPHY
to suspend them. But it is resulting in crash due to unclocked access.
Remove those calls, which are not required as glue driver will take
care of suspend/resume PHYs.
Change-Id: I3e107c4beb29373d4a1c783bd2be7a128f52317e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Adding a NULL check before disable regulator to make sure
that its not released before
Change-Id: I21ff1649db3e00588f1c320418fca270bc0264bc
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
spcom_device_poll() return POLLERR rather than -EINVAL.
Change-Id: Ifce0fa9c6a0a5136ae1d109543a9345ad77359bf
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
As part of optimization in msa permissions assignment
source and destination vmids are introduced as uninitialized
arrays.
The fix is for initialization of the array as zero initially
so that variables doesnot have the garbage value from the stack.
Change-Id: Ie30d61f3be9ed5a5a2cef2e63348d987e894c22a
CRs-fixed: 2096940
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Update the TUNE2 parameter by adjusting the programmed tune2 value
with the correction value, if mentioned in dtsi to improve rise/fall times.
In case efuse register value is zero after correction, write previous TUNE2
register value as it is instead of writing hardcoded value. And correction
value should be between [-10 5] in order to take into consideration while
updating TUNE2 register with fused value.
Change-Id: Iaf61705bfd0c7b2cb62de8816c912f05876f001c
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Remove cdsp pil node and corresponding carveout region,
also add 1MB buffer at MBA boundary for sdm636.
Change-Id: I6adb0f2ed37559b91d0b607c729e66142f49e86f
Signed-off-by: Jitendra Sharma <shajit@codeaurora.org>
Add socinfo support and CPU IDs for SDM636
and SDA636 SOCs.
Change-Id: If14654c3fb93a52e4db0270e60cb6e6371ef077f
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Add the required device tree files to support all the platforms
with SDM636 and SDA636.
Change-Id: Iff673b1626acb2bb83c0b7706b118e24919c3934
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Add speed-bin 3 support in cpr3 driver and device nodes
for sdm660.
CRs-Fixed: 2099889
Change-Id: Ied0da8ea6f9d787d0021716566080c37881b9558
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Add support for downmix mixer control for multi channel primary and
interactive for a stereo device concurrent use case in which
primary is expected to be downmix accordingly mix matrix coefficientsw.
Change-Id: I8d6e72cdac1eea6cdfbc9922e484abaeb36021db
CRs-Fixed: 2093120
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Clients can register and deregister to BAM based on usecase.
IPC Log pages are created during clients registration to BAM.
Update support to destroy log pages during BAM deregistration.
Change-Id: I1da266c61ebd57d6cfead6fc5b64a05be5620cf4
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
This new driver is meant to be a cross-platform abstraction
layer for utilizing the underlying hypervisor system.
This API can be accessed from both user and kernel sides.
The intended users of this are the multimedia drivers who want
to communicate with the host OS to use the multimedia hardware.
Conflicts:
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
include/uapi/linux/Kbuild
Change-Id: I37743df490d14249a9d378225771367750899eb0
Signed-off-by: Edward Lee <eleekimk@codeaurora.org>
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
Create support for early mounting of system and vendor partitions
in the kernel on msm8996 platforms.
Change-Id: I3caf26d3e2a371ccd63a2823fe3e487461a8dd08
Signed-off-by: Anthony Mah <amah@codeaurora.org>
The TX FIFO write reg and the RX FIFO read reg are controlled
by this processor. Keep track of the state of these two indexes
to reduce the amount of SPI reads.
CRs-Fixed: 2093123
Change-Id: I4ffa0e08bce6dabd57f33a13fef8107211ce3f09
Signed-off-by: Chris Lew <clew@codeaurora.org>