[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.0-8-g7b7c02c
Brought to you by:
sszy
|
From: Gwenhael Goavec-M. <gwe...@us...> - 2012-09-02 12:49:49
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 7b7c02ce26135023ba7ffed72b871ccb16da73f8 (commit)
via 7d3cd3f63bb26ff76c46a12283f84eeaddf3499b (commit)
from 35feb0551061d31a7ae82655cd67cd51bac3572f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7b7c02ce26135023ba7ffed72b871ccb16da73f8
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sun Sep 2 14:49:03 2012 +0200
[LINUX][3.5] apf28 dts: add fec reset gpio definition
commit 7d3cd3f63bb26ff76c46a12283f84eeaddf3499b
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sun Sep 2 14:48:08 2012 +0200
[LINUX][3.5] mx28: enable fec phy clock
-----------------------------------------------------------------------
Summary of changes:
.../3.5/0403-armadeus-Add-apf28-dts-files.patch | 9 +++--
...04-armadeus-mx28_Initialize_fec_phy_clock.patch | 34 ++++++++++++++++++++
2 files changed, 39 insertions(+), 4 deletions(-)
create mode 100644 patches/linux/3.5/0404-armadeus-mx28_Initialize_fec_phy_clock.patch
diff --git a/patches/linux/3.5/0403-armadeus-Add-apf28-dts-files.patch b/patches/linux/3.5/0403-armadeus-Add-apf28-dts-files.patch
index 8e1a561..12173ab 100644
--- a/patches/linux/3.5/0403-armadeus-Add-apf28-dts-files.patch
+++ b/patches/linux/3.5/0403-armadeus-Add-apf28-dts-files.patch
@@ -1,8 +1,8 @@
-Index: linux-3.5-rc5/arch/arm/boot/dts/imx28-apf28.dts
+Index: linux-3.5/arch/arm/boot/dts/imx28-apf28.dts
===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.5-rc5/arch/arm/boot/dts/imx28-apf28.dts 2012-07-09 08:29:09.000000000 +0200
-@@ -0,0 +1,52 @@
+--- /dev/null
++++ linux-3.5/arch/arm/boot/dts/imx28-apf28.dts
+@@ -0,0 +1,53 @@
+/*
+ * Copyright 2012 Armadeus Systems - <su...@ar...>
+ *
@@ -51,6 +51,7 @@ Index: linux-3.5-rc5/arch/arm/boot/dts/imx28-apf28.dts
+ phy-mode = "rmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mac0_pins_a>;
++ phy-reset-gpios = <&gpio4 13 0>;
+ status = "okay";
+ };
+ };
diff --git a/patches/linux/3.5/0404-armadeus-mx28_Initialize_fec_phy_clock.patch b/patches/linux/3.5/0404-armadeus-mx28_Initialize_fec_phy_clock.patch
new file mode 100644
index 0000000..3958f4e
--- /dev/null
+++ b/patches/linux/3.5/0404-armadeus-mx28_Initialize_fec_phy_clock.patch
@@ -0,0 +1,34 @@
+Fec phy clock needs to be enabled to have the interface working.
+
+Signed-off-by: Gwenhael Goavec-Merou <gwe...@ar...>
+---
+
+Index: linux-3.5/arch/arm/mach-mxs/mach-mxs.c
+===================================================================
+--- linux-3.5.orig/arch/arm/mach-mxs/mach-mxs.c
++++ linux-3.5/arch/arm/mach-mxs/mach-mxs.c
+@@ -81,11 +81,24 @@ static void __init imx28_evk_init(void)
+ clk_prepare_enable(clk);
+ }
+
++static void __init apf28_init(void)
++{
++ struct clk *clk;
++
++ /* Enable fec phy clock */
++ clk = clk_get_sys("enet_out", NULL);
++ if (!IS_ERR(clk))
++ clk_prepare_enable(clk);
++}
++
+ static void __init mxs_machine_init(void)
+ {
+ if (of_machine_is_compatible("fsl,imx28-evk"))
+ imx28_evk_init();
+
++ if (of_machine_is_compatible("armadeus,imx28-apf28"))
++ apf28_init();
++
+ of_platform_populate(NULL, of_default_bus_match_table,
+ NULL, NULL);
+ }
hooks/post-receive
--
armadeus
|