dt-bindings: ata: ahci-platform: Move dma-coherent to sata-common.yaml
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Fri, 9 Sep 2022 19:35:59 +0000 (22:35 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 16 Sep 2022 16:38:56 +0000 (01:38 +0900)
Seeing doubtfully any SATA device working without embedded DMA engine
let's permit the device nodes being equipped with the dma-coherent
property in case if the platform is capable of cache-coherent DMAs.

As a side-effect we can drop the explicit dma-coherent property definition
from the particular device schemas. Currently it concerns the Broadcom
SATA AHCI controller only.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Documentation/devicetree/bindings/ata/ahci-platform.yaml
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml
Documentation/devicetree/bindings/ata/sata-common.yaml

index c146ab8e14e5ffecc23251235ca4a0a55b7fa7ce..9304e4731965d07273d679dedf16f266cbe88e15 100644 (file)
@@ -87,8 +87,6 @@ properties:
     description:
       regulator for AHCI controller
 
-  dma-coherent: true
-
   phy-supply:
     description:
       regulator for PHY power
index 235a93ac86b05b1ba7ad5acb9af5c896f4f27438..4ee74df8e58abc6693c6d72b37c2e6c11ffa3eef 100644 (file)
@@ -41,8 +41,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  dma-coherent: true
-
 if:
   properties:
     compatible:
index 7ac77b1c5850d85062024d974bb871ce95e168ec..cb88d3e25e73a02bc91c4b4befd491a697877e85 100644 (file)
@@ -31,6 +31,8 @@ properties:
   "#size-cells":
     const: 0
 
+  dma-coherent: true
+
 patternProperties:
   "^sata-port@[0-9a-e]$":
     description: |