kirkwood: add Pogoplug E02 Kernel support
[openwrt/openwrt.git] / target / linux / kirkwood / patches-3.10 / 0004-clk-mvebu-create-parent-child-relation-for-PCIe-cloc.patch
1 From 72fb19fc4ff89878273799eb38e8d95b0add3c05 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Thu, 16 May 2013 17:55:20 +0200
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 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
15 ---
16 drivers/clk/mvebu/clk-gating-ctrl.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/drivers/clk/mvebu/clk-gating-ctrl.c
20 +++ b/drivers/clk/mvebu/clk-gating-ctrl.c
21 @@ -119,8 +119,8 @@ static const struct mvebu_soc_descr __in
22 { "pex1_en", NULL, 2 },
23 { "ge1", NULL, 3 },
24 { "ge0", NULL, 4 },
25 - { "pex0", NULL, 5 },
26 - { "pex1", NULL, 9 },
27 + { "pex0", "pex0_en", 5 },
28 + { "pex1", "pex1_en", 9 },
29 { "sata0", NULL, 15 },
30 { "sdio", NULL, 17 },
31 { "tdm", NULL, 25 },