diff options
| -rw-r--r-- | Documentation/arm/Samsung-S3C24XX/Overview.txt | 30 | ||||
| -rw-r--r-- | arch/arm/mach-iop13xx/io.c | 19 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/generic.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/time.c | 8 | ||||
| -rw-r--r-- | arch/arm/mach-s3c2410/dma.c | 4 | ||||
| -rw-r--r-- | arch/arm/mm/copypage-v4mc.c | 6 | ||||
| -rw-r--r-- | arch/arm/mm/copypage-v6.c | 4 | ||||
| -rw-r--r-- | arch/arm/mm/copypage-xscale.c | 6 | ||||
| -rw-r--r-- | arch/arm/vfp/vfpmodule.c | 15 | ||||
| -rw-r--r-- | include/asm-arm/arch-ep93xx/irqs.h | 6 | ||||
| -rw-r--r-- | include/asm-arm/arch-iop13xx/io.h | 3 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/pxa-regs.h | 3 | ||||
| -rw-r--r-- | include/asm-arm/arch-s3c2410/dma.h | 2 | ||||
| -rw-r--r-- | include/asm-arm/arch-s3c2410/entry-macro.S | 2 | ||||
| -rw-r--r-- | include/asm-arm/arch-s3c2410/hardware.h | 4 | ||||
| -rw-r--r-- | include/asm-arm/arch-s3c2410/irqs.h | 3 | ||||
| -rw-r--r-- | include/asm-arm/cacheflush.h | 2 | ||||
| -rw-r--r-- | include/asm-arm/flat.h | 4 | ||||
| -rw-r--r-- | include/asm-arm/irq.h | 5 |
19 files changed, 113 insertions, 17 deletions
diff --git a/Documentation/arm/Samsung-S3C24XX/Overview.txt b/Documentation/arm/Samsung-S3C24XX/Overview.txt index dda7ecdde87b..28d014714ab8 100644 --- a/Documentation/arm/Samsung-S3C24XX/Overview.txt +++ b/Documentation/arm/Samsung-S3C24XX/Overview.txt | |||
| @@ -76,6 +76,15 @@ Machines | |||
| 76 | A S3C2410 based PDA from Acer. There is a Wiki page at | 76 | A S3C2410 based PDA from Acer. There is a Wiki page at |
| 77 | http://handhelds.org/moin/moin.cgi/AcerN30Documentation . | 77 | http://handhelds.org/moin/moin.cgi/AcerN30Documentation . |
| 78 | 78 | ||
| 79 | AML M5900 | ||
| 80 | |||
| 81 | American Microsystems' M5900 | ||
| 82 | |||
| 83 | Nex Vision Nexcoder | ||
| 84 | Nex Vision Otom | ||
| 85 | |||
| 86 | Two machines by Nex Vision | ||
| 87 | |||
| 79 | 88 | ||
| 80 | Adding New Machines | 89 | Adding New Machines |
| 81 | ------------------- | 90 | ------------------- |
| @@ -115,6 +124,10 @@ RTC | |||
| 115 | 124 | ||
| 116 | Support for the onboard RTC unit, including alarm function. | 125 | Support for the onboard RTC unit, including alarm function. |
| 117 | 126 | ||
| 127 | This has recently been upgraded to use the new RTC core, | ||
| 128 | and the module has been renamed to rtc-s3c to fit in with | ||
| 129 | the new rtc naming scheme. | ||
| 130 | |||
| 118 | 131 | ||
| 119 | Watchdog | 132 | Watchdog |
| 120 | -------- | 133 | -------- |
| @@ -128,7 +141,7 @@ NAND | |||
| 128 | 141 | ||
| 129 | The current kernels now have support for the s3c2410 NAND | 142 | The current kernels now have support for the s3c2410 NAND |
| 130 | controller. If there are any problems the latest linux-mtd | 143 | controller. If there are any problems the latest linux-mtd |
| 131 | CVS can be found from http://www.linux-mtd.infradead.org/ | 144 | code can be found from http://www.linux-mtd.infradead.org/ |
| 132 | 145 | ||
| 133 | 146 | ||
| 134 | Serial | 147 | Serial |
| @@ -168,6 +181,21 @@ Suspend to RAM | |||
| 168 | See Suspend.txt for more information. | 181 | See Suspend.txt for more information. |
| 169 | 182 | ||
| 170 | 183 | ||
| 184 | SPI | ||
| 185 | --- | ||
| 186 | |||
| 187 | SPI drivers are available for both the in-built hardware | ||
| 188 | (although there is no DMA support yet) and a generic | ||
| 189 | GPIO based solution. | ||
| 190 | |||
| 191 | |||
| 192 | LEDs | ||
| 193 | ---- | ||
| 194 | |||
| 195 | There is support for GPIO based LEDs via a platform driver | ||
| 196 | in the LED subsystem. | ||
| 197 | |||
| 198 | |||
| 171 | Platform Data | 199 | Platform Data |
| 172 | ------------- | 200 | ------------- |
| 173 | 201 | ||
diff --git a/arch/arm/mach-iop13xx/io.c b/arch/arm/mach-iop13xx/io.c index fbf9f88e46ea..e79a1b62600f 100644 --- a/arch/arm/mach-iop13xx/io.c +++ b/arch/arm/mach-iop13xx/io.c | |||
| @@ -21,6 +21,25 @@ | |||
| 21 | #include <asm/hardware.h> | 21 | #include <asm/hardware.h> |
| 22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
| 23 | 23 | ||
| 24 | void * __iomem __iop13xx_io(unsigned long io_addr) | ||
| 25 | { | ||
| 26 | void __iomem * io_virt; | ||
| 27 | |||
| 28 | switch (io_addr) { | ||
| 29 | case IOP13XX_PCIE_LOWER_IO_PA ... IOP13XX_PCIE_UPPER_IO_PA: | ||
| 30 | io_virt = (void *) IOP13XX_PCIE_IO_PHYS_TO_VIRT(io_addr); | ||
| 31 | break; | ||
| 32 | case IOP13XX_PCIX_LOWER_IO_PA ... IOP13XX_PCIX_UPPER_IO_PA: | ||
| 33 | io_virt = (void *) IOP13XX_PCIX_IO_PHYS_TO_VIRT(io_addr); | ||
| 34 | break; | ||
| 35 | default: | ||
| 36 | BUG(); | ||
| 37 | } | ||
| 38 | |||
| 39 | return io_virt; | ||
| 40 | } | ||
| 41 | EXPORT_SYMBOL(__iop13xx_io); | ||
| 42 | |||
| 24 | void * __iomem __iop13xx_ioremap(unsigned long cookie, size_t size, | 43 | void * __iomem __iop13xx_ioremap(unsigned long cookie, size_t size, |
| 25 | unsigned long flags) | 44 | unsigned long flags) |
| 26 | { | 45 | { |
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 6ae605857ca9..9de1278d234f 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
| @@ -76,7 +76,9 @@ unsigned long long sched_clock(void) | |||
| 76 | /* | 76 | /* |
| 77 | * 96-bit math to perform tick * NSEC_PER_SEC / CLOCK_TICK_RATE for | 77 | * 96-bit math to perform tick * NSEC_PER_SEC / CLOCK_TICK_RATE for |
| 78 | * any value of CLOCK_TICK_RATE. Max value is in the 80 thousand | 78 | * any value of CLOCK_TICK_RATE. Max value is in the 80 thousand |
| 79 | * years range which is nice, but with higher computation cost. | 79 | * years range and truncation to unsigned long long limits it to |
| 80 | * sched_clock's max range of ~584 years. This is nice but with | ||
| 81 | * higher computation cost. | ||
| 80 | */ | 82 | */ |
| 81 | { | 83 | { |
| 82 | union { | 84 | union { |
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c index 3775b8f38429..ee2beb400414 100644 --- a/arch/arm/mach-pxa/time.c +++ b/arch/arm/mach-pxa/time.c | |||
| @@ -101,7 +101,7 @@ static struct irqaction pxa_timer_irq = { | |||
| 101 | .handler = pxa_timer_interrupt, | 101 | .handler = pxa_timer_interrupt, |
| 102 | }; | 102 | }; |
| 103 | 103 | ||
| 104 | cycle_t pxa_get_cycles(void) | 104 | static cycle_t pxa_get_cycles(void) |
| 105 | { | 105 | { |
| 106 | return OSCR; | 106 | return OSCR; |
| 107 | } | 107 | } |
| @@ -134,13 +134,13 @@ static void __init pxa_timer_init(void) | |||
| 134 | OSMR0 = OSCR + LATCH; /* set initial match */ | 134 | OSMR0 = OSCR + LATCH; /* set initial match */ |
| 135 | local_irq_restore(flags); | 135 | local_irq_restore(flags); |
| 136 | 136 | ||
| 137 | /* on PXA OSCR runs continiously and is not written to, so we can use it | 137 | /* |
| 138 | * as clock source directly. | 138 | * OSCR runs continuously on PXA and is not written to, |
| 139 | * so we can use it as clock source directly. | ||
| 139 | */ | 140 | */ |
| 140 | clocksource_pxa.mult = | 141 | clocksource_pxa.mult = |
| 141 | clocksource_hz2mult(CLOCK_TICK_RATE, clocksource_pxa.shift); | 142 | clocksource_hz2mult(CLOCK_TICK_RATE, clocksource_pxa.shift); |
| 142 | clocksource_register(&clocksource_pxa); | 143 | clocksource_register(&clocksource_pxa); |
| 143 | |||
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | #ifdef CONFIG_NO_IDLE_HZ | 146 | #ifdef CONFIG_NO_IDLE_HZ |
diff --git a/arch/arm/mach-s3c2410/dma.c b/arch/arm/mach-s3c2410/dma.c index 717322a0916b..fa860e716b4f 100644 --- a/arch/arm/mach-s3c2410/dma.c +++ b/arch/arm/mach-s3c2410/dma.c | |||
| @@ -1053,11 +1053,11 @@ int s3c2410_dma_config(dmach_t channel, | |||
| 1053 | if (chan == NULL) | 1053 | if (chan == NULL) |
| 1054 | return -EINVAL; | 1054 | return -EINVAL; |
| 1055 | 1055 | ||
| 1056 | printk("Initial dcon is %08x\n", dcon); | 1056 | pr_debug("%s: Initial dcon is %08x\n", __FUNCTION__, dcon); |
| 1057 | 1057 | ||
| 1058 | dcon |= chan->dcon & dma_sel.dcon_mask; | 1058 | dcon |= chan->dcon & dma_sel.dcon_mask; |
| 1059 | 1059 | ||
| 1060 | printk("New dcon is %08x\n", dcon); | 1060 | pr_debug("%s: New dcon is %08x\n", __FUNCTION__, dcon); |
| 1061 | 1061 | ||
| 1062 | switch (xferunit) { | 1062 | switch (xferunit) { |
| 1063 | case 1: | 1063 | case 1: |
diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c index 408b05ae6b9b..ded0e96d069d 100644 --- a/arch/arm/mm/copypage-v4mc.c +++ b/arch/arm/mm/copyp | |||
