Skip to content

Commit 62e8ce8

Browse files
sumanannaSantoshShilimkar
authored andcommitted
dt-bindings: soc: ti: pruss: Add dma-coherent property
Update the PRUSS schema file to include the dma-coherent property that indicates the coherency of the IP. The PRUSS IPs on 66AK2G SoCs do use this property. The new added dma-coherent property is a required property _only_ for 66AK2G SoCs and is not required/applicable for other SoCs, so the binding is backward compatible for other SoCs. This update is being done before the corresponding dts nodes can be added for 66AK2G SoCs. Signed-off-by: Suman Anna <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
1 parent ed4520d commit 62e8ce8

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ properties:
8585
dma-ranges:
8686
maxItems: 1
8787

88+
dma-coherent: true
89+
8890
power-domains:
8991
description: |
9092
This property is as per sci-pm-domain.txt.
@@ -324,18 +326,29 @@ additionalProperties: false
324326
# - interrupt-controller
325327
# - pru
326328

327-
if:
328-
properties:
329-
compatible:
330-
contains:
331-
enum:
332-
- ti,k2g-pruss
333-
- ti,am654-icssg
334-
- ti,j721e-icssg
335-
- ti,am642-icssg
336-
then:
337-
required:
338-
- power-domains
329+
allOf:
330+
- if:
331+
properties:
332+
compatible:
333+
contains:
334+
enum:
335+
- ti,k2g-pruss
336+
- ti,am654-icssg
337+
- ti,j721e-icssg
338+
- ti,am642-icssg
339+
then:
340+
required:
341+
- power-domains
342+
343+
- if:
344+
properties:
345+
compatible:
346+
contains:
347+
enum:
348+
- ti,k2g-pruss
349+
then:
350+
required:
351+
- dma-coherent
339352

340353
examples:
341354
- |

0 commit comments

Comments
 (0)