summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale
AgeCommit message (Collapse)Author
2006-03-07Fix collision between SI_SOFTSERIAL and OS timers in the interrupt mask.Uwe Stuehler
The new allocation of softintr bits complicates SI_TO_IRQBIT, but I see no safe way around it.
2006-03-07Add the proper constant to replace a magic interrupt number.Uwe Stuehler
2005-12-22Fully implemented microtime() operation.Dale Rahn
2005-12-22do not do delay(HUGEVALUE) after enabling/disabling the lcd dma. yes, itTheo de Raadt
has a weird effect when you enable it and the backlight at the same time, but most people don't see it because they are flipping the lid open. and it is not actually weird, it is actually rather neat. ok miod
2005-12-22remove another debug messageTheo de Raadt
2005-12-22silence setperf codeTheo de Raadt
2005-12-20volatile variable for looping; ok drahnTheo de Raadt
2005-12-20Add machdep.maxspeed sysctl to change the meaning of hw.setperf=100 on zaurus,Dale Rahn
This will scale the speed for hw.setperf, this allows limiting apm -A to lower speed, or even overclocking. ok deraadt@
2005-12-20switch to using clock4 instead of clock0 so that we get clocks when runningDale Rahn
at 91MHz (clock4 is programmed to be based of the 32.768KHz clock.
2005-12-14Don't hard-code card present and number of socket bits in the PCMCIA busUwe Stuehler
configuration register, but control these bits from PCMCIA code. ok drahn@
2005-12-13It would seem that some cards do not get reset correctly if RESET isUwe Stuehler
held only for 10us but the same cards work just fine on other platforms. A really long delay lets those cards reset correctly on zaurus, but it is only an ugly workaround until the socket setup is fixed. ok for now fgs@, drahn@
2005-12-05- Run only the necessary code to transition from one speed to another.Uwe Stuehler
- Don't clobber perflevel, instead leave it to the user requested value. precise description and ok drahn@ :)
2005-12-02add registers for 4 new clocksTheo de Raadt
2005-12-02no 91Mhz mode for now, because the OSCR0 does not run in low-power mode;Uwe Stuehler
found after prodding by deraadt@
2005-11-23use proper bus_size_t for register offsets and not bus_addr_t; uwe@ miod@ ↵Michael Shalayeff
testing
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
2005-11-19Remove superfluous statement-ending semi-colons. i.e., "return foo;;" shouldAaron Campbell
just be "return foo;". Cleaning out some M's in my tree.
2005-11-11round clock upTheo de Raadt
2005-10-31show the speed status in hw.cpuspeed; ok drahnTheo de Raadt
2005-10-31On suspend/resume save the current time to the RTC earlier and restore it laterDale Rahn
so that the very long delay operations do not slow the clock unnecessarily. Add early support for hw.setperf and hw.cpuspeed for zaurus, it appears to be able to run at 91MHz and 209MHz as well as the std 416MHz with this change. Hopefully it is doing the speed changes correctly.
2005-09-22NEWINTR is not an option on OpenBSD.Dale Rahn
2005-09-15Stop compiling the texte console rotation code #ifdef __zaurus__, but useMiod Vallat
a flag in the rasops_info structure; drivers which may use it shall declare a specific attribute for the config(8) machinery, so that the necessary code is compiled in. In addition to this, rotated font computation is now done on-demand, and a list of unrotated-rotated font cookie pairs is kept, rather than rotating all built-in wsfonts at initialization time. No user-perceptible functional change. Tested matthieu@ uwe@, ok uwe@
2005-08-12Do not notify apmd of APM_CRIT_SUSPEND_REQ events; apmd makes us fallUwe Stuehler
asleep immediately after resume. This needs to be reconsidered later.
2005-08-09- Don't depend on the APM_CRIT_RESUME event to run PWR_RESUME power hooksUwe Stuehler
after a APM_CRIT_SUSPEND_REQ event. This fixes non-working devices after resume from battery low suspend. - Don't suspend automatically on APM_BATT_LOW because that's what could be too early (and we now understand APM_CRIT_SUSPEND_REQ).
2005-08-08Avoid overlap in USB hard and the soft interrupt bits, update commentsUwe Stuehler
to reflect the new allocation of IRQ bits, and zap duplicate definition of SI_TO_IRQBIT; help/test niallo@ ok drahn@
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-07-18Initialize UART registers after resume, and make functions non-static.Uwe Stuehler
2005-07-01Move all zaurus specific code from pxa2x0_pcic.c into scoop_pcic.cUwe Stuehler
without affecting the way the driver works.
2005-06-16GPIO generates many shared interrupts, eg disk (cf) and network (other cf)Dale Rahn
thus it really needs to deal with the shared irqs of these devices. This change will register two interrupts for gpioN interrupts, one at the highest ipl and one lowest ipl. This will allow the interrupt code above to correcly mask the interrupts generated from all gpio devices. ok uwe@
2005-06-16i2c and i2s are separete devices, and zaudio depends on them.Uwe Stuehler
2005-06-16unbust "com at pxaip" attachment so that there is no need to enableUwe Stuehler
"com at pcmcia" in RAMDISK as a workaround.
2005-05-27add missing prototypesUwe Stuehler
2005-05-27Dale's lost diff for IRQ sharing, turned on by default.Uwe Stuehler
2005-05-27The forgotten part of the merge of pxacom back into com.Uwe Stuehler
Also the *CONSOLE options are no longer needed.
2005-05-27- Merge changes from pxacom back into the common com driver.Uwe Stuehler
Changes to the common com driver (partly from NetBSD): - Multiply before divide in comspeed() to avoid overflow (from NetBSD). - Don't call getc() and send -1 if the output queue is empty. - Take UART clock frequency as a parameter instead of using COM_FREQ. ok deraadt@
2005-05-27Replace unused pxa2x0_watchdog_boot() with RTC control functions.Uwe Stuehler
Ha ha, I broke the tree while everyone was asleep (except for kjell who noticed it).
2005-05-26Reset the zaurus audio components after resume, so that subsequent opensChristopher Pascoe
can play sound again.
2005-05-23fix rasops initialization when not acting as console; ok miod@Uwe Stuehler
2005-05-23Round the DMA block size, not the maximum buffer size. Addresses "requestChristopher Pascoe
with bad start address" errors.
2005-05-23Avoid potential null pointer dereference.Christopher Pascoe
2005-05-09Permit one of the PXA2X0's UARTs to operate in Slow Infrared (SIR) modeUwe Stuehler
(half-duplex). I couldn't verify that the real serial port still works (a special serial cable is needed for that).
2005-04-30Temporary hack to (un)rotate the Zaurus console until a proper rasopsChristopher Pascoe
rotation framework is ready.
2005-04-21clean dmesg outputTheo de Raadt
2005-04-17make sure round_blocksize does not produce 0 after alignmentChristopher Pascoe
2005-04-15Remove i2c entry, it is included from zaudio config.Christopher Pascoe
2005-04-15Functions for accessing the pxa2x0 I2S controller.Christopher Pascoe
ok dlg@ drahn@ uwe@ deraadt@
2005-04-15Routines providing access to the pxa2x0 I2C controller.Christopher Pascoe
ok dlg@ drahn@ uwe@ deraadt@
2005-04-14Add basic support for the pxa2x0 DMA controller.Christopher Pascoe
ok deraadt@ dlg@ drahn@ uwe@
2005-04-13Call special suspend and resume hooks. The latter can cancel a resume.Uwe Stuehler
2005-04-12register descriptions for the inter-ic sound controllerDavid Gwynne
ok uwe@