mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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>
This commit is contained in:
parent
8ea39d960c
commit
2b97f5cd1a
1 changed files with 17 additions and 2 deletions
|
|
@ -61,6 +61,20 @@ allOf:
|
|||
cdns,fifo-depth:
|
||||
enum: [ 128, 256 ]
|
||||
default: 128
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: renesas,rzn1-qspi
|
||||
then:
|
||||
properties:
|
||||
cdns,trigger-address: false
|
||||
cdns,fifo-depth: false
|
||||
cdns,fifo-width: false
|
||||
else:
|
||||
required:
|
||||
- cdns,trigger-address
|
||||
- cdns,fifo-depth
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
|
|
@ -80,6 +94,9 @@ properties:
|
|||
# controllers are meant to be used with flashes of all kinds,
|
||||
# ie. also NAND flashes, not only NOR flashes.
|
||||
- const: cdns,qspi-nor
|
||||
- items:
|
||||
- const: renesas,r9a06g032-qspi
|
||||
- const: renesas,rzn1-qspi
|
||||
- const: cdns,qspi-nor
|
||||
deprecated: true
|
||||
|
||||
|
|
@ -163,8 +180,6 @@ required:
|
|||
- reg
|
||||
- interrupts
|
||||
- clocks
|
||||
- cdns,fifo-width
|
||||
- cdns,trigger-address
|
||||
- '#address-cells'
|
||||
- '#size-cells'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue