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
29 Mar, 2011
1 commit
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
26 Mar, 2011
1 commit
-
Signed-off-by: Thomas Gleixner
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2174/
Signed-off-by: Ralf Baechle
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
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 cpmac0This 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---
-
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---
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 #includingSigned-off-by: David Howells
Acked-by: Ralf Baechle
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 -
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//PlatformThis 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
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
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 -
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
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 -
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
27 Feb, 2010
8 commits
-
[Ralf: Fixed up the rejects and changed all the new printk(KERN_...); to
pr_xxx() as suggested by Wu.]Signed-off-by: Alexander Clouter
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/920/
Signed-off-by: Ralf Baechle -
Signed-off-by: Alexander Clouter
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/919/
Signed-off-by: Ralf Baechle -
[Ralf: Fixed up reject and Wu's complaints about comment style.]
Signed-off-by: Alexander Clouter
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/921/
Signed-off-by: Ralf Baechle -
This patch makes the ar7 clock code implement the Linux clk API. Drivers
using the various clocks available in the SoC are updated accordingly.Signed-off-by: Florian Fainelli
Acked-by: Wim Van Sebroeck
To: linux-mips@linux-mips.org
Cc: Wim Van Sebroeck
Cc: netdev@vger.kernel.org
Cc: David Miller
Patchwork: http://patchwork.linux-mips.org/patch/881/
Signed-off-by: Ralf Baechle -
This patch implements gpiolib for the AR7 SoC.
Signed-off-by: Florian Fainelli
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/816/
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Cc: linux-mips
Patchwork: http://patchwork.linux-mips.org/patch/872/
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Cc: linux-mips
Patchwork: http://patchwork.linux-mips.org/patch/871/
Signed-off-by: Ralf Baechle -
Recent git versions now warn about those and they've always been a bit of
an annoyance.Signed-off-by: Ralf Baechle
02 Feb, 2010
1 commit
-
Signed-off-by: Alexander Clouter
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/919/
Signed-off-by: Ralf Baechle
13 Jan, 2010
2 commits
-
Signed-off-by: Yoichi Yuasa
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/811/
Signed-off-by: Ralf Baechle -
An unused leftover from the old KGDB implementation.
Signed-off-by: Yoichi Yuasa
Patchwork: http://patchwork.linux-mips.org/patch/794/
Signed-off-by: Ralf Baechle
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
02 Nov, 2009
1 commit
-
This patch checks if the watchdog enable bit is set in the DCL register
meaning that the hardware watchdog actually works and if so, register the
ar7_wdt platform_device.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle
18 Sep, 2009
1 commit
-
This patch makes the board code register the ar7_wdt driver as a platform
device. We move the dynamic resource calculation here since the driver
should not be aware of the AR7 SoC version it is running on.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle
13 Aug, 2009
1 commit
-
Conflicts:
arch/microblaze/include/asm/socket.h
06 Aug, 2009
1 commit
-
This patch adds fixed PHY support for the two on-chip
cpmac Ethernet adapters.Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller
04 Aug, 2009
7 commits
-
Now that we have removed all warnings from the ar7 board code we can use
-Werror like on other MIPS boards.Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch fixes the following build failure when CONFIG_SERIAL_8250
is not enabled in the kernel configuration:
arch/mips/ar7/built-in.o: In function 'ar7_register_devices':
platform.c:(.init.text+0x61c): undefined reference to 'early_serial_setup'
platform.c:(.init.text+0x61c): relocation truncated to fit: R_MIPS_26 against 'early_serial_setup'
platform.c:(.init.text+0x68c): undefined reference to 'early_serial_setup'
platform.c:(.init.text+0x68c): relocation truncated to fit: R_MIPS_26 against 'early_serial_setup'Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Roel Kluin
Signed-off-by: Ralf Baechle -
This patch fixes the following build warning:
arch/mips/ar7/memory.c: In function 'memsize':
arch/mips/ar7/memory.c:55: warning: passing argument 1 of 'writel' makes integer from pointer without a castSigned-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Huang Weiyi
Signed-off-by: Ralf Baechle
03 Jul, 2009
1 commit
-
This patch adds support for the Texas Instruments AR7 System-on-a-Chip.
It supports the TNETD7100, 7200 and 7300 versions of the SoC.Signed-off-by: Matteo Croce
Signed-off-by: Felix Fietkau
Signed-off-by: Eugene Konev
Signed-off-by: Nicolas Thill
Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle