summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2021-04-06 18:25:30 -0700
committerJens Axboe <axboe@kernel.dk>2021-04-07 10:05:03 -0600
commitd843419d295f4d1cc8c24a0c7725785168675b34 (patch)
tree962185ea86b030de2883d175561ae79e463f527b
parent8ff35bb23442feb184c66cfec2737eb9c41df8a1 (diff)
downloadlinux-d843419d295f4d1cc8c24a0c7725785168675b34.tar.bz2
dt-binding: ata: tegra: Add dt-binding documentation for Tegra186
This patch adds dt-bindings documentation for Tegra186 AHCI controller. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/1617758731-12380-3-git-send-email-skomatineni@nvidia.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml
index 3c15aea0b499..a75e9a8f539a 100644
--- a/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml
+++ b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml
@@ -16,6 +16,7 @@ properties:
- nvidia,tegra124-ahci
- nvidia,tegra132-ahci
- nvidia,tegra210-ahci
+ - nvidia,tegra186-ahci
reg:
minItems: 2
@@ -37,14 +38,31 @@ properties:
maxItems: 2
reset-names:
+ minItems: 2
items:
- const: sata
- const: sata-cold
- const: sata-oob
resets:
+ minItems: 2
maxItems: 3
+ iommus:
+ maxItems: 1
+
+ interconnect-names:
+ items:
+ - const: dma-mem
+ - const: write
+
+ interconnects:
+ maxItems: 2
+
+ power-domains:
+ items:
+ - description: SAX power-domain
+
phy-names:
items:
- const: sata-0
@@ -114,6 +132,26 @@ allOf:
resets:
minItems: 3
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - nvidia,tegra186-ahci
+ then:
+ properties:
+ reg:
+ minItems: 3
+ reset-names:
+ maxItems: 2
+ resets:
+ maxItems: 2
+ required:
+ - iommus
+ - interconnect-names
+ - interconnects
+ - power-domains
+
additionalProperties: true
examples: