Commit graph

1169630 commits

Author SHA1 Message Date
Linux Build Service Account
9b1afe0287 Merge 0aa0194e05 on remote branch
Change-Id: I0510e8f20f8feb5d128d7b8ae21401bb8e774aac
2024-11-06 22:33:40 -08:00
QCTECMDR Service
0aa0194e05 Merge "power: supply: bq27xxx: Add Hibernate mode support" 2024-10-18 09:39:44 -07:00
QCTECMDR Service
29cbeaa6aa Merge "usb: phy: Add snapshot of PHY msm usb driver" 2024-10-18 01:43:33 -07:00
QCTECMDR Service
1ab7809492 Merge "rpmsg: glink_cma: Allocate max size for vq buffer" 2024-10-17 21:31:38 -07:00
QCTECMDR Service
7f7a7367db Merge "defconfig / modules.list: Enable base memory modules for Seraph" 2024-10-17 16:41:17 -07:00
QCTECMDR Service
ff862e8611 Merge "net: stmmac: Add place marker" 2024-10-17 12:57:39 -07:00
QCTECMDR Service
136d3a367b Merge "soc: qcom: hgsl: remove the extra get hab channel during clean up" 2024-10-17 12:57:38 -07:00
QCTECMDR Service
3adb59ea72 Merge "serial: msm_geni_serial: Return error in probe upon memory allocation failure" 2024-10-17 09:09:12 -07:00
QCTECMDR Service
42e75617da Merge "pinctrl: qcom: Fix function order in msm_gpio_pins for Seraph" 2024-10-17 05:19:47 -07:00
Rakesh Kota
0c804048d9 power: supply: bq27xxx: Add Hibernate mode support
In Hibernate mode, the HW and SW state may go out of sync, as the HW is
turned off, but SW state is preserved. This may cause the irqs to not
work properly after the Hibernate exit.

To avoid this issue, in the Hibernate exit path, free and re-request the
interrupts, to make sure that the HW state is restored.

Change-Id: I1b38acd6b76f1629d0ed76066b0b5f2ae500a0ce
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
2024-10-17 05:18:58 -07:00
Jaskaran Singh
17e4741126 defconfig / modules.list: Enable base memory modules for Seraph
Enable base memory modules for Seraph by enabling configs and adding
relevant modules to first stage loading.

Change-Id: Ic42bed15207d86065671c558c893cca42ec8f837
Signed-off-by: Dibakar Singh <quic_dibasing@quicinc.com>
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
2024-10-17 14:07:14 +05:30
QCTECMDR Service
06e3ba61ec Merge "soc: qcom: hab: add sanity check during export from uva" 2024-10-17 01:20:08 -07:00
QCTECMDR Service
7c12c5ac25 Merge "power: supply: bq27xxx: update the resistance table" 2024-10-17 01:20:08 -07:00
QCTECMDR Service
923c64a611 Merge "defconfig : Enable bootmarker_proxy for autogvm" 2024-10-17 01:20:08 -07:00
QCTECMDR Service
203d56b834 Merge "usb: gadget: f_rndis: Add WCEIS flag to indicate Wireless RNDIS" 2024-10-17 01:20:07 -07:00
QCTECMDR Service
d50291dcbd Merge "net: cnss: Add support for cnss ssr" 2024-10-17 01:20:07 -07:00
QCTECMDR Service
4c9406e0c2 Merge "gunyah: gh_rm_iface: Fix possible gh_vm_table out-of-bounds access" 2024-10-17 01:20:06 -07:00
Sandeep Maheswaram
3a83cf4f88 usb: phy: Add snapshot of PHY msm usb driver
This change adds PHY msm usb driver which handles PHY initialization,
clock management, and workarounds required after resetting the
hardware and power management.

This snapshot is taken from Kernel-5.4,
 'commit a8682b6e9ab7f ("usb: phy: Add snapshot of
PHY msm usb driver")'

Add phy-msm-usb driver to kernel tree via Kconfig
and Makefile.

This change also replaces bus-voting APIs with the ICB APIs.

Adding New APIs
iccs_get()
iccs_put()
msm_otg_update_bus_bw().

Removed below APIs as new compiler treating these unused
functions as errors:
msm_otg_bus_clks_enable()
msm_otg_bus_clks_disable().

Removed dbg_event() support, to improvise it later.

Changed
struct icc_path *icc_paths[1] to struct icc_path *icc_paths.

Change-Id: I5bfbd1325faa37a3ed3f0f3a83850a1cf797fa09
Signed-off-by: Roja Rani Yarubandi <quic_ryaruban@quicinc.com>
Signed-off-by: Sandeep Maheswaram <quic_sandmahe@quicinc.com>
2024-10-17 11:14:28 +05:30
Suraj Jaiswal
682a671f05 net: stmmac: Add place marker
Add place marker for Link Up, driver probe start to probe end,
first packet received/send to measure the KPI value.

