spi: spi-qpic-snand: set 'qpic_version2' flag

The kerneldoc of 'struct qcom_nandc_props' says this about the
'qpic_version2' member of the structure:

  "flag to indicate QPIC IP version 2"

Since the SNAND controller is based on QPIC v2, set the flag in
the device specific properties.

Fixes: 7304d19090 ("spi: spi-qpic: add driver for QCOM SPI NAND flash Interface")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://patch.msgid.link/20260924-qpic-snand-set-qpic_version2-v1-1-a0a9a3e0d06a@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Gabor Juhos 2026-09-24 19:02:56 +02:00 committed by Mark Brown
parent ed48805373
commit 52efc89ccf
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -1677,6 +1677,7 @@ static void qcom_spi_remove(struct platform_device *pdev)
static const struct qcom_nandc_props ipq9574_snandc_props = {
.dev_cmd_reg_start = 0x7000,
.bam_offset = 0x30000,
.qpic_version2 = true,
.supports_bam = true,
};