1 From adebeab033de18cabf880f98d2167095520243f2 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Fri, 7 Dec 2012 20:35:20 +0100
4 Subject: [PATCH 04/29] clk: mvebu: create parent-child relation for PCIe
7 The Armada 370 has two gatable clocks for each PCIe interface, and we
8 want both of them to be enabled. We therefore make one of the two
9 clocks a child of the other, as we did for the sataX and sataXlnk
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Cc: Mike Turquette <mturquette@linaro.org>
15 drivers/clk/mvebu/clk-gating-ctrl.c | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
18 diff --git a/drivers/clk/mvebu/clk-gating-ctrl.c b/drivers/clk/mvebu/clk-gating-ctrl.c
19 index ebf141d..b35785a 100644
20 --- a/drivers/clk/mvebu/clk-gating-ctrl.c
21 +++ b/drivers/clk/mvebu/clk-gating-ctrl.c
22 @@ -119,8 +119,8 @@ static const struct mvebu_soc_descr __initconst armada_370_gating_descr[] = {
23 { "pex1_en", NULL, 2 },
26 - { "pex0", NULL, 5 },
27 - { "pex1", NULL, 9 },
28 + { "pex0", "pex0_en", 5 },
29 + { "pex1", "pex1_en", 9 },
30 { "sata0", NULL, 15 },