Commit Graph

1168884 Commits

Author SHA1 Message Date
QCTECMDR Service
10a316335c Merge "net: ethernet: stmmac: Add 2.5G Phy Support" 2024-08-28 06:34:20 -07:00
QCTECMDR Service
c0db2be621 Merge "serial: msm_geni_serial: Prevent geni register access while suspend is in progress" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
f90bdc4aa7 Merge "defconfig: Enable interconnect driver for NEO" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
c1365d16ff Merge "drivers: emac_mdio_fe: Add module dependency" 2024-08-28 03:07:29 -07:00
Srinath Pandey
fef9e81ee1 net: ethernet: stmmac: Add 2.5G Phy Support
Add 2.5G support for SA8775 and enable CL45 read write
through indirect read/write APIs.

Change-Id: Ia71501f27429ff775a1b39a6754922047d30a44f
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-27 13:02:44 -07:00
QCTECMDR Service
76c1fe285b Merge "thermal: qcom: Add support to update tsens trip based on nvmem data" 2024-08-27 11:39:45 -07:00
QCTECMDR Service
1b41b89e9c Merge "q2spi-msm-geni: Set sma write pending during multi CRs" 2024-08-27 00:38:54 -07:00
QCTECMDR Service
5767bda0a5 Merge "rpmsg: native: Increase iterations count in glink ISR" 2024-08-27 00:38:53 -07:00
QCTECMDR Service
1b7462b00f Merge "arm64: defconfig: Add pwm support for NIOBE" 2024-08-27 00:38:53 -07:00
Manaf Meethalavalappu Pallikunhi
3f7ba8359f thermal: qcom: Add support to update tsens trip based on nvmem data
Add support to detect higher thermal profile parts and update thermal
zone trips dynamically based on nvmem cell data for tsens.

Change-Id: I792c4f2736d10d68b45cc9b64c0ec08d185cf007
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-08-26 22:11:30 +05:30
QCTECMDR Service
7bf59b2974 Merge "usb: phy: Resolve NOC error during host mode PM suspend" 2024-08-26 07:45:39 -07:00
QCTECMDR Service
4d23fdb58a Merge "soc: qcom: socinfo: Add neo-la soc-id in socinfo list" 2024-08-26 07:45:38 -07:00
QCTECMDR Service
32ba4660f2 Merge "arm64: defconfig: Enable clock and gdsc drivers for NEO" 2024-08-26 07:45:38 -07:00
QCTECMDR Service
f91dd38c9a Merge "remoteproc: qcom: pas: Use SOCCP_SPARE register to check D0 state" 2024-08-26 07:45:37 -07:00
QCTECMDR Service
01ad9c31f5 Merge "drivers: qcom: Save authentication tag slot number to disk" 2024-08-26 07:45:37 -07:00
QCTECMDR Service
c9f8ba7bd8 Merge "defconfig: gen3auto: Enable MSM NPU" 2024-08-26 07:45:37 -07:00
QCTECMDR Service
9329cb9f30 Merge "modules.list: neo: Add neo pinctrl related module to first stage" 2024-08-26 07:45:36 -07:00
Chandana Kishori Chiluveru
e00fb1d014 q2spi-msm-geni: Set sma write pending during multi CRs
During ranging sessions back to back doorbells from SOC racing with
UWB session request and multi CRs reported and sma_wr_pending not set
if the doorbell has independent doorbell. After that if we get another
independent doorbell we could see the failure for processing independent
doorbell becz sma write was pending part of previous multi CR.

Change-Id: I6b8cfa86f80038935877360896f383084fbb04c1
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-08-26 05:26:56 -07:00
Manaf Meethalavalappu Pallikunhi
2325103d69 thermal: qcom: tsens: Fix function prototype mismatch
There is function prototype mismatch in tsens init function.
Enable __init keyword only for static driver case.

Fix issues in clean up also in init function.

Change-Id: Id7eaf4c65e78c1864c8b377ed0137c45cce256ad
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-08-26 17:32:55 +05:30
Manaf Meethalavalappu Pallikunhi
b9b1609599 modules.list: pineapple: Add qfprom module to first stage
First stage module like tsens depends on qfprom module.
Enable it in first stage DLKMs list.

Change-Id: Id38b3a66f174c77b80dd6f020d1eca706955bb7e
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-08-26 17:17:21 +05:30
jizho
c7b140cf91 drivers: emac_mdio_fe: Add module dependency
Add emac_mdio_fe module dependency.

