David VomLehn
0d365753d0
MIPS: PowerTV: Separate PowerTV USB support from non-USB code
...
Separate USB code into a file separate from asic/asic_devices.
Separating the USB code from everything else in asic/asic_devices.c goes
a long way toward reducing the use of that file as a dumping ground for
everything that didn't seem to fit anywhere else.
Signed-off-by: David VomLehn <dvomlehn@cisco.com >
To: linux-mips@linux-mips.org
Cc: greg@kroah.com
Cc: linux-usb@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/1522/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:34 +01:00
Wu Zhangjin
5089ca9d31
MIPS: strip the un-needed sections of vmlinuz
...
This patch use "strip -s" to strip the .symtab and .strtab sections of
vmlinuz.
Note: This patch is based on http://patchwork.linux-mips.org/patch/1324/
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1383/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:34 +01:00
Wu Zhangjin
3c4b7fde94
MIPS: Clean up the calculation of VMLINUZ_LOAD_ADDRESS
...
We have calculated VMLINUZ_LOAD_ADDRESS in shell, which is indecipherable. This
patch rewrites it in C.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
To: linux-mips <linux-mips@linux-mips.org >
Cc: Alexander Clouter <alex@digriz.org.uk >
Cc: Manuel Lauss <manuel.lauss@gmail.com >
Cc: Sam Ravnborg <sam@ravnborg.org >
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Reviewed-by: Alexander Clouter <alex@digriz.org.uk >
Patchwork: https://patchwork.linux-mips.org/patch/1324/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:33 +01:00
Wu Zhangjin
1e1a77d698
MIPS: Clean up arch/mips/boot/compressed/decompress.c
...
- Remove several outdated comments
- Clearify the definition of zimage_start and zimage_size and the their
usage
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1382/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:32 +01:00
Wu Zhangjin
bdbffd9b8d
MIPS: Clean up arch/mips/boot/compressed/ld.script
...
- Remove unused symbols: _fdata, _text; only _edata and _end are needed by
head.S
- Remove unused sections: .sbss, .stab, .gptab.sdata, .gptab.sbss
- Change the alignment to 16 bytes to ensure it is greater than any
fundamental type of a MIPS compiler.
- Clean up comments
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1381/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:32 +01:00
Wu Zhangjin
c853d945d3
MIPS: Unify the suffix of compressed vmlinux.bin
...
The compressed vmlinux.bin is only a temp file so it's ok to use the same
suffix .z for them (.gz,.lzo,.lzma...) to remove several lines and simpify
the maintenance (no need to add the "suffix_$(xxx) := suffix" line).
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
To: linux-mips <linux-mips@linux-mips.org >
Cc: Alexander Clouter <alex@digriz.org.uk >
Cc: Manuel Lauss <manuel.lauss@gmail.com >
Cc: Sam Ravnborg <sam@ravnborg.org >
Patchwork: https://patchwork.linux-mips.org/patch/1323/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
---
2010-08-05 13:26:31 +01:00
David VomLehn
51f1336d4d
MIPS: PowerTV: Add Gaia platform definitions.
...
Define ASIC address, memory preallocations, and initialization code for the
Gaia platform.
Signed-off-by: David VomLehn <dvomlehn@cisco.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1519/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:31 +01:00
Hauke Mehrtens
47a3486144
MIPS: BCM47xx: Fix nvram_getenv return value.
...
Nvram_getenv should behave like cfe_getenv. cfe_getenv returns 0 on
success and -9 if the value was not found. If the input was wrong -8
will be returned by cfe_getenv. Change nvram_getenv to do the same.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
Cc: Waldemar Brodkorb <wbx@openadk.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1520/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:31 +01:00
David Daney
2b5987abaf
MIPS: Octeon: Allow more than 3.75GB of memory with PCIe
...
We reserve the 3.75GB - 4GB region of PCIe address space for device to
device transfers, making the corresponding physical memory under
direct mapping unavailable for DMA.
To allow for PCIe DMA to all physical memory we map this chunk of
physical memory with BAR1. Because of the resulting discontinuity in
the mapping function, we remove a page of memory at each end of the
range so multi-page DMA buffers can never be allocated that span the
range.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:31 +01:00
David Daney
70dc6f045f
MIPS: Clean up notify_die() usage.
...
The sixth argument of notify_die() is a signal number, the fifth is a
trap number.
Instead of passing a signal number in a randomly selected argument,
pass it in the sixth. Extract the exception code from regs and pass
that as the trap number.
Get rid of redundant cast, and remove some gratuitous spaces.
Nobody actually does anything with the signal number or trap number,
but we might as well populate them with sensible values.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1532/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:30 +01:00
David Daney
7281cd2297
MIPS: Remove unused task_struct.trap_no field.
...
It is initialized to zero and only ever read. Remove it, and pass zero in
its place.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1531/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:30 +01:00
David Daney
c1bf207d6e
MIPS: kprobe: Add support.
...
This patch is based on previous work by Sony and Himanshu Chauhan.
I have done some cleanup and implemented JProbes and KRETPROBES. The
KRETPROBES part is pretty much copied verbatim from powerpc. A possible
future enhance might be to factor out the common code.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
Cc: Himanshu Chauhan <hschauhan@nulltrace.org >
To: linux-mips@linux-mips.org
To: ananth@in.ibm.com ,
To: anil.s.keshavamurthy@intel.com
To: davem@davemloft.net
To: masami.hiramatsu.pt@hitachi.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1525/
Patchwork: https://patchwork.linux-mips.org/patch/1530/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:29 +01:00
David Daney
2ea6399f55
MIPS: Add instrunction format for BREAK and SYSCALL
...
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: ananth@in.ibm.com
To: anil.s.keshavamurthy@intel.com
To: davem@davemloft.net
To: masami.hiramatsu.pt@hitachi.com
Cc: linux-kernel@vger.kernel.org
Cc: hschauhan@nulltrace.org
Patchwork: https://patchwork.linux-mips.org/patch/1524/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:28 +01:00
David Daney
ef771ad4ad
MIPS: kprobes: Define regs_return_value()
...
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: ananth@in.ibm.com
To: anil.s.keshavamurthy@intel.com
To: davem@davemloft.net
To: masami.hiramatsu.pt@hitachi.com
Cc: linux-kernel@vger.kernel.org ,
Cc: hschauhan@nulltrace.org
Patchwork: https://patchwork.linux-mips.org/patch/1529/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:28 +01:00
Ralf Baechle
d7674c4f58
MIPS: Ritually kill stupid printk.
...
This belongs into userland.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:27 +01:00
Chandrakala Chavva
52a0f00b50
MIPS: Octeon: Disallow MSI-X interrupt and fall back to MSI interrupts.
...
MSI-X interrupts are not supported yet for Octeon, return error if
MSI-X interrupts are requested by driver so that the driver will fall
back to use MSI interrupts.
Signed-off-by: Chandrakala Chavva <cchavva@caviumnetworks.com >
To: linux-mips@linux-mips.org
Cc: David Daney <ddaney@caviumnetworks.com >
Patchwork: https://patchwork.linux-mips.org/patch/1506/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
2010-08-05 13:26:27 +01:00
David Daney
1aa2b2782a
MIPS: Octeon: Support 256 MSI on PCIe
...
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1507/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:27 +01:00
David Daney
0c2f4551df
MIPS: Decode core number for R2 CPUs.
...
The struct cpuinfo_mips.core field should be populated with the
physical core number. For R2 CPUs, this is carried in the low 10 bits
of Ebase.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1505/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:26 +01:00
Kulikov Vasiliy
fa90c87297
MIPS: SMTC: Use %p to format pointers
...
While at it, drop 0x prefix.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com >
To: kernel-janitors@vger.kernel.org
Cc: Chris Dearman <chris@mips.com >
Cc: "Robert P. J. Day" <rpjday@crashcourse.ca >
Cc: Rusty Russell <rusty@rustcorp.com.au >
Cc: André Goddard Rosa <andre.goddard@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1458/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:26 +01:00
Wu Zhangjin
e608aadd17
MIPS: Loongson: Remove unused macro LOONGSON_PERFCNT_IRQ
...
LOONGSON2_PERFCNT_IRQ is used for the irq number of the performance
overflow interrupts; LOONGSON_PERFCNT_IRQ is unused so remove it.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1494/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:26 +01:00
Wu Zhangjin
de3bc0e7ba
MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ()
...
On FuLoong-2F IP6 is shared by the performance counter overflow interrupt
and the Bonito northbridge interrupt. To reduce overhead only call
do_IRQ() when oprofile is enabled to reduce overhead.
This patch adds an inline function do_perfcnt_IRQ() to hide the #if's ,
which can be shared by the other Loongson machines, i.e. gdium.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1492/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:24 +01:00
Wu Zhangjin
b8c7428af0
MIPS: Loongson: Remove set_irq_trigger_mode()
...
set_irq_trigger_mode() is not needed on all platforms so remove it
and move the related source code to mach_init_irq().
This will allow gdium to share the common irq.c without adding an empty
set_irq_trigger_mode().
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1493/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:23 +01:00
David Daney
96ffa02d21
MIPS: Define ST0_NMI in asm/mipsregs.h
...
This is used by the forthcoming OCTEON watchdog patch.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1498/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:22 +01:00
David Daney
2dc2ae344e
MIPS: Export __cpu_number_map and __cpu_logical_map.
...
The forthcoming Octeon watchdog driver will use them.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1499/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:21 +01:00
David Daney
ea435464a1
MIPS: Octeon: Export prom_putchar().
...
The forthcoming watchdog driver will use it.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1499/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:21 +01:00
David Daney
22b0763a23
MIPS: uasm: Add option to export uasm API.
...
A 'select EXPORT_UASM' in Kconfig will cause the uasm to be exported
for use in modules. When it is exported, all the uasm data and code
cease to be __init and __initdata.
Also daddiu_bug cannot be __cpuinitdata if uasm is exported. The
cleanest thing is to just make it normal data.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1500/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:21 +01:00
David Daney
5b97c3f7ae
MIPS: uasm: Add BBIT0 and BBIT1 instructions
...
These are OCTEON specific instructions.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1496/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:21 +01:00
David Daney
de6d5b555c
MIPS: uasm: Add drotr32 and uasm_i_drotr_safe.
...
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1495/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:20 +01:00
David Daney
ca148125e6
MIPS: Octeon: Implement delays with cycle counter.
...
Power throttling make deterministic delay loops impossible.
Re-implement delays using the cycle counter. This also allows us to
get rid of the code that calculates loops per jiffy.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1317/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:20 +01:00
Lars-Peter Clausen
e6b78c4f22
MIPS: JZ4740: Add qi_lb60 board support
...
Add support for the qi_lb60 (a.k.a QI Ben NanoNote) clamshell device.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1472/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:20 +01:00
Lars-Peter Clausen
61bfbdb856
MMC: Add support for the controller on JZ4740 SoCs.
...
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Acked-by: Matt Fleming <matt@console-pimps.org >
Cc: Andrew Morton <akpm@linux-foundation.org >
Cc: Matt Fleming <matt@console-pimps.org >
Cc: linux-mmc@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1463/
Patchwork: https://patchwork.linux-mips.org/patch/1523/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:18 +01:00
Lars-Peter Clausen
ba01d6ec04
MTD: Nand: Add JZ4740 NAND driver
...
Add support for the NAND controller on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: David Woodhouse <dwmw2@infradead.org >
Cc: linux-mtd@lists.infradead.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1470/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:18 +01:00
Lars-Peter Clausen
7a92d54521
FBDEV: JZ4740: Add framebuffer driver
...
Add support for the LCD controller on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: Andrew Morton <akpm@linux-foundation.org >
Cc: linux-fbdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1470/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:17 +01:00
Lars-Peter Clausen
5ebabe5980
MIPS: JZ4740: Add Kbuild files
...
Add the Kbuild files for the JZ4740 architecture and adds JZ4740 support
to the MIPS Kbuild files.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1406/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:17 +01:00
Lars-Peter Clausen
c2a529f73d
MIPS: JZ4740: Add platform devices
...
Add platform devices for all the JZ4740 platform drivers.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1469/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:17 +01:00
Lars-Peter Clausen
a8b7e9e8b0
MIPS: JZ4740: Add prom support
...
Add support for initializing arcs_cmdline on JZ4740 based machines and
provides a prom_putchar implementation.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1404/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:16 +01:00
Lars-Peter Clausen
c3b9566de8
MIPS: JZ4740: Add serial support
...
The JZ4740 UART interface is almost 16550 compatible.
The UART module needs to be enabled by setting a bit in the FCR register
and it has support for receive timeout interrupts. Instead of adding yet
another machine specific quirk to the 8250 serial driver we provide a
serial_out implementation which sets the required additional flags.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1403/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:16 +01:00
Lars-Peter Clausen
eda0347bf8
MIPS: JZ4740: Add PWM support
...
Add support for the PWM part of the timer unit on a JZ4740 SoC.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1468/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:16 +01:00
Lars-Peter Clausen
68fcfe7f82
MIPS: JZ4740: Add DMA support.
...
Add support for DMA transfers on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1401/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:15 +01:00
Lars-Peter Clausen
a55f450665
MIPS: JZ4740: Add GPIO support
...
Add gpiolib support for JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1467/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:15 +01:00
Lars-Peter Clausen
713233fbaf
MIPS: JZ4740: Add setup code
...
Add plat_mem_setup and get_system_type for JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1399/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:14 +01:00
Lars-Peter Clausen
c863a2368c
MIPS: JZ4740: Add power-management and system reset support
...
Add support for suspend/resume and poweroff/reboot on a JZ4740 SoC.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1398/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:14 +01:00
Lars-Peter Clausen
b200eff6d1
MIPS: JZ4740: Add clocksource/clockevent support.
...
Add clocksource and clockevent support for the timer/counter unit on
JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1397/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:14 +01:00
Lars-Peter Clausen
544a732419
MIPS: JZ4740: Add timer support
...
Add support for the timer/counter unit on a JZ4740 SoC. This code is used
as a common base for the JZ4740 clocksource/clockevent implementation and
PWM support.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1396/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:13 +01:00
Lars-Peter Clausen
9869848d12
MIPS: JZ4740: Add IRQ handler code
...
Add support for IRQ handling on a JZ4740 SoC.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1465/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:13 +01:00
Lars-Peter Clausen
570a0bb82f
MIPS: JZ4740: Add clock API support.
...
Add support for managing the clocks found on JZ4740 SoC through the
Linux clock API.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1466/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:12 +01:00
Lars-Peter Clausen
83ccf69d8f
MIPS: JZ4740: Add base support for Ingenic JZ4740 System-on-a-Chip
...
Adds a new cpu type for the JZ4740 to the Linux MIPS architecture code.
It also adds the iomem addresses for the different components found on
a JZ4740 SoC.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1464/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:12 +01:00
David Daney
babba4f113
MIPS: Octeon: HOTPLUG_CPU fixes.
...
* Rename camel-case InitTLBStart_addr to octeon_bootloader_entry_addr.
* Convert calls to cvmx_read64_uint32(), to simple pointer
dereferences.
* Set proper ebase.
* Don't confuse coreid and cpu numbers.
* Try to maintain consistent bootloader coremask.
* Update the signature and boot_init_vector of supported bootloaders.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1491/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:12 +01:00
David Daney
442f201286
MIPS: Octeon: Simplify hotcpu_notifier registration.
...
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1490/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:11 +01:00
David Daney
edfcbb8cac
MIPS: Octeon: Clean up SMP CPU numbering.
...
Also number offline CPUs that could potentially be brought on-line
later.
Signed-off-by: David Daney <ddaney@caviumnetworks.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1489/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:11 +01:00