Commit graph

1169645 commits

Author SHA1 Message Date
eric.luo
ec39cc636f Merge codes for Nothing Phone(3a) Nothing OS 3.1.A059(Asteroids-V3.1-250529-1004)
Update to Nothing OS 3.1(Asteroids-V3.1-250529-1004)

Change-Id: I7f13d9b748152b03b129e3db6b991ceca5254850
2025-06-12 10:26:46 +08:00
eric.luo
3f6aa2d683 Improve display driver
Change-Id: I588b96a4b6885c05d328d4ef2b15a47914967d17
2025-06-12 10:26:36 +08:00
eric.luo
84bc3d7b78 Merge codes for Nothing Phone(3a) Nothing OS 3.1.A059(Asteroids-V3.1-250417-1222)
Update to Nothing OS 3.1(Asteroids-V3.1-250417-1222)

Change-Id: Ibce847d175587350c1971a3bd8f92bad76528b70
2025-05-21 21:49:28 +08:00
eric.luo
5340142447 update display driver
Change-Id: Id3d9ebac686bc84b334cb0e2d814aa30e71ce1fa
2025-05-21 21:49:18 +08:00
eric.luo
a14a2b909b Update battery driver
Change-Id: I55cd8da5c2dc6f1ee69ccf12f48424085af153db
2025-05-21 21:49:08 +08:00
wendy.zhang
c9d08f45f9 Add key input log
Change-Id: I2541da5725699a7c3914d86506c1021f47f07bb9
(cherry picked from commit 124c49b85035a0338df595ecfc11ecdd2bea3bb6)
2025-05-21 21:48:54 +08:00
eric.luo
f2ab7c8fdd Merge codes for Nothing Phone(3a) Nothing OS 3.1.A059(Asteroids-V3.1-250401-1916)
Update to Nothing OS 3.1(Asteroids-V3.1-250401-1916)

Change-Id: Ia43e5645fde7716e0d4d5e815cd6d26e80241bde
2025-04-15 16:16:11 +08:00
eric.luo
d5ed13964e Merge codes for Nothing Phone(3a) Nothing OS 3.1.A059(Asteroids-V3.1-250320-2319)
Update to Nothing OS 3.1(Asteroids-V3.1-250320-2319)

Change-Id: Id611cd552c01a42eae7818fd7a92f52bf044bbd3
2025-04-15 16:11:17 +08:00
eric.luo
a1022377ec Add Touch driver log
Change-Id: I9f1f227af737d16c1220160cab17b6077e2b1376
2025-04-15 16:11:09 +08:00
eric.luo
dd1ea6071b Improve display initial code
Change-Id: Id8706cb59e54879e156b544a42690d7b8d2ac594
2025-04-15 16:10:51 +08:00
eric.luo
70b50faf92 Improve vibrator driver
Change-Id: I4867724b15f74dff0cf94978c7e8fad1d5eef4d1
2025-04-15 16:10:32 +08:00
eric.luo
635de46a83 Merge codes for Nothing Phone(3a) Nothing OS 3.1.A059(Asteroids-V3.1-250302-1856)
Update to Nothing OS 3.1(Asteroids-V3.1-250302-1856)

Change-Id: I5618f6d701978e1fd509913b5630e3378efb786f
2025-03-21 16:40:27 +08:00
eric.luo
d564159350 Initial kernel modules and devicetree
Change-Id: I633618853d693ba222a6c0b8f53c6ccf6bb07ed8
2025-03-19 20:07:53 +08:00
Mukesh Ojha
81bcf198ed remoteproc: q6v5: Just warn on when sysmon shutdown timeout occurs
commit a221f9354bdd ("remoteproc: q6v5: Fix the check in crash handler")
tried to make shutdown timeout panic on 10s but did not handle a scenario
where this timeout is happening is because of external trigger crash of
the remote.

So, here is how it happens, when sysmon_stop() requests shutdown holding
rproc lock, a parallel manual diag crash command is triggered on the
remote that crashes the remote due to which remote will not respond to
the shutdown request and hence, it will always return timeout and
eventually a false positive crash also the crash handler will not get
rproc lock as the earlier one is already taken it.

Before commit a221f9354bdd ("remoteproc: q6v5: Fix the check in
crash handler"),this timeout was of no use as it was kept at 20s
which can never hit as internal timeout was 10s(5s + 5s).

So, it is better to convert the panic to just WARN on sysmon
shutdown timeout.

Change-Id: I6f8c27dbd89bdfec0eb26308c05186c0ed4b9628
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-11-11 19:52:29 -08:00
Swetha Chikkaboraiah
c0584603fb soc: qcom: socinfo: Add support for Pineapple Gaming SoC
Add soc-id support for Pineapple Gaming SoC.

Change-Id: Ibbbd8caea731ca16382c2a91068d7abb77907592
Signed-off-by: Swetha Chikkaboraiah <quic_schikk@quicinc.com>
(cherry picked from commit 412cfaa3ebaa37a716a140d8cf8b72d05eff6d6d)
2024-11-11 19:09:02 -08:00
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