aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata/sata-common.yaml
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2022-09-09 22:35:59 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-09-17 01:38:56 +0900
commit6f997d4bb98becdc5d23affe207b3b0e854bcc3b (patch)
tree37c47d8542b4b4ff95e3305aa3f218fcdd250c14 /Documentation/devicetree/bindings/ata/sata-common.yaml
parentata: make PATA_PLATFORM selectable only for suitable architectures (diff)
downloadlinux-dev-6f997d4bb98becdc5d23affe207b3b0e854bcc3b.tar.xz
linux-dev-6f997d4bb98becdc5d23affe207b3b0e854bcc3b.zip
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: 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>
Diffstat (limited to 'Documentation/devicetree/bindings/ata/sata-common.yaml')
-rw-r--r--Documentation/devicetree/bindings/ata/sata-common.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/sata-common.yaml b/Documentation/devicetree/bindings/ata/sata-common.yaml
index 7ac77b1c5850..cb88d3e25e73 100644
--- a/Documentation/devicetree/bindings/ata/sata-common.yaml
+++ b/Documentation/devicetree/bindings/ata/sata-common.yaml
@@ -31,6 +31,8 @@ properties:
"#size-cells":
const: 0
+ dma-coherent: true
+
patternProperties:
"^sata-port@[0-9a-e]$":
description: |