Skip to content

Commit 2b97f5c

Browse files
miquelraynalbroonie
authored andcommitted
spi: dt-bindings: cdns,qspi-nor: Add Renesas RZ/N1D400 to the list
Add support for the Renesas RZ/N1D400 QSPI controller. This SoC is identified in the bindings with its other name: r9a06g032. It is part of the RZ/N1 family, which contains a "D" and a "S" variant. IPs in this SoC are typically described using 2 compatibles: the SoC specific compatible and the family compatible. The original Cadence IP compatible is dropped because it is unusable on its own. Indirect accesses are not supported by this flavour of the Cadence IP, which means several properties have no meaning in the scope of the Renesas compatible. Let's make sure they are no longer expected nor mandatory. Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Miquel Raynal (Schneider Electric) <miquel.raynal@bootlin.com> Link: https://patch.msgid.link/20260205-schneider-6-19-rc1-qspi-v5-1-843632b3c674@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8ea39d9 commit 2b97f5c

1 file changed

Lines changed: 17 additions & 2 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)