linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs
@ 2025-09-02  5:52 Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani, Varshini Rajendran

This patch series adds support for SAM9X7 and sama7d65 QSPI controller
along with the SoC-specific capabilities.

Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
Dharma Balasubiramani (4):
      spi: atmel,quadspi: Document sam9x7 QSPI
      spi: atmel,quadspi: Define sama7d65 QSPI
      spi: atmel-quadspi: add padcalib, 2xgclk, and dllon capabilities
      spi: atmel-quadspi: add support for SAM9X7 QSPI controller

Varshini Rajendran (1):
      spi: atmel-quadspi: Add support for sama7d65 QSPI

 .../devicetree/bindings/spi/atmel,quadspi.yaml     |   3 +
 drivers/spi/atmel-quadspi.c                        | 134 ++++++++++++++++-----
 2 files changed, 105 insertions(+), 32 deletions(-)
---
base-commit: 33bcf93b9a6b028758105680f8b538a31bc563cf
change-id: 20250902-microchip-qspi-eb7c94151c3e

Best regards,
-- 
Dharma Balasubiramani <dharma.b@microchip.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
@ 2025-09-02  5:52 ` Dharma Balasubiramani
  2025-09-02  9:21   ` Krzysztof Kozlowski
  2025-09-02  9:22   ` Krzysztof Kozlowski
  2025-09-02  5:52 ` [PATCH 2/5] spi: atmel,quadspi: Define sama7d65 QSPI Dharma Balasubiramani
                   ` (4 subsequent siblings)
  5 siblings, 2 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani

Document the sam9x75 quad spi that supports interface to serial memories
operating in

- Single-bit SPI, Dual SPI, Quad SPI and Octal SPI
- Single Data Rate or Double Data Rate modes

Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
 Documentation/devicetree/bindings/spi/atmel,quadspi.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
index b0d99bc10535..c17114123034 100644
--- a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
+++ b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
@@ -17,6 +17,7 @@ properties:
     enum:
       - atmel,sama5d2-qspi
       - microchip,sam9x60-qspi
+      - microchip,sam9x7-ospi
       - microchip,sama7g5-qspi
       - microchip,sama7g5-ospi
 

-- 
2.43.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/5] spi: atmel,quadspi: Define sama7d65 QSPI
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
@ 2025-09-02  5:52 ` Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 3/5] spi: atmel-quadspi: add padcalib, 2xgclk, and dllon capabilities Dharma Balasubiramani
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani

sama7d65 has 2 instances of the QSPI controller:

• One Octal Serial Peripheral Interface (QSPI0) supporting DDR. Octal,
Twin-Quad, HyperFlashTM and OctaFlashTM protocols supported.

• One Quad Serial Peripheral Interface (QSPI1) supporting DDR/SDR.

Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
 Documentation/devicetree/bindings/spi/atmel,quadspi.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
index c17114123034..30ab42c95c08 100644
--- a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
+++ b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
@@ -18,6 +18,8 @@ properties:
       - atmel,sama5d2-qspi
       - microchip,sam9x60-qspi
       - microchip,sam9x7-ospi
+      - microchip,sama7d65-qspi
+      - microchip,sama7d65-ospi
       - microchip,sama7g5-qspi
       - microchip,sama7g5-ospi
 