Change-Id: I3a644a0d3f7df1133b2fc79f28103fe80baea369
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-10-16 21:45:05 -07:00
QCTECMDR Service
94ea3a52de Merge "firmware: qcom_scm: updated commit text for usage of SMC_CONVENTION_ARM_32" 2024-10-16 21:23:53 -07:00
Somesh Dey
0c8f1050da serial: msm_geni_serial: Return error in probe upon memory allocation failure
Return error in probe when memory allocation fails for rx_fifo.

Change-Id: Ic1d784dca2ffeb3aeaa71879d5538294df9de9ca
Signed-off-by: Somesh Dey <quic_somedey@quicinc.com>
2024-10-16 05:27:24 -07:00
Hui Li
b730cf507d soc: qcom: hgsl: remove the extra get hab channel during clean up
hgsl shall return directly if it's unable to get the hab channel
during clean up, this usually means critical error happens in
graphic backend. Also, it could be very dangerous if release those
buffers directly, since GPU could still access those buffers.

Change-Id: I06e75ea059a1a1adab649d800b12bfe41acacb60
Signed-off-by: Hui Li <quic_hul@quicinc.com>
2024-10-16 18:50:53 +08:00
Konkumutti Sai Ram
9c28176d09 defconfig : Enable bootmarker_proxy for autogvm
Enable bootmarker proxy driver & add module to bazel module list for
autogvm.

Change-Id: If6bdebe4d127f7ac1f39c89418fcc404ac15f94e
Signed-off-by: Konkumutti Sai Ram <quic_ksairam@quicinc.com>
2024-10-16 00:16:17 -07:00
Sudha Vankudothu
816bb07c47 net: cnss: Add support for cnss ssr
When wlan firmware crash happens and recovery enabled,
recover wlan (i.e shutdown and powerup) via schedule work.

Change-Id: Ia1fd58614ca4568c22fd04dbd1fc83d5ab97c746
Signed-off-by: Sudha Vankudothu <quic_svankudo@quicinc.com>
2024-10-15 21:39:45 -07:00
QCTECMDR Service
12938c1eb3 Merge "soc: qcom: hgsl: use rb tree to track memory node" 2024-10-15 19:32:10 -07:00
QCTECMDR Service
beffb635dc Merge "net: cnss: snapshot of cnss platform driver" 2024-10-15 12:14:15 -07:00
QCTECMDR Service
c5979e217a Merge "defconfig: Enable stub regulator for Seraph" 2024-10-15 08:23:06 -07:00
QCTECMDR Service
3a1047f5f7 Merge "interconnect: qcom: icc-rpmh: enable support for no secondary display" 2024-10-15 08:23:06 -07:00
QCTECMDR Service
0de040af07 Merge "net: ethernet: stmmac: Enable Auto PHY Detection" 2024-10-15 04:24:46 -07:00
QCTECMDR Service
1622fa211e Merge "net: stmmac: Assigning the eth2 to passthrough interface" 2024-10-15 04:24:46 -07:00
QCTECMDR Service
ccf155cf9d Merge "build: bazel: Update early console address for Seraph" 2024-10-15 04:24:45 -07:00
Hrishabh Rajput
73e449abf4 gunyah: gh_rm_iface: Fix possible gh_vm_table out-of-bounds access
gh_vm_table is an array of size GH_VM_MAX. With present index bound
checks, it is possible to access the array with index GH_VM_MAX. This
will lead to out-of-bounds access since the valid index should range
between 0 and GH_VM_MAX-1.

Change-Id: I1ce7f1bb06f4528d03413ceb86625a0e3ea1d3f1
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-10-15 14:16:45 +05:30
Rakesh Kota
70c7d40a8b power: supply: bq27xxx: update the resistance table
Add support to update battery calibrated resistance values into the
BQ27XXX's internal NVM memory, when config
(CONFIG_BATTERY_BQ27XXX_RESIST_TABLE_UPDATES_NVM) is enabled.

With this change, update bq27xx_parse_dt function to return error code
when number of elements does not match with the fixed resistance array
length.

Change-Id: Ibbb0e4543b410a319343c625e43727207e739c0b
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
2024-10-15 13:03:45 +05:30
QCTECMDR Service
9ba3c0008b Merge "emac: runtime suspend resume not triggered" 2024-10-15 00:25:36 -07:00
QCTECMDR Service
cf6b8398a5 Merge "clk: qcom: gcc-anorak: Add CLK_DONT_HOLD_STATE to usb2_clkref" 2024-10-15 00:25:36 -07:00
QCTECMDR Service
9c74893009 Merge "regulator: ap72200: add retry logic for regulator enablement" 2024-10-15 00:25:35 -07:00
QCTECMDR Service
1f59b4c5fa Merge "net: stmmac: Fix LPM issue" 2024-10-15 00:25:35 -07:00
Meenu Raja Sundaram
3f9f4a97b7 rpmsg: glink_cma: Allocate max size for vq buffer
Update max size for vq buffer to avoid OOB issue when BE
tries to write MSG info onto ACK sized buffer.