Change-Id: Ib1de750f65184841aedda934dece7d5eaa815652
Signed-off-by: jizho <quic_jizho@quicinc.com>
2024-08-26 03:59:07 -07:00
QCTECMDR Service
6bfdce9c4c Merge "q2spi-msm-geni: Add delay to the next q2spi transfer to soc after sleep command" 2024-08-26 00:16:18 -07:00
QCTECMDR Service
be37a11b6f Merge "regulator: ap72200: avoid keeping EN pin always high" 2024-08-26 00:16:17 -07:00
QCTECMDR Service
a258823475 Merge "pinctrl: qcom: Add support for Seraph SoC in pin control" 2024-08-26 00:16:17 -07:00
QCTECMDR Service
d3c0a718de Merge "soc: qcom: socinfo: Add soc-id support for Seraph" 2024-08-26 00:16:17 -07:00
QCTECMDR Service
6d3c18bad7 Merge "drivers: emac_mdio_fe: Add CL45 indirect read/write API" 2024-08-26 00:16:16 -07:00
QCTECMDR Service
25a172f0ce Merge "modules.list.msm.neo-la: Add tcsrcc and gdsc modules to first stage" 2024-08-26 00:16:16 -07:00
Pranav Mahesh Phansalkar
a3589d370c rpmsg: native: Increase iterations count in glink ISR
Currently, if APPS sends more than 10 requests to RPM, glink
hard interrupt service function is unable to process more than 10
acknowledgements.

Increase the loop iterations to 15 to process up to 15 acknowledgements
in the hard interrupt context.

Change-Id: Ief7385f21d5853275a2b90438181c93a01c76f78
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-08-25 23:08:29 -07:00
Priyanka G Pai
3cfdbcb799 defconfig: gen3auto: Enable MSM NPU
Enable MSM NPU module.

Change-Id: I4feaa61b484c72c3eca1a6bc2c44ae1865b74775
Signed-off-by: Priyanka G Pai <quic_pgpai@quicinc.com>
2024-08-25 19:38:53 -07:00
Priyanka G Pai
26b1ad0d6e bzl: Add msm_npu driver for gen3auto
Add msm_npu driver module to the list.

Change-Id: Iba9d6a78b3ca0afcbb8a022b84986b8b943f82c7
Signed-off-by: Priyanka G Pai <quic_pgpai@quicinc.com>
2024-08-25 19:36:51 -07:00
Faisal Hassan
659777c861 usb: phy: Resolve NOC error during host mode PM suspend
In the host mode suspend scenario, the dwc3 core executes
dwc3_core_exit, which suspends the USB PHYs and turn off the clocks.
Later, during the dwc3-msm PM suspend, it invokes notify_disconnect to
the PHYs. As part of the SS PHY disconnect, it attempts to power down,
leading to a NOC error. To address this, a check has been added to
enable the clock during the power-down process.

Change-Id: I6040c431dea4a693a7226dc3006c099eb43bce43
Signed-off-by: Faisal Hassan <quic_faisalh@quicinc.com>
2024-08-23 19:50:14 -07:00
Kalpak Kawadkar
9dd92cf1a2 arm64: defconfig: Add pwm support for NIOBE
Add pwm support for NIOBE platform.

Change-Id: I375958e1e1c5e341c31d997dda7c22a229c41742
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-08-23 15:56:41 +05:30
Kalpak Kawadkar
f7ab05e15e pwm: qcom: Add reset support functionality
Add pwm reset support so that for each frame, period and
duty_cycle can be changed dynamically. While at it, also
update the pdm_pwm_free API with PWM disable functionality.

Change-Id: I64ecd4a8cec948d56cb89e7a5ae4b30e70cb9f3e
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-08-23 15:56:36 +05:30
Kamati Srinivas
a7975a4fd9 remoteproc: qcom: pas: Use SOCCP_SPARE register to check D0 state
TCSR_SOCCP_SLEEP_STATUS is updated when SOCCP starts wakeup process
and is not done processing the sleep request, Check the D0 state
transition by polling on SOCCP_SPARE register.

Change-Id: I7a00ec58f99ca748857e93ce4aab5a8dcc126faf
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-08-23 12:16:01 +05:30
Gokul krishna Krishnakumar
1bb038ef63 remoteproc: pas: Clear master kernel if D request fails
Clear the master kernel bit if the SOCCP does not honour the
APPS request for a state change.

Change-Id: I5a6747973ed87e4c7f0d9074ef8da56925d2a927
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-08-23 12:15:16 +05:30
Kamati Srinivas
b8fcfd2679 Revert "remoteproc: pas: Check running ack for D0 transition"
This reverts commit a8ce5c2552.
TCSR register read can be solely relied upon for D0 confirmation.