-- 
2.43.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/5] spi: atmel-quadspi: add padcalib, 2xgclk, and dllon capabilities
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 2/5] spi: atmel,quadspi: Define sama7d65 QSPI Dharma Balasubiramani
@ 2025-09-02  5:52 ` Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 4/5] spi: atmel-quadspi: add support for SAM9X7 QSPI controller Dharma Balasubiramani
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani, Varshini Rajendran

Introduce capability flags for SoC-specific variations of the QuadSPI
controller:

  - has_padcalib: controller supports pad calibration
  - has_2xgclk: requires GCLK at half the data rate (2x clocking)
  - has_dllon: controller supports DLL clock

Set `has_padcalib` for Octal controllers that provide pad calibration
support. Use `has_2xgclk` for controllers that require the GCLK to run
at twice the data rate. Differentiate SoC integration variants with the
`has_dllon` flag and set it as needed.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
 drivers/spi/atmel-quadspi.c | 92 +++++++++++++++++++++++++++++----------------
 1 file changed, 60 insertions(+), 32 deletions(-)

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 4e9bfd26aa80..83cea5faff78 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -262,6 +262,9 @@ struct atmel_qspi_caps {
 	bool has_ricr;
 	bool octal;
 	bool has_dma;
+	bool has_2xgclk;
+	bool has_padcalib;
+	bool has_dllon;
 };
 
 struct atmel_qspi_ops;
@@ -1027,13 +1030,25 @@ static int atmel_qspi_set_pad_calibration(struct atmel_qspi *aq)
 			 aq, QSPI_PCALCFG);
 
 	/* DLL On + start calibration. */
-	atmel_qspi_write(QSPI_CR_DLLON | QSPI_CR_STPCAL, aq, QSPI_CR);
+	if (aq->caps->has_dllon)
+		atmel_qspi_write(QSPI_CR_DLLON | QSPI_CR_STPCAL, aq, QSPI_CR);
+	/* If there is no DLL support only start calibration. */
+	else
+		atmel_qspi_write(QSPI_CR_STPCAL, aq, QSPI_CR);
 
-	/* Check synchronization status before updating configuration. */
-	ret =  readl_poll_timeout(aq->regs + QSPI_SR2, val,
-				  (val & QSPI_SR2_DLOCK) &&
-				  !(val & QSPI_SR2_CALBSY), 40,
-				  ATMEL_QSPI_TIMEOUT);
+	/*
+	 * Check DLL clock lock and synchronization status before updating
+	 * configuration.
+	 */
+	if (aq->caps->has_dllon)
+		ret =  readl_poll_timeout(aq->regs + QSPI_SR2, val,
+					  (val & QSPI_SR2_DLOCK) &&
+					  !(val & QSPI_SR2_CALBSY), 40,
+					  ATMEL_QSPI_TIMEOUT);
+	else
+		ret =  readl_poll_timeout(aq->regs + QSPI_SR2, val,
+					  !(val & QSPI_SR2_CALBSY), 40,
+					  ATMEL_QSPI_TIMEOUT);
 
 	/* Refresh analogic blocks every 1 ms.*/
 	atmel_qspi_write(FIELD_PREP(QSPI_REFRESH_DELAY_COUNTER,
@@ -1049,23 +1064,28 @@ static int atmel_qspi_set_gclk(struct atmel_qspi *aq)
 	int ret;
 
 	/* Disable DLL before setting GCLK */
-	status = atmel_qspi_read(aq, QSPI_SR2);
-	if (status & QSPI_SR2_DLOCK) {
-		atmel_qspi_write(QSPI_CR_DLLOFF, aq, QSPI_CR);
+	if (aq->caps->has_dllon) {
+		status = atmel_qspi_read(aq, QSPI_SR2);
+		if (status & QSPI_SR2_DLOCK) {
+			atmel_qspi_write(QSPI_CR_DLLOFF, aq, QSPI_CR);
+			ret = readl_poll_timeout(aq->regs + QSPI_SR2, val,
+						 !(val & QSPI_SR2_DLOCK), 40,
+						 ATMEL_QSPI_TIMEOUT);
+			if (ret)
+				return ret;
+		}
 
-		ret = readl_poll_timeout(aq->regs + QSPI_SR2, val,
-					 !(val & QSPI_SR2_DLOCK), 40,
-					 ATMEL_QSPI_TIMEOUT);
-		if (ret)
-			return ret;
+		if (aq->target_max_speed_hz > QSPI_DLLCFG_THRESHOLD_FREQ)
+			atmel_qspi_write(QSPI_DLLCFG_RANGE, aq, QSPI_DLLCFG);
+		else
+			atmel_qspi_write(0, aq, QSPI_DLLCFG);
 	}
 
-	if (aq->target_max_speed_hz > QSPI_DLLCFG_THRESHOLD_FREQ)
-		atmel_qspi_write(QSPI_DLLCFG_RANGE, aq, QSPI_DLLCFG);
+	if (aq->caps->has_2xgclk)
+		ret = clk_set_rate(aq->gclk, 2 * aq->target_max_speed_hz);
 	else
-		atmel_qspi_write(0, aq, QSPI_DLLCFG);
+		ret = clk_set_rate(aq->gclk, aq->target_max_speed_hz);
 
-	ret = clk_set_rate(aq->gclk, aq->target_max_speed_hz);
 	if (ret) {
 		dev_err(&aq->pdev->dev, "Failed to set generic clock rate.\n");
 		return ret;
@@ -1088,11 +1108,16 @@ static int atmel_qspi_sama7g5_init(struct atmel_qspi *aq)
 	if (ret)
 		return ret;
 
-	if (aq->caps->octal) {
+	/*
+	 * Check if the SoC supports pad calibration in Octal SPI mode.
+	 * Proceed only if both the capabilities are true.
+	 */
+	if (aq->caps->octal && aq->caps->has_padcalib) {
 		ret = atmel_qspi_set_pad_calibration(aq);
 		if (ret)
 			return ret;
-	} else {
+	/* Start DLL on only if the SoC supports the same */
+	} else if (aq->caps->has_dllon) {
 		atmel_qspi_write(QSPI_CR_DLLON, aq, QSPI_CR);
 		ret =  readl_poll_timeout(aq->regs + QSPI_SR2, val,
 					  (val & QSPI_SR2_DLOCK), 40,
@@ -1458,19 +1483,19 @@ static int atmel_qspi_sama7g5_suspend(struct atmel_qspi *aq)
 
 	clk_disable_unprepare(aq->gclk);
 
-	atmel_qspi_write(QSPI_CR_DLLOFF, aq, QSPI_CR);
-	ret = readl_poll_timeout(aq->regs + QSPI_SR2, val,
-				 !(val & QSPI_SR2_DLOCK), 40,
-				 ATMEL_QSPI_TIMEOUT);
-	if (ret)
-		return ret;
-
-	ret =  readl_poll_timeout(aq->regs + QSPI_SR2, val,
-				  !(val & QSPI_SR2_CALBSY), 40,
-				  ATMEL_QSPI_TIMEOUT);
-	if (ret)
-		return ret;
+	if (aq->caps->has_dllon) {
+		atmel_qspi_write(QSPI_CR_DLLOFF, aq, QSPI_CR);
+		ret = readl_poll_timeout(aq->regs + QSPI_SR2, val,
+					 !(val & QSPI_SR2_DLOCK), 40,
+					 ATMEL_QSPI_TIMEOUT);
+		if (ret)
+			return ret;
+	}
 
+	if (aq->caps->has_padcalib)
+		return readl_poll_timeout(aq->regs + QSPI_SR2, val,
+					  !(val & QSPI_SR2_CALBSY), 40,
+					  ATMEL_QSPI_TIMEOUT);
 	return 0;
 }
 
@@ -1607,12 +1632,15 @@ static const struct atmel_qspi_caps atmel_sama7g5_ospi_caps = {
 	.has_gclk = true,
 	.octal = true,
 	.has_dma = true,
+	.has_padcalib = true,
+	.has_dllon = true,
 };
 
 static const struct atmel_qspi_caps atmel_sama7g5_qspi_caps = {
 	.max_speed_hz = SAMA7G5_QSPI1_SDR_MAX_SPEED_HZ,
 	.has_gclk = true,
 	.has_dma = true,
+	.has_dllon = true,
 };
 
 static const struct of_device_id atmel_qspi_dt_ids[] = {

-- 
2.43.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/5] spi: atmel-quadspi: add support for SAM9X7 QSPI controller
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
                   ` (2 preceding siblings ...)
  2025-09-02  5:52 ` [PATCH 3/5] spi: atmel-quadspi: add padcalib, 2xgclk, and dllon capabilities Dharma Balasubiramani
@ 2025-09-02  5:52 ` Dharma Balasubiramani
  2025-09-02  5:52 ` [PATCH 5/5] spi: atmel-quadspi: Add support for sama7d65 QSPI Dharma Balasubiramani
  2025-09-02 11:08 ` [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Mark Brown
  5 siblings, 0 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani, Varshini Rajendran

Add support for the QuadSPI controller found on the SAM9X7 SoC.

This controller does not implement pad calibration. It supports
operation up to 100 MHz, and requires the GCK to run at twice
the data rate.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
---
 drivers/spi/atmel-quadspi.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 83cea5faff78..342cdd6e8d64 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -63,6 +63,7 @@
 
 #define SAMA7G5_QSPI0_MAX_SPEED_HZ	200000000
 #define SAMA7G5_QSPI1_SDR_MAX_SPEED_HZ	133000000
+#define SAM9X7_QSPI_MAX_SPEED_HZ	100000000
 
 /* Bitfields in QSPI_CR (Control Register) */
 #define QSPI_CR_QSPIEN                  BIT(0)
@@ -1627,6 +1628,16 @@ static const struct atmel_qspi_caps atmel_sam9x60_qspi_caps = {
 	.has_ricr = true,
 };
 
+static const struct atmel_qspi_caps atmel_sam9x7_ospi_caps = {
+	.max_speed_hz = SAM9X7_QSPI_MAX_SPEED_HZ,
+	.has_gclk = true,
+	.octal = true,
+	.has_dma = true,
+	.has_2xgclk = true,
+	.has_padcalib = false,
+	.has_dllon = false,
+};
+
 static const struct atmel_qspi_caps atmel_sama7g5_ospi_caps = {
 	.max_speed_hz = SAMA7G5_QSPI0_MAX_SPEED_HZ,
 	.has_gclk = true,
@@ -1660,6 +1671,10 @@ static const struct of_device_id atmel_qspi_dt_ids[] = {
 		.compatible = "microchip,sama7g5-qspi",
 		.data = &atmel_sama7g5_qspi_caps,
 	},
+	{
+		.compatible = "microchip,sam9x7-ospi",
+		.data = &atmel_sam9x7_ospi_caps,
+	},
 
 	{ /* sentinel */ }
 };

-- 
2.43.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 5/5] spi: atmel-quadspi: Add support for sama7d65 QSPI
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
                   ` (3 preceding siblings ...)
  2025-09-02  5:52 ` [PATCH 4/5] spi: atmel-quadspi: add support for SAM9X7 QSPI controller Dharma Balasubiramani
