Re: [PATCH v3 3/7] spi: qcom-qspi: Add interconnect support for memory path

From: Mark Brown

Date: Mon Apr 20 2026 - 13:12:23 EST


On Mon, Apr 20, 2026 at 11:42:50AM +0530, Viken Dadhaniya wrote:
> 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

> @@ -729,6 +737,11 @@ static int qcom_qspi_probe(struct platform_device *pdev)
> return dev_err_probe(dev, PTR_ERR(ctrl->icc_path_cpu_to_qspi),
> "Failed to get cpu path\n");
>
> + ctrl->icc_path_mem = devm_of_icc_get(dev, "qspi-memory");
> + if (IS_ERR(ctrl->icc_path_mem))
> + return dev_err_probe(dev, PTR_ERR(ctrl->icc_path_mem),
> + "Failed to get memory path\n");
> +

Does this handle missing qspi-memory properly? It's not conditional on
the compatible so it'll run even for existing devices.

Attachment: signature.asc
Description: PGP signature