diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-01-17 22:29:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-01-17 22:29:13 +0000 |
commit | 005e0ee7c98fa04776cffb044b6c5d2bea2cb491 (patch) | |
tree | 28aaf81b887b4bcd8212e99aee3297f411265556 /target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch | |
parent | 4d55ef2877053cbcf69feee2009628d31a7c65f6 (diff) | |
download | master-187ad058-005e0ee7c98fa04776cffb044b6c5d2bea2cb491.tar.gz master-187ad058-005e0ee7c98fa04776cffb044b6c5d2bea2cb491.tar.bz2 master-187ad058-005e0ee7c98fa04776cffb044b6c5d2bea2cb491.zip |
mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch b/target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch new file mode 100644 index 0000000000..2cccc0357b --- /dev/null +++ b/target/linux/mvebu/patches-3.8/029-clk_mvebu_create_parent_child_relation.patch @@ -0,0 +1,24 @@ +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> +--- + drivers/clk/mvebu/clk-gating-ctrl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/drivers/clk/mvebu/clk-gating-ctrl.c ++++ b/drivers/clk/mvebu/clk-gating-ctrl.c +@@ -119,8 +119,8 @@ static const struct mvebu_soc_descr __in + { "pex1_en", NULL, 2 }, + { "ge1", NULL, 3 }, + { "ge0", NULL, 4 }, +- { "pex0", NULL, 5 }, +- { "pex1", NULL, 9 }, ++ { "pex0", "pex0_en", 5 }, ++ { "pex1", "pex1_en", 9 }, + { "sata0", NULL, 15 }, + { "sdio", NULL, 17 }, + { "tdm", NULL, 25 }, |