Skip to content

Talos QSPI-NOR support#379

Open
vdadhani wants to merge 4 commits intoqualcomm-linux:qcom-6.18.yfrom
vdadhani:talos-spi-nor
Open

Talos QSPI-NOR support#379
vdadhani wants to merge 4 commits intoqualcomm-linux:qcom-6.18.yfrom
vdadhani:talos-spi-nor

Conversation

@vdadhani
Copy link
Copy Markdown

This Feature Request proposes enabling QSPI NOR flash support in the High-Level Operating System (HLOS) to allow direct access and management of QSPI NOR devices from the OS layer.

CRs-Fixed: 4476282

Add the "qcom,qcs615-qspi" compatible string to the Qualcomm QSPI device-
tree binding to enable QCS615-based platforms to use the existing QSPI
controller binding.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260324-spi-nor-v1-1-3efe59c1c119@oss.qualcomm.com/
The QSPI controller has two interconnect paths:
1. qspi-config: CPU to QSPI controller for register access
2. qspi-memory: QSPI controller to memory for DMA operations

Currently, the driver only manages the qspi-config path. Add support for
the qspi-memory path to ensure proper bandwidth allocation for QSPI data
transfers to/from memory. Enable and disable both paths during runtime PM
transitions.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260324-spi-nor-v1-2-3efe59c1c119@oss.qualcomm.com/
The Talos (QCS615) platform includes a QSPI controller used for accessing
external flash storage. Add the QSPI OPP table, TLMM pinmux entries, and
the QSPI controller node to enable support for this hardware.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260324-spi-nor-v1-3-3efe59c1c119@oss.qualcomm.com/
The QCS615 Ride board has a SPI-NOR flash connected to the QSPI controller
on CS0. Enable the QSPI controller and add the corresponding SPI-NOR flash
node to allow the system to access it.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260324-spi-nor-v1-4-3efe59c1c119@oss.qualcomm.com/
@shashim-quic
Copy link
Copy Markdown

This Feature Request proposes enabling QSPI NOR flash support in the High-Level Operating System (HLOS) to allow direct access and management of QSPI NOR devices from the OS layer.

CRs-Fixed: 4476282

Check why is below check failing ? Make sure mainline SI in CR has an associated github PR.

qcom-6.18.y-checkFailing after 2s — Change Requests Validation Check

@vdadhani
Copy link
Copy Markdown
Author

The [qcom-6.18.y-check] error has now been resolved. It was caused by a missing 0.0 SI entry in the CR.

@qcomlnxci
Copy link
Copy Markdown

Test Matrix

Test Case lemans-evk monaco-evk qcs615-ride qcs6490-rb3gen2 qcs8300-ride qcs9100-ride-r3 sm8750-mtp
0_qcom-next-ci-premerge-tests ◻️ ◻️ ◻️ ◻️ ◻️ ◻️ ❌ Fail
BT_FW_KMD_Service ❌ Fail ❌ Fail ◻️ ◻️ ✅ Pass ✅ Pass ❌ Fail
BT_ON_OFF ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ⚠️ skip
BT_SCAN ✅ Pass ❌ Fail ◻️ ◻️ ✅ Pass ✅ Pass ◻️
CPUFreq_Validation ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
CPU_affinity ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
DSP_AudioPD ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ◻️
Ethernet ✅ Pass ✅ Pass ◻️ ◻️ ⚠️ skip ⚠️ skip ⚠️ skip
Freq_Scaling ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ❌ Fail
GIC ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
IPA ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
Interrupts ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ❌ Fail ✅ Pass
OpenCV ⚠️ skip ⚠️ skip ◻️ ◻️ ⚠️ skip ⚠️ skip ◻️
PCIe ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
Probe_Failure_Check ❌ Fail ❌ Fail ◻️ ◻️ ❌ Fail ❌ Fail ❌ Fail
RMNET ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
UFS_Validation ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
USBHost ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ❌ Fail
WiFi_Firmware_Driver ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ◻️
WiFi_OnOff ✅ Pass ⚠️ skip ◻️ ◻️ ✅ Pass ✅ Pass ◻️
cdsp_remoteproc ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ❌ Fail
hotplug ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
irq ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
kaslr ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
pinctrl ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
qcom_hwrng ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ◻️
remoteproc ✅ Pass ❌ Fail ◻️ ◻️ ❌ Fail ✅ Pass ❌ Fail
rngtest ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
shmbridge ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
smmu ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass
watchdog ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ◻️
wpss_remoteproc ✅ Pass ✅ Pass ◻️ ◻️ ✅ Pass ✅ Pass ✅ Pass

@sgaud-quic
Copy link
Copy Markdown
Contributor

This needs latest flatbuild to be updated on LAVA infra.
working with LAVA infra team on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants