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
f6a21388bd
POWER: Add JZ4740 battery driver.
...
Add support for the battery voltage measurement part of the JZ4740 ADC unit.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1416/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:20 +01:00
Lars-Peter Clausen
7f983ba93d
HWMON: Add JZ4740 ADC driver
...
Add support for reading the ADCIN pin of the ADC unit on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: lm-sensors@lm-sensors.org
Acked-by: Jean Delvare <khali@linux-fr.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1425/
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:19 +01:00
Lars-Peter Clausen
2249071b3e
USB: Add JZ4740 OHCI support
...
Add OHCI glue code for JZ4740 SoCs OHCI module.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: Greg Kroah-Hartman <gregkh@suse.de >
Cc: David Brownell <dbrownell@users.sourceforge.net >
Cc: linux-usb@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@suse.de >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1411/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-08-05 13:26:19 +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
3bf0eea894
RTC: Add JZ4740 RTC driver
...
Add support for the RTC unit on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: Alessandro Zummo <a.zummo@towertech.it >
Cc: Paul Gortmaker <p_gortmaker@yahoo.com >
Cc: rtc-linux@googlegroups.com
Acked-by: Wan ZongShun <mcuos.com@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Alessandro Zummo <a.zummo@towertech.it >,
Patchwork: https://patchwork.linux-mips.org/patch/1424/
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