Commit Graph

1163383 Commits

Author SHA1 Message Date
Hrishabh Rajput
87f8ccb7fd defconfig: Add configs for trustedvm on Niobe
Add initial configs for trustedvm for Niobe SoC.

Change-Id: Iac6f1a1402febb87aafeae75041101a320d05e4a
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-03-07 21:18:57 +05:30
qctecmdr
0dc61da87f Merge "dt-bindings: iio: Add ADC channels macros for PM8550B and PM8550VX" 2024-02-26 12:03:36 -08:00
qctecmdr
c7e91d66cc Merge "arm64: defconfig: Enable USB LVS test compliance module for sdmsteppeauto" 2024-02-26 10:15:06 -08:00
qctecmdr
d7e36ec27b Merge "q2spi-msm-geni: Reduce q2spi transfer timeout to 250msecs" 2024-02-26 08:31:11 -08:00
qctecmdr
74fafffd90 Merge "q2spi-msm-geni: Retry mechanism upon shortage of Rx buffers" 2024-02-26 04:41:18 -08:00
Jishnu Prakash
b3bfef32f8 dt-bindings: iio: Add ADC channels macros for PM8550B and PM8550VX
Some targets may have multiple instances of PM8550B and PM8550VX. Add
required ADC channel macros for these extra instances.

Change-Id: I29b407d812b8eafe7c24d0a0f56c63750c914f65
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-02-25 23:00:59 -08:00
Visweswara Tanuku
7cfc2923d2 q2spi-msm-geni: Reduce q2spi transfer timeout to 250msecs
Current q2spi transfer timeout is relaxed(2secs).

During deepsleep UWB ranging tests, UWB android framework
app expects response for certain q2spi transfers under
1 second else ending up in retry and failures.

Reduced the q2spi transfer timeout to 250msecs to
unblock UWB ranging tests during deepsleep.

Change-Id: If410c96adf2db7130ec6f3e0a313292dd6c72747
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-02-25 21:14:18 -08:00
qctecmdr
8d96318c6c Merge "msm: sdhci-msm: Add hibernation support for mmc devices" 2024-02-23 22:55:06 -08:00
qctecmdr
311844e8ce Merge "usb: dwc3: msm: remove redundant perf vote disable call" 2024-02-23 17:31:04 -08:00
qctecmdr
2c2b8f1598 Merge "modules.list.msm.pineapple: Add DISPCC to first stage on volcano" 2024-02-23 17:31:04 -08:00
qctecmdr
8b49a45d07 Merge "defconfig: Enable clock scaling for msmnile_au" 2024-02-23 10:28:42 -08:00
qctecmdr
688fb66d79 Merge "defconfig: Enable VirtIO minidump for autogvm" 2024-02-23 06:49:20 -08:00
qctecmdr
0f94457b00 Merge "blocklist: blocklist cnss2 and kiwi_v2 module for bring-up" 2024-02-23 06:49:19 -08:00
qctecmdr
b38a21617f Merge "clk: qcom: gpucc-pitti: Update gpu_cc_pll0 configurations" 2024-02-23 06:49:18 -08:00
Visweswara Tanuku
a771b6d2d6 q2spi-msm-geni: Retry mechanism upon shortage of Rx buffers
If application does not consume Rx buffers fast enough,
driver will run short of available Rx buffers.

When short of Rx buffers, induce sleep delay to let the
application consume the buffers. After the delay again
check if any free Rx buffers are available for driver usage.

Change-Id: I922708cb52d1f71c6369d8661da421395b7eec33
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-02-23 01:25:52 -08:00
Manish Nagar
3d45311449 usb: dwc3: msm: remove redundant perf vote disable call
During enabling the perf mode for the controller, it checked
the pm qos latency is configured or not.If it is not configure
then it return before calling cpu_latency_qos_add_request .So
during disable perf mode if for that controiller if it is not
configure then putting the check so that it return before the
cpu_latency_qos_remove_request because there is no requiremen
as pm_qos_latency is not configure.

Change-Id: I19fd0db382e3f155d8a32d566c0f040cbfe7c402
Signed-off-by: Manish Nagar <quic_mnagar@quicinc.com>
2024-02-23 00:16:27 -08:00
qctecmdr
f97e8a1f10 Merge "defconfig: msm: enable remote debugger driver" 2024-02-22 21:51:20 -08:00
Fei Yang
da2f856ec5 defconfig: Enable VirtIO minidump for autogvm
Enable Virtio minidump for autogvm.

Change-Id: I7b393b73c0464a37193a1b0eb3af18685620df8b
Signed-off-by: Fei Yang <quic_feiyan@quicinc.com>
2024-02-22 21:38:49 -08:00
Imran Shaik
54a41481d9 clk: qcom: gpucc-pitti: Update gpu_cc_pll0 configurations
Update the gpu_cc_pll0 configurations as per the latest
HW recommendation for PITTI platform. While at it, update
the vdd_data for gpu_cc_gx_gfx3d_clk_src clock.

