Commit fb6638ba43931feb00361f7184587a97b57d336b

Authored by Thomas Petazzoni
Committed by Jason Cooper
1 parent 4e23d3f505

clk: mvebu: create parent-child relation for PCIe clocks on Armada 370

The Armada 370 has two gatable clocks for each PCIe interface, and we
want both of them to be enabled. We therefore make one of the two
clocks a child of the other, as we did for the sataX and sataXlnk
clocks on Armada XP.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/clk/mvebu/clk-gating-ctrl.c
... ... @@ -119,8 +119,8 @@
119 119 { "pex1_en", NULL, 2 },
120 120 { "ge1", NULL, 3 },
121 121 { "ge0", NULL, 4 },
122   - { "pex0", NULL, 5 },
123   - { "pex1", NULL, 9 },
  122 + { "pex0", "pex0_en", 5 },
  123 + { "pex1", "pex1_en", 9 },
124 124 { "sata0", NULL, 15 },
125 125 { "sdio", NULL, 17 },
126 126 { "tdm", NULL, 25 },