Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: spi: zynqmp-qspi: Include two 'reg' properties only for the Zynq UltraScale QSPI

Linear mode is only supported by the Zynq UltraScale QSPI controller,
so update the bindings to include two 'reg' properties only for the
Zynq UltraScale QSPI controller.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/20240925114203.2234735-1-amit.kumar-mahapatra@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Amit Kumar Mahapatra and committed by
Mark Brown
759541d7 494c3dc4

+19 -3
+19 -3
Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml
··· 9 9 maintainers: 10 10 - Michal Simek <michal.simek@amd.com> 11 11 12 - allOf: 13 - - $ref: spi-controller.yaml# 14 - 15 12 properties: 16 13 compatible: 17 14 enum: ··· 16 19 - xlnx,zynqmp-qspi-1.0 17 20 18 21 reg: 22 + minItems: 1 19 23 maxItems: 2 20 24 21 25 interrupts: ··· 44 46 - clocks 45 47 46 48 unevaluatedProperties: false 49 + 50 + allOf: 51 + - $ref: spi-controller.yaml# 52 + 53 + - if: 54 + properties: 55 + compatible: 56 + contains: 57 + const: xlnx,zynqmp-qspi-1.0 58 + then: 59 + properties: 60 + reg: 61 + minItems: 2 62 + 63 + else: 64 + properties: 65 + reg: 66 + maxItems: 1 47 67 48 68 examples: 49 69 - |