faf9de6738dcc6f92d2ccf80162be62bdd3dbab2
[openwrt/svn-archive/archive.git] / target / linux / kirkwood / patches-3.10 / 0004-clk-mvebu-create-parent-child-relation-for-PCIe-cloc.patch
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
5 clocks on Armada 370
6
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
10 clocks on Armada XP.
11
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 Cc: Mike Turquette <mturquette@linaro.org>
14 ---
15 drivers/clk/mvebu/clk-gating-ctrl.c | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
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 },
24 { "ge1", NULL, 3 },
25 { "ge0", NULL, 4 },
26 - { "pex0", NULL, 5 },
27 - { "pex1", NULL, 9 },
28 + { "pex0", "pex0_en", 5 },
29 + { "pex1", "pex1_en", 9 },
30 { "sata0", NULL, 15 },
31 { "sdio", NULL, 17 },
32 { "tdm", NULL, 25 },
33 --
34 1.8.4.rc1
35