Commit 6f997d4b authored by Serge Semin's avatar Serge Semin Committed by Damien Le Moal
Browse files

dt-bindings: ata: ahci-platform: Move dma-coherent to sata-common.yaml



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: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent d3243965
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -87,8 +87,6 @@ properties:
    description:
    description:
      regulator for AHCI controller
      regulator for AHCI controller


  dma-coherent: true

  phy-supply:
  phy-supply:
    description:
    description:
      regulator for PHY power
      regulator for PHY power
+0 −2
Original line number Original line Diff line number Diff line
@@ -41,8 +41,6 @@ properties:
  interrupts:
  interrupts:
    maxItems: 1
    maxItems: 1


  dma-coherent: true

if:
if:
  properties:
  properties:
    compatible:
    compatible:
+2 −0
Original line number Original line Diff line number Diff line
@@ -31,6 +31,8 @@ properties:
  "#size-cells":
  "#size-cells":
    const: 0
    const: 0


  dma-coherent: true

patternProperties:
patternProperties:
  "^sata-port@[0-9a-e]$":
  "^sata-port@[0-9a-e]$":
    description: |
    description: |