Change-Id: I33fe2932e898ef0fd4a4f4ecd43daa51989cef1f
Signed-off-by: Meenu Raja Sundaram <quic_mrajasun@quicinc.com>
2024-10-15 10:21:37 +05:30
Kalpak Kawadkar
1e9fccc73b clk: qcom: gcc-anorak: Add CLK_DONT_HOLD_STATE to usb2_clkref
Add CLK_DONT_HOLD_STATE flag to gcc_usb2_0_clkref_en clock,
so that proxy voting is not done for the clock.

Change-Id: Id16cc5d97ea0cbc0a75da842fc0d6985b075d4a4
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-10-14 09:15:53 -07:00
Ayyagari Ushasreevalli
9cbbc988ac defconfig: Enable stub regulator for Seraph
Add stub regulator support for Seraph.

Change-Id: I19720cca0991e5cb1384c40382fed9b32a27a29c
Signed-off-by: Ayyagari Ushasreevalli <quic_aushasre@quicinc.com>
2024-10-14 03:33:42 -07:00
QCTECMDR Service
7694cbc5a3 Merge "ANDROID: Update ACK version" 2024-10-13 22:50:08 -07:00
Srinath Pandey
2e6d781474 net: ethernet: stmmac: Enable Auto PHY Detection
Enable Dynamic PHY detection on sa8775 LA for different board
and PHY types.

Change-Id: I87888ca1e191db072ebdcf64fe596c39fe95f57b
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-10-12 10:38:23 -07:00
lixiang
9d5ab1d239 soc: qcom: hab: add sanity check during export from uva
Add a new sanity check for the input memory range. It finds the vma
of the given start address and reports error if the given memory
range is out of the vma.

It can detect the invalid uva or size input from HAB export interface.

Change-Id: Ic874f13675a1e864e4cc19b3a416d6e69b93ad88
Signed-off-by: lixiang <quic_lixian@quicinc.com>
2024-10-11 14:33:03 +08:00
Pranav Mahesh Phansalkar
478f519958 soc: qcom: aoss: Return error in qmp_send
The wait_event_interruptible_timeout api can return ERESTARTSYS if the
calling thread is signalled. Update the qmp_send API so that this error
is propagated back to the client so they can decide whether the call
needs to be retried.

Change-Id: I40794a30bc54ceb2f027c19179dbca7f4ed28bcc
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
(cherry picked from commit 8375788117)
2024-10-10 23:25:08 -07:00
Suraj Jaiswal
84aadf3211 net: stmmac: Fix LPM issue
Fix LPM issue due to clock failure when
Mdio registration fails.

Change-Id: Ic25c35fcf4d75048fce0e13d5f0ddca590675a6d
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-10-10 12:16:12 -07:00
Navya Vemula
21e3d2fb30 build: bazel: Update early console address for Seraph
Fix earlycon_addr in seraph.bzl for Seraph Soc.

Change-Id: Iee603f1b2f413630335af03ab5bdb1164a55131a
Signed-off-by: Navya Vemula <quic_nvemula@quicinc.com>
2024-10-10 10:00:38 -07:00
Navya Vemula
35b551f3f6 pinctrl: qcom: Fix function order in msm_gpio_pins for Seraph
Fix tlmm-function groups and pins added for Seraph.

Change-Id: I52000924772cf1cd3a49ad979835165da8f1a5d8
Signed-off-by: Navya Vemula <quic_nvemula@quicinc.com>
2024-10-10 02:53:27 -07:00
Shashank Shekhar
1bc107cc06 net: stmmac: Assigning the eth2 to passthrough interface
Address the name conflict between the
virtualized interface and the passthrough interface
to ensure that the interface name is independent
of the driver probe order.

Change-Id: I305b22cbd3860b0df3346ccb89aed4c879cef864
Signed-off-by: Shashank Shekhar <quic_sshe@quicinc.com>
2024-10-09 23:58:51 -07:00
Hui Li
7b2f3224eb soc: qcom: hgsl: use rb tree to track memory node
As the scenes become more complex, there will be more and more
memory nodes. At this time, the efficiency of using list to
track them will become worse and worse, so introduce rb tree
to improve the efficiency of finding specific memory nodes.

Change-Id: I984c866eaa1c877ce70803b31f1119f8ce4ae621
Signed-off-by: Hui Li <quic_hul@quicinc.com>
2024-10-10 10:51:02 +08:00
QCTECMDR Service
f719ac3c91 Merge "dma-heap: qcom: Simplify memory-region property lookup" 2024-10-09 13:07:40 -07:00