Commit Graph

1163959 Commits

Author SHA1 Message Date
qctecmdr
a9ad92e5e5 Merge "defconfig: Enable qrtr mhi transport driver" 2024-03-11 01:57:26 -07:00
qctecmdr
dc21c3dfc8 Merge "coresight: STM: STM supports suspend & hibernation" 2024-03-11 01:57:23 -07:00
qctecmdr
ae4e1f0906 Merge "coresight: TPDM: TPDM supports suspend & hibernation" 2024-03-11 01:57:19 -07:00
Rakesh Kundaram
a82e20106d soc: qcom: Enable adsp_sleepmon module on pitti
Enable adsp_sleepmon module.

Change-Id: Iae45d31ec982e9cdbbefb267a927d6d2fa041478
Signed-off-by: Rakesh Kundaram <quic_krakeshk@quicinc.com>
2024-03-11 01:56:52 -07:00
Yuanfang Zhang
1ac16358b1 coresight-tmc: fix etr enable fail issue
Writing to etr register results in unpredictable behavior when
TMCReady bit is not set, this change check the TMCReady bit, if
this bit is not set, will exit  __tmc_etr_enable_hw().

Change-Id: I9ea4a24c6c1a9e174ea0520b57f9ed4130eb2da1
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-03-11 14:49:12 +08:00
qctecmdr
9f7aef7643 Merge "q2spi-msm-geni: Prevent debug register access when resources are off" 2024-03-10 23:30:28 -07:00
qctecmdr
405abf7f85 Merge "coresight: ETM: ETM supports suspend & hibernation" 2024-03-10 23:30:24 -07:00
Amrit Anand
13d76850b1 defconfig: niobe: Enable logbuf vendor hooks
Enable vh for logbuf & bootlog and dump using minidump.

Change-Id: I6afc0bf042d6c1da42a4fa8362b8b6427bee6eb5
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
2024-03-11 11:36:22 +05:30
Kavya Nunna
e417fdd20a defconfig: Enable PMIC modules for volcano
Enable LCDB and WLED and PM8008 drivers for volcano.

Change-Id: Iaeb677d277b3df454f2a5a34449ab067730bc80c
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
2024-03-11 10:18:03 +05:30
jizho
a66247d40e drivers: emac_mdio_fe: Implement EMAC MDIO frontend driver
emac_mdio_fe is used for mdio virtualization.
Two emacs on lemans only have one MDIO.
emac_mdio_fe is required to enable 2nd emac in lemans GVM.

Change-Id: I5cb58c904b8f2cdbb15064ee84b69ee7eebda73f
Signed-off-by: jizho <quic_jizho@quicinc.com>
2024-03-11 11:21:49 +08:00
qctecmdr
e80c04c045 Merge "phy: qualcomm: add ref_clk_pad_en clock for ufs" 2024-03-10 20:21:17 -07:00
qctecmdr
2d6b4493b3 Merge "serial: msm_geni_serial: ensure suspend is completed in shutdown path" 2024-03-10 20:21:17 -07:00
qctecmdr
14a2f8addd Merge "clk: qcom: dispcc: Update driver for NIOBE platform" 2024-03-10 11:40:42 -07:00
Yuanfang Zhang
585a72bc16 coresight: remote-etm: remote etm supports suspend & hibernation
In the suspend & hibernation entry, clear the qdss_clk_cnt by
disabling remote etm which has been enabled. Allowing QDSS work post
suspend & hibernation.

Change-Id: I2a506f1a6466cc5dcd03598e02a4ab1985fb0e68
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Darshankumar Jagdishchandra Thakkar <quic_djagdish@quicinc.com>
2024-03-10 18:20:22 +05:30
Prasanna S
47f680c3c9 serial: msm_geni_serial: ensure suspend is completed in shutdown path
Return value of pm_runtime_put_sync_suspend() is
not handled in the uart port shutdown path, and
driver is closing the port. Due to this subsequent
open/close are resulting in failure.

When pm_runtime_put_sync_suspend returns -EBUSY,
wait until suspend get executed by rpm framework,
and ensure port is suspended before it is closed.

Change-Id: I85e3601ec77c1080a10ac4da78a85ad89d592901
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2024-03-09 07:55:44 -08:00
Prasanna S
d4d0204ac7 serial: msm_geni_serial: Access the uart_port only when port is open
We are seeing crash when uport->state->xmit is being accessed
while port is not open.

Try to access uart_port only when the port_state is open.

Change-Id: Ib50fb51d92b285ce234fb324389bf5c3cf8013d6
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2024-03-09 07:55:17 -08:00
Visweswara Tanuku
85c7d8f729 serial: msm_geni_serial: Enable/Disable Frame, Break error, CTS interrupts
Currently Rx Frame & Rx Break error, CTS interrupts are
enabled by default.

During probe, if CTS interrupt is asserted and/or if UART
Rx line is low the CTS/Frame/Break errors cannot be handled
since port is closed/without a client resulting to crash
in isr handler.

Handle this situation by enabling the Rx Frame error,
Rx Break error and CTS interrupts only if Port is in
open state. Disable these interrupts if port is in
closed state.

Change-Id: Iae93903ff51ad6fdc74bd78320c61d8ed050d522
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-03-09 07:54:28 -08:00
qctecmdr
464c1bf1a0 Merge "input: misc: pm8941-pwrkey: Add support to log KPDPWR status" 2024-03-08 17:41:04 -08:00
qctecmdr
af935a7df9 Merge "regulator: Add changes to support AP72200 buck-boost regulator" 2024-03-08 12:42:58 -08:00
qctecmdr
12b7a719e8 Merge "arm64: defconfig: Enable msm_performance for pitti" 2024-03-08 08:44:54 -08:00
qctecmdr
7b000f30af Merge "clk: qcom: debugcc-volcano: Add support for debug clock controller" 2024-03-08 06:51:55 -08:00
qctecmdr
7e9da91412 Merge "arm64: defconfig: Enable DEBUGCC drivers for Volcano" 2024-03-08 06:51:51 -08:00
Kalpak Kawadkar
929b5ceada clk: qcom: dispcc: Update driver for NIOBE platform
Update DISPCC0 and DISPCC1 driver as per latest HW frequency
plan for NIOBE platform.

Change-Id: Ie632c10a6d78f0a8ff8f7797dea3a485f477b4c3
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-03-08 18:23:47 +05:30
Meena Pasumarthi
f772012b47 defconfig: Enable cpu vendor hooks in niobe
Enable vh for cpu related info and add cpu vendor
hooks to first stage.

Change-Id: I15e2e9c22b862883dec5d287a35edb688776b0ee
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-08 18:11:14 +05:30
Jishnu Prakash
04efe0e0b7 input: misc: pm8941-pwrkey: Add support to log KPDPWR status
Add support to log KPDPWR status during driver INIT and runtime
when "qcom,log-kpd-event" property is set.

Change-Id: I59fb57e4d9cccdd314b3b7ba7f45ccc31bcbbe67
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-03-08 17:18:30 +05:30
Manish Pandey
e5fb279469 phy: qualcomm: add ref_clk_pad_en clock for ufs
Enable ref_clk_pad_en first similar to qref_clk.
qref_clk enables UFS_PHY and ref_clk_pad_en helps
to enable UFS_PAD_CLKREF_EN.

Change-Id: Ib3767fbd2ec5a5ccdf8ed8b808bf155c49583165
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-03-08 03:15:36 -08:00
Rajat Asthana
13e5cf0ecb arm64: defconfig: Enable msm_performance for pitti
Enable msm_performance module for pitti target.

Change-Id: I9e0f7578161cde71e36297692fbce719bb786601
Signed-off-by: Rajat Asthana <quic_rasthana@quicinc.com>
2024-03-08 12:06:52 +05:30
qctecmdr
b51e609e65 Merge "coresight: Correct return value when QMI service not connected" 2024-03-07 21:36:32 -08:00
qctecmdr
707642c883 Merge "ARM: config: msm: Enable configs for slimbus for Niobe" 2024-03-07 21:36:28 -08:00
qctecmdr
8ee74a374f Merge "clk: qcom: Update GPUCC driver for NIOBE platform" 2024-03-07 21:36:25 -08:00
qctecmdr
9f786b9d05 Merge "leds: leds-qti-flash: add support for external LED setup" 2024-03-07 21:36:20 -08:00
qctecmdr
fa5f65b2d1 Merge "defconfig: Enable MHI_BUS_DEBUG for niobe" 2024-03-07 21:36:17 -08:00
Ajit Pandey
8f38b6fe1b clk: qcom: debugcc-volcano: Add support for debug clock controller
Add support of debug clock controller on volcano platform which is
required for clock measurement of all the other clock controllers.

Change-Id: I167cfe150cb8122622f76549c6d1d80c9d13d6d5
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-03-07 21:08:06 -08:00
Paras Sharma
e2c64c9efc pci: msm: Unlock the recovery_lock in case of return in failure
Unlock the recovery_lock in case of return in failure
in msm_pcie_pm_resume_noirq.

Change-Id: I6b71653bf64571273f443d26e49dba62027d715e
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-07 09:54:10 -08:00
Krishna chaitanya chundru
e633b05ffe pci: msm: Park all digital clocks low before clamping phy
As per PCIE phy hardware programming guide all the clocks are
to be parked low before parking the phy in low power down mode.

As we need ahb clk enabled to access registers disable all clocks
except ahb clock and do the phy configurations and then disable
ahb clock in suspend path and do vice versa in resume path.