@ 2025-09-02  5:52 ` Dharma Balasubiramani
  2025-09-02 11:08 ` [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Mark Brown
  5 siblings, 0 replies; 9+ messages in thread
From: Dharma Balasubiramani @ 2025-09-02  5:52 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus
  Cc: linux-spi, devicetree, linux-arm-kernel, linux-kernel,
	Dharma Balasubiramani, Varshini Rajendran

From: Varshini Rajendran <varshini.rajendran@microchip.com>

Add support for sama7d65 QSPI controller and define its caps.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
 drivers/spi/atmel-quadspi.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 342cdd6e8d64..d7a3d85d00c2 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -1638,6 +1638,24 @@ static const struct atmel_qspi_caps atmel_sam9x7_ospi_caps = {
 	.has_dllon = false,
 };
 
+static const struct atmel_qspi_caps atmel_sama7d65_ospi_caps = {
+	.max_speed_hz = SAMA7G5_QSPI0_MAX_SPEED_HZ,
+	.has_gclk = true,
+	.octal = true,
+	.has_dma = true,
+	.has_2xgclk = true,
+	.has_padcalib = true,
+	.has_dllon = false,
+};
+
+static const struct atmel_qspi_caps atmel_sama7d65_qspi_caps = {
+	.max_speed_hz = SAMA7G5_QSPI1_SDR_MAX_SPEED_HZ,
+	.has_gclk = true,
+	.has_dma = true,
+	.has_2xgclk = true,
+	.has_dllon = false,
+};
+
 static const struct atmel_qspi_caps atmel_sama7g5_ospi_caps = {
 	.max_speed_hz = SAMA7G5_QSPI0_MAX_SPEED_HZ,
 	.has_gclk = true,
@@ -1675,6 +1693,15 @@ static const struct of_device_id atmel_qspi_dt_ids[] = {
 		.compatible = "microchip,sam9x7-ospi",
 		.data = &atmel_sam9x7_ospi_caps,
 	},
+	{
+		.compatible = "microchip,sama7d65-ospi",
+		.data = &atmel_sama7d65_ospi_caps,
+	},
+	{
+		.compatible = "microchip,sama7d65-qspi",
+		.data = &atmel_sama7d65_qspi_caps,
+	},
+
 
 	{ /* sentinel */ }
 };

-- 
2.43.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI
  2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
@ 2025-09-02  9:21   ` Krzysztof Kozlowski
  2025-09-02  9:22   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  9:21 UTC (permalink / raw)
  To: Dharma Balasubiramani
  Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus,
	linux-spi, devicetree, linux-arm-kernel, linux-kernel

On Tue, Sep 02, 2025 at 11:22:18AM +0530, Dharma Balasubiramani wrote:
> Document the sam9x75 quad spi that supports interface to serial memories

9x75 here...

> operating in
> 
> - Single-bit SPI, Dual SPI, Quad SPI and Octal SPI
> - Single Data Rate or Double Data Rate modes
> 
> Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
> ---
>  Documentation/devicetree/bindings/spi/atmel,quadspi.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
> index b0d99bc10535..c17114123034 100644
> --- a/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
> +++ b/Documentation/devicetree/bindings/spi/atmel,quadspi.yaml
> @@ -17,6 +17,7 @@ properties:
>      enum:
>        - atmel,sama5d2-qspi
>        - microchip,sam9x60-qspi
> +      - microchip,sam9x7-ospi

... but 9x7 here. Confusing.

Best regards,
Krzysztof



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI
  2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
  2025-09-02  9:21   ` Krzysztof Kozlowski
@ 2025-09-02  9:22   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  9:22 UTC (permalink / raw)
  To: Dharma Balasubiramani
  Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus,
	linux-spi, devicetree, linux-arm-kernel, linux-kernel

On Tue, Sep 02, 2025 at 11:22:18AM +0530, Dharma Balasubiramani wrote:
> Document the sam9x75 quad spi that supports interface to serial memories
> operating in
> 
> - Single-bit SPI, Dual SPI, Quad SPI and Octal SPI
> - Single Data Rate or Double Data Rate modes

And I forgot - wrong subject prefixes.

Please use subject prefixes matching the subsystem. You can get them for
example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters

Best regards,
Krzysztof



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs
  2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
                   ` (4 preceding siblings ...)
  2025-09-02  5:52 ` [PATCH 5/5] spi: atmel-quadspi: Add support for sama7d65 QSPI Dharma Balasubiramani
@ 2025-09-02 11:08 ` Mark Brown
  5 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2025-09-02 11:08 UTC (permalink / raw)
  To: Dharma Balasubiramani
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Tudor Ambarus, linux-spi,
	devicetree, linux-arm-kernel, linux-kernel, Varshini Rajendran

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

On Tue, Sep 02, 2025 at 11:22:17AM +0530, Dharma Balasubiramani wrote:
> This patch series adds support for SAM9X7 and sama7d65 QSPI controller
> along with the SoC-specific capabilities.

The driver bits of this all look OK to me.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-02 12:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02  5:52 [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Dharma Balasubiramani
2025-09-02  5:52 ` [PATCH 1/5] spi: atmel,quadspi: Document sam9x7 QSPI Dharma Balasubiramani
2025-09-02  9:21   ` Krzysztof Kozlowski
2025-09-02  9:22   ` Krzysztof Kozlowski
2025-09-02  5:52 ` [PATCH 2/5] spi: atmel,quadspi: Define sama7d65 QSPI Dharma Balasubiramani
2025-09-02  5:52 ` [PATCH 3/5] spi: atmel-quadspi: add padcalib, 2xgclk, and dllon capabilities Dharma Balasubiramani
2025-09-02  5:52 ` [PATCH 4/5] spi: atmel-quadspi: add support for SAM9X7 QSPI controller Dharma Balasubiramani
2025-09-02  5:52 ` [PATCH 5/5] spi: atmel-quadspi: Add support for sama7d65 QSPI Dharma Balasubiramani
2025-09-02 11:08 ` [PATCH 0/5] Add QSPI support for sam9x7 and sama7d65 SoCs Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).