Commit ffe9819b authored by Alexandru Ardelean's avatar Alexandru Ardelean Committed by Mark Brown

spi: dt-bindings: document zero value for spi-{rx,tx}-bus-width properties

Following a change to the SPI framework, providing a value of zero for
'spi-rx-bus-width' and 'spi-tx-bus-width' is now possible and will
essentially mean that no RX or TX is allowed.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201221152936.53873-3-alexandru.ardelean@analog.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d962608c
...@@ -152,8 +152,9 @@ patternProperties: ...@@ -152,8 +152,9 @@ patternProperties:
spi-rx-bus-width: spi-rx-bus-width:
description: description:
Bus width to the SPI bus used for read transfers. Bus width to the SPI bus used for read transfers.
If 0 is provided, then no RX will be possible on this device.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 2, 4, 8] enum: [0, 1, 2, 4, 8]
default: 1 default: 1
spi-rx-delay-us: spi-rx-delay-us:
...@@ -163,8 +164,9 @@ patternProperties: ...@@ -163,8 +164,9 @@ patternProperties:
spi-tx-bus-width: spi-tx-bus-width:
description: description:
Bus width to the SPI bus used for write transfers. Bus width to the SPI bus used for write transfers.
If 0 is provided, then no TX will be possible on this device.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 2, 4, 8] enum: [0, 1, 2, 4, 8]
default: 1 default: 1
spi-tx-delay-us: spi-tx-delay-us:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment