Commit Graph

1163890 Commits

Author SHA1 Message Date
kundan kumar
c2f7473bf6 defconfig: niobe: enable fbe modules
Enable the following modules which enables
data encryption (FBE) using wrapped keys.
CONFIG_QTI_CRYPTO_COMMON
CONFIG_SCSI_UFS_CRYPTO_QTI
CONFIG_QTI_HW_KEY_MANAGER.

Change-Id: Iffc1023aaa24b6406206748d7a5a8848e9847b87
Signed-off-by: kundan kumar <quic_kunkum@quicinc.com>
2024-03-19 22:19:19 +05:30
kundan kumar
366ce64e54 modules: add fbe modules to first stage list
Add the list of modules required to exercise FBE
path during bootup. These include:
hwkm.ko
crypto-qti.ko
ufshcd-crypto-qti.ko.

Change-Id: Ifd3ffc515424af4d8365a26ff690dd7099a12640
Signed-off-by: kundan kumar <quic_kunkum@quicinc.com>
2024-03-19 17:00:58 +05:30
qctecmdr
789bb26df9 Merge "defconfig: niobe: Enable SD card configs for niobe" 2024-03-17 11:56:48 -07:00
qctecmdr
e13fd1e501 Merge "pinctrl: qcom: Update ufs_reset to match TLMM data on niobe" 2024-03-15 17:32:51 -07:00
qctecmdr
cf379c8a01 Merge "defconfig: Enable LPM governor, stats and system pm violator for niobe" 2024-03-15 09:00:45 -07:00
qctecmdr
6024284ef9 Merge "clk: qcom: Update GCC and GPUCC driver as per latest freq plan" 2024-03-15 04:48:37 -07:00
Raghavendra Kakarla
ecc0766646 defconfig: Enable LPM governor, stats and system pm violator for niobe
This patch enables the LPM governor, stats driver and system pm
violotor drivers.

Change-Id: Icd0ed0679603533feb6fbb8a3d2ebdd1fad77282
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2024-03-15 11:18:20 +05:30
qctecmdr
334f13e054 Merge "serial: msm_geni_serial: capture CTS counter value during data TX" 2024-03-14 21:27:35 -07:00
qctecmdr
3e34c3ec04 Merge "dmaengine: gpi: Add changes for deep sleep requirements" 2024-03-14 21:27:34 -07:00
qctecmdr
f424e72110 Merge "defconfig: Enable configs for mem-buf CPU use cases for Niobe" 2024-03-14 12:51:48 -07:00
qctecmdr
b6ed876cc9 Merge "nvmem: qfprom: Add keepout regions and Enable qfprom support" 2024-03-14 12:51:48 -07:00
qctecmdr
c66d83c295 Merge "soc: qcom: llcc: Add Audio, Audio-ENPU clients in Cliffs, Cliffs7" 2024-03-14 12:51:44 -07:00
qctecmdr
5f8e097a7c Merge "defconfig: niobe: Enable SPSS remoteproc" 2024-03-14 08:49:01 -07:00
qctecmdr
63e902b74e Merge "Revert "usb: dwc3: msm: Avoid Noc error after of_platform_depopulate"" 2024-03-14 06:23:40 -07:00
qctecmdr
fa13e9b584 Merge "pinctrl: Rename sdc_data function in niobe" 2024-03-14 06:23:35 -07:00
qctecmdr
3eb01fe9cb Merge "arm64: defconfig: Enable reboot reason driver for niobe" 2024-03-14 06:23:35 -07:00
qctecmdr
fd4bc70221 Merge "coresight: Use new flag to differentiate DS and RBSC" 2024-03-14 06:23:34 -07:00
qctecmdr
9aa65c2e77 Merge "pinctrl: qcom: spmi-gpio: Add support for Deep Sleep in kernel-6.1" 2024-03-14 06:23:30 -07:00
Meena Pasumarthi
da834bde61 pinctrl: qcom: Update ufs_reset to match TLMM data on niobe
Update ufs_reset and add io parameter to match the TLMM block
data on niobe.

Change-Id: I798d9fb81aec1e4f629ad4a189210c14900a54a8
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-14 18:36:04 +05:30
Naman Jain
76cfd9696b soc: qcom: llcc: Add Audio, Audio-ENPU clients in Cliffs, Cliffs7
Add support for LLCC for new clients - Audio and Audio-ENPU in
Cliffs, Cliffs7 SoC's. This is to have better power numbers for
running certain ENPU use-cases.

Change-Id: I4780ad73f51495c17cfd3e8a0eb6a322bc36e6e3
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2024-03-14 17:06:42 +05:30
Anaadi Mishra
0ff7710646 clk: qcom: Update GCC and GPUCC driver as per latest freq plan
Updated graphic and global clock controller drivers as per latest
frequency plans for VOLCANO platform.