Change-Id: I246608d35395d8c4ac84f7a99663bf5a25febd8d
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2024-02-23 10:54:37 +05:30
Taniya Das
963648c315 clk: qcom: clk-alpha-pll: Update implementation for Zonda PLL
The Zonda PLL has a 16 bit signed alpha and in the cases where the alpha
value is greater than 0.5, the L value needs to be adjusted accordingly.
Thus update the logic for the same.

Change-Id: Id3163dc53e66cc8dcd5e61d6e997ef24b6cf3534
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2024-02-23 10:54:16 +05:30
Anuj Khera
0c9f299c01 blocklist: blocklist cnss2 and kiwi_v2 module for bring-up
blocklist cnss2 and kiwi_v2 module for bring-up.

Change-Id: Ia75ce4e2e10d7309222f3dfb91fda227da28ee34
Signed-off-by: Anuj Khera <quic_akhera@quicinc.com>
2024-02-22 21:16:50 -08:00
qctecmdr
edf6c89c5e Merge "arm64: defconfig: Enable CAMCC and DISPCC drivers for Volcano" 2024-02-22 18:37:05 -08:00
qctecmdr
d424adf920 Merge "defconfig: Enable VM support for Volcano SoC" 2024-02-22 18:37:05 -08:00
qctecmdr
6d35eaf8c0 Merge "soc: qcom: minidump: Add VirtIO minidump support" 2024-02-22 18:37:03 -08:00
qctecmdr
b685f5eabb Merge "irqchip: mpm: Update the mpm map with thermal interrupt for pitti" 2024-02-22 18:37:02 -08:00
qctecmdr
3feccf7692 Merge "ARM: config: msm: Enable configs for GENI serial drivers for Niobe" 2024-02-22 14:33:22 -08:00
qctecmdr
2b98235000 Merge "q2spi-msm-geni: Clean up q2spi suspend/resume" 2024-02-22 11:40:00 -08:00
qctecmdr
4c68b47eb6 Merge "arm64: defconfig: Enable AW2016 Module for PITTI" 2024-02-22 09:27:11 -08:00
Ajit Pandey
4d54f6682f modules.list.msm.pineapple: Add DISPCC to first stage on volcano
Add DISPCC volcano module to modules list, to enable it to load
during first stage init.

Change-Id: I5f0edadbd99fb92fd1480d0996811cda34f8d76d
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-02-22 07:47:20 -08:00
Ajit Pandey
3f88e632c6 arm64: defconfig: Enable CAMCC and DISPCC drivers for Volcano
Add support for CAMCC and DISPCC clock drivers module on volcano
platform.

Change-Id: I31c97be7b053b532b05cf81019db53bf4a5b5145
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-02-22 07:46:49 -08:00
Anjana Hari
7f649b416c msm: sdhci-msm: Add hibernation support for mmc devices
eMMC is the storage device for hibernation image. As such it needs
to be working when hibernation image is created and written. Also for
loading hibernation image after reboot, eMMC driver needs to be
probed and running.

During reboot,  kernel comes up and does its own eMMC probe and sets
speed for eMMC. A late system call then checks for hibernation image.
If there is a hibernation image, the current kernel will stay only
temporarily.
Once the hibernation image is found and loaded, the temporary kernel
suspends the eMMC device and then gives control to kernel in
hibernation image.
The hibernation image then restores the eMMC device based on the eMMC
driver state saved just before creating hibernation image.
This gives rise to a possible mismatch between the HW state of eMMC
(Specifically the bus speed) when temporary kernel suspends it and the
state driver restores after hibernation restore.
So a synchornization has been done by making the eMMC run in max speed
during:
	1. Just before hibernation image is created (So the driver
	state in hibernation image will be for max speed mode).
	2. After reboot, just before temporary kernel loads image and
	suspends (so the mmc driver in temporary kernel will put the
	eMMC in suspend while HW state is in highest speed mode).
This ensures that the HW state, mmc_resume post the hibernation
expects, will be same as the HW state actually present in the eMMC
at the point of hibernation restore.

This also ensures we save the hibernation image in max performance and
we restore the hibernation image also in max performance.

Also, SD card detection is done through card detection (CD) GPIO.
The IRQ for this cd GPIO should be freed before going to hibernation and
restored in resume path.

Change-Id: I844017537f62df49eade965c308f33ce5451770e
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Signed-off-by: Anjana Hari <quic_ahari@quicinc.com>
Signed-off-by: Jayasri Bhattacharyya <quic_jbhattac@quicinc.com>
2024-02-22 18:55:33 +05:30
Krishna Chaithanya Reddy G
39acd0da7b ARM: config: msm: Enable configs for GENI serial drivers for Niobe
Enable configs for GENI based peripheral protocols such as uart,i2c,
spi,gsi,sps and bam for Niobe.

Change-Id: I345c909110d124d62a00bb317425aaab2a057684
Signed-off-by: Krishna Chaithanya Reddy G <quic_kgangapu@quicinc.com>
2024-02-22 18:48:18 +05:30
qctecmdr
a19d0eae63 Merge "remoteproc: qcom: q6v5: Add mutex lock while registering rproc_recovery_set" 2024-02-22 01:44:34 -08:00
qctecmdr
c8748aad55 Merge "coresight: Fix Memory Leak Issue" 2024-02-22 01:44:33 -08:00
qctecmdr
6aabb8ee84 Merge "soc: qcom: socinfo: Add support for Volcano6 and Volcano6P" 2024-02-22 01:44:32 -08:00
Rajashekar kuruva
1ba4db9f86 arm64: defconfig: Enable USB LVS test compliance module for sdmsteppeauto
The LVS test module is used to verify host link layer compliance, as it
allows for control of specific root hub operations, such as bus power
management.  Enable the module in the kernel configuration, as
it should only be used in debug builds for compliance testing.

Change-Id: I2aed854e42410db58cf4b07ee205223ab946503b
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
2024-02-22 14:23:55 +05:30
Raghavendra Kakarla
7ab3057e29 irqchip: mpm: Update the mpm map with thermal interrupt for pitti
This patch adds the thermal interrupt to the mpm wakeup
capable interrupt map.

Change-Id: I86bcb4a733a5809c2d3b54e67222d912d1307ca7
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2024-02-22 00:47:14 -08:00
Jayasri Bhattacharyya
6d08b6bd3b defconfig: Enable clock scaling for msmnile_au
Enable clock scaling for msmnile_au and add module to .bzl and
modules.list.msm.gen3auto to compile successfully.

Change-Id: I1cac3ead24c084abbac036b00595b43b0e83c366
Signed-off-by: Jayasri Bhattacharyya <quic_jbhattac@quicinc.com>
2024-02-21 22:37:56 -08:00
Kavya Nunna
90d1b9e148 arm64: defconfig: Enable AW2016 Module for PITTI
Enable AW2016 Module for pitti.

Change-Id: I54a3ab882bbf310394beb6bda666408cc654e0cc
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-02-22 11:51:56 +05:30
qctecmdr
c46391a599 Merge "clk: qcom: gcc-pitti: Remove unused gpll1 clock on PITTI" 2024-02-21 21:17:46 -08:00
qctecmdr
78cda419d2 Merge "memshare: Prevent possible memory leak" 2024-02-21 21:17:44 -08:00
Devender Kaushik
f7f6efee0a defconfig: msm: enable remote debugger driver
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I2c495dab9a6b5e3d07920f73c8a1a75d8035e2f6
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
2024-02-22 10:01:18 +05:30
qctecmdr
0cedd86f2a Merge "defconfig: niobe: Enable PMIC modules for niobe" 2024-02-21 11:55:43 -08:00
qctecmdr
399a59b05f Merge "clk: qcom: dispcc-volcano: Add support of display clock controller" 2024-02-21 09:31:23 -08:00
Jishnu Prakash
92d800a156 defconfig: niobe: Enable PMIC modules for niobe
Enable the following PMIC-related modules for niobe (powerkey, flash,
RGB LED, SDAM, SPMI MFD, GPIO, PON, PWM LPG, ADC5 Gen3, temp alarm,
altmode, battery charger, UCSI, PMIC glink, debug PMIC glink drivers,
PMIC PON logger, reboot mode, regulators (RPMh, debug, fixed, proxy),
OCP notifier, RTC, SPMI PMIC ARB).

Change-Id: I373eaa3749358ad549cbcb7dfd31aa421a495f83
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-02-21 04:42:07 -08:00
qctecmdr
1bc34ef805 Merge "arm64: defconfig: Enable USB LVS test compliance module" 2024-02-21 00:54:15 -08:00
qctecmdr
8641354a68 Merge "clk: qcom: gpucc-volcano: Update vdd_data as per latest HW plan" 2024-02-20 20:51:16 -08:00
Fenil Panwala
815da2f44b memshare: Prevent possible memory leak
Free the memory allocated for vm ids and permissions once
secure call for reassigning ownership is returned.

Change-Id: I3e811f93e6e00453fe6d7debb86ecf275ed448b9
Signed-off-by: Fenil Panwala <quic_fpanwala@quicinc.com>
2024-02-20 20:06:38 -08:00
qctecmdr
37a55b6afb Merge "remoteproc: qcom: soccp: Fix for refcounting" 2024-02-20 13:33:27 -08:00
Jyothi Kumar Seerapu
578f556330 q2spi-msm-geni: Clean up q2spi suspend/resume
Clean up q2spi suspend/resume.

Change-Id: I7623655795d9dca190fcc86778596514f8f59277
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2024-02-20 02:40:04 -08:00