Change-Id: I4710cdea1a2be15bb45012dcbbe009117210d7f8
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-07 23:21:57 +05:30
Krishna chaitanya chundru
6107715b82 pci: msm: disable controller GDSC in PCIe suspend noirq ops
Without disabling controller GDSC, XO shutdown is not being achieved.

When GDSC is turned off, it will reset controller and it can assert
CLKREQ GPIO. With assertion of CLKREQ gpio, endpoint tries to bring
link back to L0, but since all clocks are turned off on host, this
can result in link down.

So, release the control of CLKREQ gpio also from controller by
overriding it in suspend ops.

Change-Id: I4ba54c8b23487400bc19d1c3783bfe45f63980ed
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-07 23:14:52 +05:30
qctecmdr
93017061ea Merge "drivers: iio: imu: Add ST sensors for SA8155" 2024-03-07 09:29:03 -08:00
Paras Sharma
caadbd1051 pci: msm: Update the icc bw voting based up on link speed and width
Update icc bw voting after the link is up based upon link speed and
width if there is no client based bw voting.

If there is already client based voting, vote for minimal bandwidth
which is needed to bring the PCIe link up. As client is already voting
based up on their requirement, if we vote based upon speed and width
we may end up voting for more bandwidth which may result in high power
consumption.

Change-Id: Ie0647530dddbe7493dc0e6d854d553c0b5c536ac
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-07 22:54:04 +05:30
Paras Sharma
a51213fac9 pci: msm: Add support for APSS based L1ss sleep
Few PCIe endpoints like NVMe are always expecting the device
to be in D0 state and the link to be active (or in l1ss) all the
time (including in S3 state). Some NVMe endpoints are treating
link down as power cycle, So turning off the link during S3 can
reduce life span of the NVMe.

For that reason adding apss-based l1ss-sleep support. With this,
all the PCIe resources can be turned off after link has entered
into L1ss in the suspend path.

This meets NVMe requirements and also at the same time lets the
system go to XO shutdown.

Change-Id: I0d28567d37c1a4cfbfdc9294a132078b5c53e10d
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-07 22:53:09 +05:30
Jishnu Prakash
f584edb0ed leds: leds-qti-flash: add support for external LED setup
In some use cases, the QTI flash LED channels will be used
only to drive external LEDs by HW strobing, with no SW strobing
required. Add support for one such use case for mouth tracking
LEDs on XR targets.

Change-Id: Ia677572395687186944e44b1acfde8baae9ca744
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-03-07 04:45:41 -08:00
Krishna Chaithanya Reddy G
ca67f2ba2a ARM: config: msm: Enable configs for slimbus for Niobe
Add slimbus configs supported in niobe.

Change-Id: Id93c112b74720da1ffe8ba1c3e6013d51162ea8f
Signed-off-by: Krishna Chaithanya Reddy G <quic_kgangapu@quicinc.com>
2024-03-07 14:57:22 +05:30
Sivaji Boddupilli
55e757f34e defconfig: Enable qrtr mhi transport driver
Enable qrtr mhi transport driver.

Change-Id: I72e31913ad8bfc809e8950f2866e0f52f0e28a7d
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
2024-03-07 12:31:33 +05:30
Sivaji Boddupilli
cbf812aa5e defconfig: Enable smp2p sleepstate driver
Enable smp2p sleepstate driver.

Change-Id: Ib4404d41aa5fb30f56ed8510817a736f5ea5e36c
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
2024-03-07 12:01:34 +05:30
qctecmdr
1d8860003e Merge "defconfig: arm64: Enable memshare driver on pitti" 2024-03-06 06:16:19 -08:00
Paras Sharma
da5ddb5d8e defconfig: Enable MHI_BUS_DEBUG for niobe
Enable MHI_BUS_DEBUG for niobe debug builds. This config is required to
enable the MHI debug logs.

Change-Id: I90c3d1c2a98646986b5abc3b3533d40da8c339c0
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-03-06 16:46:03 +05:30
qctecmdr
95c80e0e7c Merge "defconfig: Enable SCHED_WALT_DEBUG for niobe consolidate" 2024-03-06 03:01:32 -08:00
qctecmdr
4df657fb57 Merge "bzl: Add the rpm-smd-debug driver for pitti" 2024-03-05 10:56:58 -08:00
qctecmdr
3f4f9d3d58 Merge "defconfig: Enable ufs-phy driver for volcano" 2024-03-05 09:05:30 -08:00
qctecmdr
c7f5b277b6 Merge "pinctrl: Add support in VM for Volcano SoC" 2024-03-05 02:25:31 -08:00
qctecmdr
bcdcaa416d Merge "defconfig: Enable F_FS IPC logging and EHSET_TEST configs on pitti" 2024-03-05 02:25:31 -08:00