Skip to content

Commit 9af8765

Browse files
committed
[nrf fromtree] dts: bindings: mspi-controller: Add "packet-data-limit" property
Add a property with which MSPI controllers can indicate their limits on the maximum amount of data they can transfer in one packet. Use the property for the SSI controller, for which the clock stretching feature requires the use of the NDF field of the CTRLR1 register, which is 16-bit wide, hence the data length limit is 64 kB. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit b42a33d)
1 parent 077c913 commit 9af8765

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

dts/bindings/mspi/mspi-controller.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,11 @@ properties:
9292
Regardless of whether the CE pin may need software control or MSPI
9393
controller has dedicated CE pin, this field should be defined to
9494
help manage multiple devices on the same MSPI controller.
95+
96+
packet-data-limit:
97+
type: int
98+
description: |
99+
Specifies the maximum length of data that the controller can transfer
100+
in a single packet. Transceive requests made to the controller must be
101+
split into multiple packets if a single one would exceed this value.
102+
If not specified, no limit is imposed.

dts/bindings/mspi/snps,designware-ssi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ properties:
1414
interrupts:
1515
required: true
1616

17+
packet-data-limit:
18+
required: true
19+
const: 65536
20+
1721
aux-reg-enable:
1822
type: boolean
1923
description: |

dts/vendor/nordic/nrf54h20.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@
649649
interrupts = <149 NRF_DEFAULT_IRQ_PRIORITY>;
650650
power-domains = <&gdpwr_fast_active_0>;
651651
clock-frequency = <DT_FREQ_M(400)>;
652+
packet-data-limit = <65536>;
652653
fifo-depth = <32>;
653654
status = "disabled";
654655
};

dts/vendor/nordic/nrf9280.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@
384384
reg-names = "wrapper", "core";
385385
interrupts = <149 NRF_DEFAULT_IRQ_PRIORITY>;
386386
clock-frequency = <DT_FREQ_M(400)>;
387+
packet-data-limit = <65536>;
387388
fifo-depth = <32>;
388389
status = "disabled";
389390
};

0 commit comments

Comments
 (0)