]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: ata: ahci: Add DWC AHCI SATA controller DT schema
authorBaikal Electronics <support@baikalelectronics.ru>
Fri, 9 Sep 2022 19:36:15 +0000 (22:36 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 16 Sep 2022 16:40:07 +0000 (01:40 +0900)
commit7c6a6a7ae62aaee483bf9652a0ba2f98c91a15c0
treec0bd115302e659929864ed86ec2e63eb97654e33
parent7ee8a45cd2a802a3d477f55b2c0df2c1c9b7895c
dt-bindings: ata: ahci: Add DWC AHCI SATA controller DT schema

Synopsys AHCI SATA controller is mainly compatible with the generic AHCI
SATA controller except a few peculiarities and the platform environment
requirements. In particular it can have at least two reference clocks to
feed up its AHB/AXI interface and SATA PHYs domain and at least one reset
control for the application clock domain. In addition to that the DMA
interface of each port can be tuned up to work with the predefined maximum
data chunk size. Note unlike generic AHCI controller DWC AHCI can't have
more than 8 ports. All of that is reflected in the new DWC AHCI SATA
device DT binding.

Note the DWC AHCI SATA controller DT-schema has been created in a way so
to be reused for the vendor-specific DT-schemas (see for example the
"snps,dwc-ahci" compatible string binding). One of which we are about to
introduce.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
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/snps,dwc-ahci-common.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml [new file with mode: 0644]