Skip to content

Commit

Permalink
dt-bindings: spi: cadence-quadspi: Add support for Xilinx Versal OSPI
Browse files Browse the repository at this point in the history
Add new compatible to support Cadence Octal SPI(OSPI) controller on
Xilinx Versal SoCs, also add power-domains property to the properties
list and marked as required for Xilinx Versal OSPI compatible.

Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Link: https://lore.kernel.org/r/1632478031-12242-3-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Sai Krishna Potthuri authored and Mark Brown committed Oct 1, 2021
1 parent 74e78ad commit 8db76cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ maintainers:

allOf:
- $ref: spi-controller.yaml#
- if:
properties:
compatible:
contains:
const: xlnx,versal-ospi-1.0
then:
required:
- power-domains

properties:
compatible:
Expand All @@ -20,6 +28,7 @@ properties:
- ti,k2g-qspi
- ti,am654-ospi
- intel,lgm-qspi
- xlnx,versal-ospi-1.0
- const: cdns,qspi-nor
- const: cdns,qspi-nor

Expand Down Expand Up @@ -65,6 +74,9 @@ properties:
data rather than the QSPI clock. Make sure that QSPI return clock
is populated on the board before using this property.

power-domains:
maxItems: 1

resets:
maxItems: 2

Expand Down

0 comments on commit 8db76cf

Please sign in to comment.