Sfoglia il codice sorgente

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>
Thomas Petazzoni 12 anni fa
parent
commit
fb6638ba43
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      drivers/clk/mvebu/clk-gating-ctrl.c

+ 2 - 2
drivers/clk/mvebu/clk-gating-ctrl.c

@@ -119,8 +119,8 @@ static const struct mvebu_soc_descr __initconst armada_370_gating_descr[] = {
 	{ "pex1_en", NULL,  2 },
 	{ "pex1_en", NULL,  2 },
 	{ "ge1", NULL, 3 },
 	{ "ge1", NULL, 3 },
 	{ "ge0", NULL, 4 },
 	{ "ge0", NULL, 4 },
-	{ "pex0", NULL, 5 },
-	{ "pex1", NULL, 9 },
+	{ "pex0", "pex0_en", 5 },
+	{ "pex1", "pex1_en", 9 },
 	{ "sata0", NULL, 15 },
 	{ "sata0", NULL, 15 },
 	{ "sdio", NULL, 17 },
 	{ "sdio", NULL, 17 },
 	{ "tdm", NULL, 25 },
 	{ "tdm", NULL, 25 },