Change-Id: Ib850133eb7d10a9b19750c5d01f3806a06c4eca8
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-03-14 04:02:05 -07:00
qctecmdr
415fd0c329 Merge "q2spi-msm-geni: Reduce extended cr and GSI disconnect cmd timeouts" 2024-03-14 03:32:30 -07:00
qctecmdr
ab466bc0c7 Merge "msm: npu: Add virt npu driver for kernel 6.1" 2024-03-14 03:32:26 -07:00
qctecmdr
6a6fbfe814 Merge "defconfig: Enable ufs-phy driver for niobe" 2024-03-14 03:32:26 -07:00
qctecmdr
91d47f056b Merge "iommu: arm-smmu: Add Deepsleep support for smmu driver" 2024-03-14 03:32:25 -07:00
Anil Veshala Veshala
8e46ee0433 dmaengine: gpi: Add changes for deep sleep requirements
This change mainly intended to cover deep sleep requirements
along with GSI driver. There exiting deep sleep need to be
restored with probe similar configurations.

Also added HPG related fixes and taken cared for the LE VM usecases.

Change-Id: I62f0b29874d7b5dc20690877aaf7a7347e084bc1
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-03-14 15:07:40 +05:30
Sarthak Garg
808625d7bb defconfig: niobe: Enable SD card configs for niobe
Enable SD card configs for niobe target.
Add modules to modules.list file and update .bzl file.
cqhci.ko module is added in modules.list file to avoid compilation
errors as sdhci-msm file uses some cqhci functions.

Change-Id: I839de72c93b0e756e4c251523d3b60808bd9db63
Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
2024-03-14 13:55:30 +05:30
Prasanna S
db0da1254a serial: msm_geni_serial: capture CTS counter value during data TX
Add support to capture CTS interrupt counter value during the
process of sending data from MSM to BT Soc. This info can be
used to check that the MSM CTS line is not toggling
during the process of preparing data for transmission till
the time the data is on the lines.

Change-Id: I0c772846a53ff0ce3c0fabf104c8c54107408d66
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2024-03-13 20:52:05 -07:00
qctecmdr
87bc0476fd Merge "arm64: defconfig: Enable gunyah configs for niobe" 2024-03-13 14:37:00 -07:00
qctecmdr
e89de86893 Merge "clk: qcom: clk-rpmh: Add support of rpmh clocks for volcano" 2024-03-13 12:45:36 -07:00
qctecmdr
a258a4bcf2 Merge "qcom_wdt_core: Add Deepsleep support for watchdog" 2024-03-13 08:53:13 -07:00
sganda
af343f4675 defconfig: niobe: Enable SPSS remoteproc
Enable rproc driver for SPSS.

Change-Id: Idb25f67c2139a60d3ccf4c11f7ac11a902698ec3
Signed-off-by: sganda <quic_sganda@quicinc.com>
2024-03-13 20:17:18 +05:30
qctecmdr
2081bd546b Merge "dt-bindings: iio: Add ADC5 GEN3 channels for PMIVO104" 2024-03-13 06:21:42 -07:00
qctecmdr
cf82e3d0b3 Merge "slimbus: qcom-ngd-ctrl: Avoid accessing deallocated stack" 2024-03-13 06:21:38 -07:00
qctecmdr
1585cec233 Merge "usb: gadget: f_cdev: Avoid requeueing the USB requests from complete callback" 2024-03-13 06:21:38 -07:00
qctecmdr
88d1aacc85 Merge "Niobe: Enable kernel configs to support nl80211 test mode" 2024-03-13 06:21:34 -07:00
qctecmdr
c28cecaffc Merge "drivers: emac_mdio_fe: Implement EMAC MDIO frontend driver" 2024-03-13 06:21:30 -07:00
Hrishabh Rajput
b33cb59bcb defconfig: Enable configs for mem-buf CPU use cases for Niobe
Enable CONFIG_QCOM_MEM_BUF_MSGQ, CONFIG_QCOM_MEM_BUF_GH and
CONFIG_QCOM_MEM_BUF_DEV_GH to allow mem-buf CPU use cases to be
exercised.

Change-Id: Idcde53f5cec7f49eb1af636276ec0814a1c42e5f
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-03-13 17:59:03 +05:30
Amrit Anand
3bc50c7a97 arm64: defconfig: Enable gunyah configs for niobe
Enable gunyah configs for Niobe target for VM support.

Change-Id: I13c919f49085bf8a1da70b91e22dd5e2d6b81d66
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-03-13 17:56:39 +05:30
Jyothi Kumar Seerapu
8c55565b36 q2spi-msm-geni: Reduce extended cr and GSI disconnect cmd timeouts
Reduced extended cr timeout to 50msecs and GSI HID connect/disconnect
command timeout to 250msec to meet client kpis.

Added the condition to support max num of crs to 4.
Moved the complete_all logic for extension cr from
q2spi_handle_doorbell_work to q2spi_prepare_cr_pkt for better
optimization of handling extension cr.

Change-Id: I9f15f122ad95646369d70d18b05b8e476aaee445
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2024-03-13 05:14:29 -07:00
Priyanka G Pai
775902195a msm: npu: Add virt npu driver for kernel 6.1
VIRT NPU driver snapshot from msm-5.15 branch
commit 8d24307a884b ("msm: npu: update VIRTIO_ID_NPU on msm-5.15").

Change-Id: Icbd2d45e624ab4d6b4645b4a00e1c9e75040e522
Signed-off-by: Priyanka G Pai <quic_pgpai@quicinc.com>
2024-03-13 17:29:05 +05:30
Udipto Goswami
3f68cda195 Revert "usb: dwc3: msm: Avoid Noc error after of_platform_depopulate"
The core_init function will wait for all probes to complete before dwc3
child can actually probe. This was too broad of wait condition as some
other devices may be stuck in a probe defer loop. In this case, the dwc3
child will never probe.

Instead, describe the dependency in device link dependency in the
devicetree and remove the wait_for_device_probe() call here.

Change-Id: I1917a1e8e0c586550c7c84641cf8defd83d107d5
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-03-13 04:15:35 -07:00
LADI RAM SAI
4aa803260d iommu: arm-smmu: Add Deepsleep support for smmu driver
Add Deepsleep support for arm-smmu driver.

This snapshot is taken as of msm-5.15 branch commit 21da64c0bf5f7
("iommu: arm-smmu: Add Deepsleep support for smmu").

In kernel-6.1 we are checking the power state with
pm_suspend_target_state instead of pm_suspend_via_firmware()
due to the limitations of GKI constraints with power_state driver.

Change-Id: Ic348d1b713bf9869707305a68ff2dfa5b4551a37
Signed-off-by: Nagireddy Annem <quic_nannem@quicinc.com>
Signed-off-by: LADI RAM SAI <quic_lramsai@quicinc.com>
2024-03-13 15:59:58 +05:30
Ram Prakash Gupta
16b182b86f defconfig: Enable ufs-phy driver for niobe
Niobe UFS PHY is reused from pineapple, hence enable
CONFIG_PHY_QCOM_UFS_V4_PINEAPPLE to enable ufs-phy driver
for niobe SoCs.

Also add UFS PHY module in modules.list.msm.niobe so that
the module is loaded from the first stage RAM disk image
during bootup.

Also enable CONFIG_CHR_DEV_SG to support communication from
kernel for underlying storage devices using the SCSI protoco.

Change-Id: I41aeff30849bff1f998b75bba3272e762d9658b7
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
2024-03-13 15:38:50 +05:30
Meena Pasumarthi
3a038b377d pinctrl: Rename sdc_data function in niobe
Rename sdcNone function for sdc2_data pins, to better represent
their functionality.

Change-Id: I3cab1b38393fcf75b8bc470b02162daca51116f0
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-13 15:07:44 +05:30
Meena Pasumarthi
24226056a4 pinctrl: qcom: Fix function order in msm_pingroup for niobe
Fix tlmm-functions, mode offset and function order
in PINGROUPs.

Change-Id: Ibc57cdfb7d6d080bfb1de6f68970e2c8a784408c
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-13 15:05:44 +05:30
Meena Pasumarthi
e9e632a177 nvmem: qfprom: Add keepout regions and Enable qfprom support
1. Add void memory spaces from qfprom registers of niobe.
2. Enable qfprom sysfs for pitti to access nvmen-cells
from userspace.

Change-Id: Ib16d49bfd749c368d4b10bd185bdbe5e7c97952f
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-13 14:29:38 +05:30
vagdhan kumar kanukurthi
0ad8e58107 qcom_wdt_core: Add Deepsleep support for watchdog
Add support for handling the Deepsleep/Quickboot events for
watchdog along with existing hibernation event support.

After Deepsleep/Hibernation part is successful both bark & bite
register data would be lost and current logic would restore the
contents of bark and bite registers to proper values in the
restore/quickboot paths.

Change-Id: Ie92c7debefc9320480438c73e753dc94738666c8
Signed-off-by: vagdhan kumar kanukurthi <quic_vagdhank@quicinc.com>
2024-03-12 23:07:54 -07:00
Kamati Srinivas
b908622074 arm64: defconfig: Enable reboot reason driver for niobe
Enable reboot reason driver for niobe.

Change-Id: I4dd2212d59d5687fcc34cc06a93d1a8cad75ad09
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-03-13 11:19:50 +05:30
qctecmdr
387856677d Merge "defconfig: niobe: Enable minidump feature" 2024-03-12 22:43:49 -07:00