[POWERPC] fsl_soc: add support to gianfar for fixed-link property

Previous thread: [POWERPC] 83xx: convert boards to use machine_device_initcall by Linux Kernel Mailing List on Wednesday, January 30, 2008 - 8:04 pm. (1 message)

Next thread: [POWERPC] 83xx: USB device tree cleanups by Linux Kernel Mailing List on Wednesday, January 30, 2008 - 8:04 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, January 30, 2008 - 8:04 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a21e28...
Commit:     a21e282a124f4679c040087ab73aa5b147d4275f
Parent:     e30007656463228ba23748df81a786f74dabf8b4
Author:     Vitaly Bordug <vitb@kernel.crashing.org>
AuthorDate: Fri Dec 7 01:51:31 2007 +0300
Committer:  Kumar Gala <galak@kernel.crashing.org>
CommitDate: Wed Jan 23 19:34:04 2008 -0600

    [POWERPC] fsl_soc: add support to gianfar for fixed-link property
    
    fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that
    not connected to the real MDIO bus.
    
    Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
    Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 Documentation/powerpc/booting-without-of.txt |    4 +
 arch/powerpc/sysdev/fsl_soc.c                |   79 ++++++++++++++++++++------
 2 files changed, 66 insertions(+), 17 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index e58fd31..f920c24 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1257,6 +1257,10 @@ platforms are moved over to use the flattened-device-tree model.
       services interrupts for this device.
     - phy-handle : The phandle for the PHY connected to this ethernet
       controller.
+    - fixed-link : <a b c d e> where a is emulated phy id - choose any,
+      but unique to the all specified fixed-links, b is duplex - 0 half,
+      1 full, c is link speed - d#10/d#100/d#1000, d is pause - 0 no
+      pause, 1 pause, e is asym_pause - 0 no asym_pause, 1 asym_pause.
 
   Recommended properties:
 
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index f5c2402..474cb8e 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -24,6 +24,7 @@
 #include <linux/platform_device.h>
 ...
Previous thread: [POWERPC] 83xx: convert boards to use machine_device_initcall by Linux Kernel Mailing List on Wednesday, January 30, 2008 - 8:04 pm. (1 message)

Next thread: [POWERPC] 83xx: USB device tree cleanups by Linux Kernel Mailing List on Wednesday, January 30, 2008 - 8:04 pm. (1 message)