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

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 <s-anna@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>

authored by

Suman Anna and committed by
Santosh Shilimkar
62e8ce85 ed4520d6

+25 -12
+25 -12
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
··· 85 85 dma-ranges: 86 86 maxItems: 1 87 87 88 + dma-coherent: true 89 + 88 90 power-domains: 89 91 description: | 90 92 This property is as per sci-pm-domain.txt. ··· 326 324 # - interrupt-controller 327 325 # - pru 328 326 329 - if: 330 - properties: 331 - compatible: 332 - contains: 333 - enum: 334 - - ti,k2g-pruss 335 - - ti,am654-icssg 336 - - ti,j721e-icssg 337 - - ti,am642-icssg 338 - then: 339 - required: 340 - - power-domains 327 + allOf: 328 + - if: 329 + properties: 330 + compatible: 331 + contains: 332 + enum: 333 + - ti,k2g-pruss 334 + - ti,am654-icssg 335 + - ti,j721e-icssg 336 + - ti,am642-icssg 337 + then: 338 + required: 339 + - power-domains 340 + 341 + - if: 342 + properties: 343 + compatible: 344 + contains: 345 + enum: 346 + - ti,k2g-pruss 347 + then: 348 + required: 349 + - dma-coherent 341 350 342 351 examples: 343 352 - |