Skip to content

Commit be8d456

Browse files
committed
spi: cadence-qspi: Add Renesas RZ/N1 support
Merge series from "Miquel Raynal (Schneider Electric)" <miquel.raynal@bootlin.com>: This series adds support for the QSPI controller available on Renesas RZ/N1S and RZ/N1D SoC. It has been tested with a custom board (see last SPI patch for details), but has been tested by Wolfram (thank you!) on the DB board. Link: https://lore.kernel.org/linux-devicetree/20260116114852.52948-2-wsa+renesas@sang-engineering.com/ Adding support for this SoC required a few adaptations to the Cadence QSPI driver which have already been merged (except one regarding clocks handling). This series contains the remaining patches, the ones actually adding support for the RZ/N1 flavour.
2 parents 6516169 + a40236f commit be8d456

2 files changed

Lines changed: 88 additions & 99 deletions

File tree

Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ allOf:
6161
cdns,fifo-depth:
6262
enum: [ 128, 256 ]
6363
default: 128
64+
- if:
65+
properties:
66+
compatible:
67+
contains:
68+
const: renesas,rzn1-qspi
69+
then:
70+
properties:
71+
cdns,trigger-address: false
72+
cdns,fifo-depth: false
73+
cdns,fifo-width: false
74+
else:
75+
required:
76+
- cdns,trigger-address
77+
- cdns,fifo-depth
6478

6579
properties:
6680
compatible:
@@ -80,6 +94,9 @@ properties:
8094
# controllers are meant to be used with flashes of all kinds,
8195
# ie. also NAND flashes, not only NOR flashes.
8296
- const: cdns,qspi-nor
97+
- items:
98+
- const: renesas,r9a06g032-qspi
99+
- const: renesas,rzn1-qspi
83100
- const: cdns,qspi-nor
84101
deprecated: true
85102

@@ -163,8 +180,6 @@ required:
163180
- reg
164181
- interrupts
165182
- clocks
166-
- cdns,fifo-width
167-
- cdns,trigger-address
168183
- '#address-cells'
169184
- '#size-cells'
170185

0 commit comments

Comments
 (0)