clk: mvebu: armada-39x: add clk description for supported interfaces
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Thu, 21 Jul 2016 10:48:10 +0000 (12:48 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:20:01 +0000 (18:20 -0700)
Both SATA and second USB3.0 interface are supported in Armada-39x SoC
family. Add necessary clk description, so both xhci and sata drivers
can be correctly initialized.

The binding documentation has also been updated accordingly.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
drivers/clk/mvebu/armada-39x.c

index 660e64912cceb69146f1ea6b4a18e8b533944223..cb8542d910b3f7d04cd34c918e178c5299b900cb 100644 (file)
@@ -86,6 +86,8 @@ ID    Clock           Peripheral
 7      pex3            PCIe 3
 8      pex0            PCIe 0
 9      usb3h0          USB3 Host 0
+10     usb3h1          USB3 Host 1
+15     sata0           SATA 0
 17     sdio            SDIO
 22     xor0            XOR 0
 28     xor1            XOR 1
index efb974df9822c454109d8842e2cc080d75222f32..4fdfd32247a9cba1fbf3d855919fccacb02b0334 100644 (file)
@@ -142,6 +142,8 @@ static const struct clk_gating_soc_desc armada_39x_gating_desc[] __initconst = {
        { "pex3", NULL, 7 },
        { "pex0", NULL, 8 },
        { "usb3h0", NULL, 9 },
+       { "usb3h1", NULL, 10 },
+       { "sata0", NULL, 15 },
        { "sdio", NULL, 17 },
        { "xor0", NULL, 22 },
        { "xor1", NULL, 28 },