18 May, 2011

1 commit

  • The 'size' variable contains the correct register size for both AR7
    and Titan, but we never used it to ioremap the correct register size.
    This problem only shows up on Titan.

    [ralf@linux-mips.org: Fixed the fix. The original patch as in patchwork
    recognizes the problem correctly then fails to fix it ...]

    Reported-by: Alexander Clouter
    Signed-off-by: Florian Fainelli
    Patchwork: https://patchwork.linux-mips.org/patch/2380/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     

29 Mar, 2011

1 commit


26 Mar, 2011

1 commit


17 Dec, 2010

1 commit

  • TNETD7200 run their CPU clock faster than the default CPU clock we assume.
    In order to have the correct loops per jiffies settings, initialize clocks right
    before setting mips_hpt_frequency. As a side effect, we can no longer use
    msleep in clocks.c which requires other parts of the kernel to be initialized,
    so replace these with mdelay.

    Signed-off-by: Florian Fainelli
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1749/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     

30 Oct, 2010

2 commits

  • Add support for Titan TNETV1050,1055,1056,1060 variants. This SoC is almost
    completely identical to AR7 except on a few points:
    - a second bank of gpios is available
    - vlynq0 on titan is vlynq1 on ar7
    - different PHY addresses for cpmac0

    This SoC can be found on commercial products like the Linksys WRTP54G

    Original patch by Xin with improvments by Florian.

    Signed-off-by: Xin Zhen
    Signed-off-by: Florian Fainelli
    Patchwork: http://patchwork.linux-mips.org/patch/1563/
    Signed-off-by: Ralf Baechle

    ---

    Florian Fainelli
     
  • In order to detect the Titan variant, we must initialize GPIOs earlier since
    detection relies on some GPIO values to be set.

    Signed-off-by: Florian Fainelli
    Patchwork: http://patchwork.linux-mips.org/patch/1562/
    Signed-off-by: Ralf Baechle

    ---

    Florian Fainelli
     

07 Oct, 2010

1 commit

  • Add missing #inclusions of to a whole bunch of files that should
    really include it. Note that this can replace #inclusions of .

    This is required for the patch to sort out irqflags handling function naming to
    compile on MIPS.

    The problem is that these files require access to things like setup_irq() -
    which isn't available by #including

    Signed-off-by: David Howells
    Acked-by: Ralf Baechle

    David Howells
     

05 Aug, 2010

2 commits

  • Shamelessly stealing wisdom from pasemi_mac.c, I found char2hex() could
    be replaced with a single call to sscanf(), looks cleaner to me at
    least. The result is 100 bytes trimmed off the size of a compiled
    cpmac_get_mac() and as an extra bonus it grumbles and gracefully fails
    over to using random_ether_addr() when an attempt to parse an invalid
    MAC address is made.

    Signed-off-by: Alexander Clouter
    To: linux-mips@linux-mips.org
    Cc: florian@openwrt.org
    Signed-off-by: Ralf Baechle

    Alexander Clouter
     
  • Move platform specific definitions to the platfrom directories.

    Each platform shall do the following:
    1) include an entry in arch/mips/Kbuild.platforms
    2) add relevant definitions to arch/mips//Platform

    This commits changes ar7 to the new scheme as an example.

    Introducing a platform speecific Platfrom file has following advantages:
    1) decentralization of platfrom definitions
    2) simplification af arch/mips/Makefile
    3) force all platfrom to build with -Werror (done in arch/mips/Kbuild)

    [Ralf: Remove forgotten -Werror from AR7 Makefile]

    Signed-off-by: Sam Ravnborg
    To: linux-mips
    To: Wu Zhangjin
    Patchwork: https://patchwork.linux-mips.org/patch/1302/
    Patchwork: http://patchwork.linux-mips.org/patch/1308/
    Signed-off-by: Ralf Baechle

    Sam Ravnborg
     

06 Jul, 2010

1 commit

  • PORT_AR7 has the correct TRIG flag (UART_FCR_R_TRIG_00) as well as
    UART_CAP_AFE being set. This fixes UART on TNETD7300 revision 0x02,
    which would otherwise mangle some characters, no side effects on
    other revisions.

    Signed-off-by: Florian Fainelli
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1246/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     

22 May, 2010

2 commits

  • ar7_regiser_devices needs ar7_clocks_init to have been called first,
    however clock.o is currently linked later due to its order in the Makefile,
    therefore ar7_clocks_init always gets called later than ar7_register_devices
    because both have the same initcall level. Fix this by moving
    ar7_register_devices to the right initcall level.

    Reported-by: Michael J. Evans
    Signed-off-by: Florian Fainelli
    To: linux-mips@linux-mips.org
    Cc: Ralf Baechle
    Patchwork: http://patchwork.linux-mips.org/patch/1212/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     
  • Instead of doing yet another switch/case on the chip_id, use existing
    inline function to set the watchdog base address.

    Signed-off-by: Florian Fainelli
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1211/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     

13 Apr, 2010

2 commits

  • Seems I trimmed one too many lines in
    29ca2d81bd2a62fa86bc9a72ddadcf03d7daf795 (lmo) rsp
    7084338eb8eb0cc021ba86c340157bad397f3f0b (kernel.org) which led to no
    functioning Ethernet on my WAG54Gv2. This patch restores the AWOL line.

    Signed-off-by: Alexander Clouter
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1065/
    Signed-off-by: Ralf Baechle

    Alexander Clouter
     
  • Seems in my whitespace cleanup 0f2536082d01448daeced8d9e82c3ba1751fefa3
    (lmo) rsp. 8c2961da46abd85a71d20f2b169bf80618e (kernel.org) caused AR7
    to no longer get as far as init. Fixed my phat fingering.

    Signed-off-by: Alexander Clouter
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1064/
    Signed-off-by: Ralf Baechle

    Alexander Clouter
     

27 Feb, 2010

8 commits


02 Feb, 2010

1 commit


13 Jan, 2010

2 commits


17 Dec, 2009

1 commit

  • Several static uninitialized variables are used in the scope of __init
    functions but are themselves not marked as __initdata. This patch is to put
    those variables to where they belong and to reduce the memory footprint a
    little bit.

    Also, a couple of lines with spaces instead of tabs were fixed.

    Signed-off-by: Dmitri Vorobiev
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/698/
    Acked-by: Florian Fainelli
    Signed-off-by: Ralf Baechle

    Dmitri Vorobiev
     

02 Nov, 2009

1 commit


18 Sep, 2009

1 commit


13 Aug, 2009

1 commit


06 Aug, 2009

1 commit


04 Aug, 2009

7 commits


03 Jul, 2009

1 commit