Change-Id: I9cb11a13313d2a9964efdc02a77b698b62268070
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-08-23 12:15:06 +05:30
Chandana Kishori Chiluveru
6a4cd79d0b q2spi-msm-geni: Add delay to the next q2spi transfer to soc after sleep command
When Slave receives sleep command from host it requires 1msec to handle
the sleep due to HW limitation. Host should wait some time >1ms after
sending sleep command and before initiating next command to slave.

Added changes to check for slave_sleep_lock and wait for 2msec to
initiate transfers from host post sleep command.

Change-Id: Id333e2acecdb0ab169565f343b27d61952fb9471
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-08-22 05:40:03 -07:00
Jishnu Prakash
d40c483b77 regulator: ap72200: avoid keeping EN pin always high
Keeping enable GPIO always high leads to higher power consumption,
even in RBSC, when the regulator is not in use. Toggle GPIO to high
state only when regulator is enabled and toggle it low after regulator
disable to avoid power consumption when the regulator is not in use.

Change-Id: Ic2f9c0ef350051776f094e55e6fb4967b0d45248
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-08-22 05:24:08 -07:00
QCTECMDR Service
96a17a0c73 Merge "msm: npu: Add NPU driver support for kernel 6.1" 2024-08-22 03:38:36 -07:00
QCTECMDR Service
b713dee329 Merge "clk: qcom: tcsrcc-neo: Snapshot of tcsrcc driver for NEO" 2024-08-22 00:07:35 -07:00
Chintan Kothari
e8affcf0db defconfig: Enable interconnect driver for NEO
Enable the interconnect driver so that consumers are
able to obtain their path handles properly.

Change-Id: Iaddfe9f00152d68a8ed2ee655df487ded0c2a5c0
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-08-22 11:54:50 +05:30
Chintan Kothari
46cd2cb981 modules.list.msm.neo-la: Add tcsrcc and gdsc modules to first stage
Add tcsrcc and gdsc-regulator modules to modules list on NEO platform,
to enable it to load during first stage init.

Change-Id: I8feb175c570abbc3e0a458615f2d1f08e0444f71
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-08-22 11:45:09 +05:30
Navya Vemula
74a512434d pinctrl: qcom: Add support for Seraph SoC in pin control
Add support for seraph pin configuration and control
in pinctrl framework.

Change-Id: I0673e080925601ba53f142279258d79af33d3aac
Signed-off-by: Navya Vemula <quic_nvemula@quicinc.com>
2024-08-22 10:45:44 +05:30
Nikhil V
87822fc615 drivers: qcom: Save authentication tag slot number to disk
Currently bootloader does the following to calculate the authentication
tag slot number.

authslot = NrMetaPages + NrCopyPages + NrSwapMapPages +
           HDR_SWP_INFO_NUM_PAGES

However, with compression enabled, we cannot apply the above logic to
get the authentication slot number. So this data should be provided to
the bootloader for decryption to work.

The current implementation doesn't make use of the swap_map_pages
for restoring the hibernation image. Use the slot number of the first
swap_map_page to store the authentication tag slot number.

Change-Id: Iddfb98cc5adc7bd79c0f52f3f5d64ad282efc9b4
Signed-off-by: Nikhil V <quic_nprakash@quicinc.com>
2024-08-22 08:48:24 +05:30
Nikhil V
fe157b161a drivers: qcom: Vendor hooks to support compressed block count
In case of hibernation with compression enabled, 'n' number of pages
will be compressed to 'x' number of pages before being written to the
disk. Keep a note of these compressed block counts so that bootloader
can directly read 'x' pages and pass it on to the decompressor. An
array will be maintained which will hold the count of these compressed
blocks and later on written to the disk as part of the hibernation
image save process.

Change-Id: If48cd5c396eda674467b3d40c75ad3c2e91c2e5e
Signed-off-by: Nikhil V <quic_nprakash@quicinc.com>
2024-08-22 08:38:50 +05:30
QCTECMDR Service
448b009f8d Merge "clk: qcom: gpucc-neo: Snapshot of GPUCC driver for NEO" 2024-08-21 06:16:01 -07:00
QCTECMDR Service
5a3b7899c8 Merge "modules.list support for loading gpucc in first stage" 2024-08-21 02:19:44 -07:00
QCTECMDR Service
b525e0b8b7 Merge "net: ethernet: stmmac: Disabling vlan hash filtering" 2024-08-20 22:29:56 -07:00
QCTECMDR Service
2de18b4d8d Merge "clk: qcom: gcc-neo: Snapshot of GCC driver for NEO" 2024-08-20 22:29:56 -07:00
QCTECMDR Service
d549a6bec6 Merge "soc: qcom: mem-offline: timeout mechanism for memory offline" 2024-08-20 22:29:56 -07:00