Skip to content

Commit

Permalink
dt-bindings: soc: ti: pruss: Add dma-coherent property
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
sumananna authored and SantoshShilimkar committed Aug 10, 2021
1 parent ed4520d commit 62e8ce8
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ properties:
dma-ranges:
maxItems: 1

dma-coherent: true

power-domains:
description: |
This property is as per sci-pm-domain.txt.
Expand Down Expand Up @@ -324,18 +326,29 @@ additionalProperties: false
# - interrupt-controller
# - pru

if:
properties:
compatible:
contains:
enum:
- ti,k2g-pruss
- ti,am654-icssg
- ti,j721e-icssg
- ti,am642-icssg
then:
required:
- power-domains
allOf:
- if:
properties:
compatible:
contains:
enum:
- ti,k2g-pruss
- ti,am654-icssg
- ti,j721e-icssg
- ti,am642-icssg
then:
required:
- power-domains

- if:
properties:
compatible:
contains:
enum:
- ti,k2g-pruss
then:
required:
- dma-coherent

examples:
- |
Expand Down

0 comments on commit 62e8ce8

Please sign in to comment.