hans
48aeb48f14
Fix build of non-debug kernels, mark err __diagused in uart_enable().
2014-04-09 21:02:31 +00:00
hans
559c010510
Fix build in non-debug kernels, mark eopi __diagused in cpsw_start().
2014-04-09 20:52:14 +00:00
matt
3e5d1facf8
Use new IRQ_SPI/GIC_MAXSOURCES macros.
...
Fix comments.
2014-04-09 19:50:01 +00:00
matt
b48b68f497
Fix build break.
2014-04-04 21:33:19 +00:00
matt
fb57e4fb00
Enable sata port
2014-04-03 17:12:15 +00:00
matt
00f79ec9c7
Add some more OMAP5 stuff.
...
Consistently use upper case hex.
2014-04-03 17:11:10 +00:00
matt
396a411a49
Consistently use #define<tab>
2014-04-03 17:09:48 +00:00
matt
a579e160ac
OMAP4/OMAP5 changes.
2014-03-29 23:32:41 +00:00
ozaki-r
66b3054ebd
Add missing 2nd argument to snprintf
2014-03-26 11:59:05 +00:00
christos
d02e70fa98
kill sprintf
2014-03-26 08:51:59 +00:00
matt
634532946b
OMAP5 support
2014-03-15 17:14:56 +00:00
ozaki-r
e9e5c4b457
Make cpsw driver work without uboot support
...
On some eval boards such as BeagleBone, the cpsw device is initialized
rightly by the uboot of the boards so that the cpsw driver doesn't need
to do some initializations but works fine.
The patch adds initializations to make the driver work solely. It also
adds support for 1000BaseT (RGMII) PHY that is equipped on some boards,
e.g., CKB-3352.
Reviewed by christos@
2014-02-26 03:58:33 +00:00
matt
6c558ed386
_setsoftintr is long dead. reap any leftovers from arm.
2014-02-04 18:51:16 +00:00
skrll
615e0974de
Initialise len in ti_iic_do_{read,write}.
...
Is this worth a pullups?
2013-12-18 12:54:35 +00:00
skrll
e1d983db73
Deal with unused variables.
2013-12-18 12:54:01 +00:00
skrll
2c7ba894dc
Remove unused variable.
2013-12-18 12:53:26 +00:00
joerg
d04bc3bcb2
Mark unused inline functions as such.
2013-12-01 02:53:46 +00:00
matt
386d762476
Add support for OMAP1-183 base hawkboard (HAWK) from Sughosh Ganu.
...
Minor cleanup (adding $NetBSD to headers, __KERNEL_RCSID to C files, etc).
2013-10-02 16:48:26 +00:00
riz
aded92b403
Use __BIT(), not __BITS() to define a single-bit mask.
...
From Dennis Ferguson in PR#48162.
2013-08-29 15:50:41 +00:00
matt
213e0bd398
<arm/locore.h> fallout (fixes some include ordering errors)
2013-08-18 15:58:19 +00:00
matt
ab152917fb
Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
...
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>
2013-08-18 06:28:18 +00:00
matt
a311d23d12
inject a PMFE_SPEED_CHANGED when changing the speed.
2013-08-17 00:40:10 +00:00
jmcneill
47ac6618bc
fix a bug in obiosdhc_bus_clock where SYSCTL_CEN bit wasnt being cleared or set properly, from Rui Paulo
2013-08-05 21:55:47 +00:00
matt
ab9f76aef6
Make frequency changing work on the beaglebone.
2013-08-01 00:24:43 +00:00
jklos
ddc0ac3bda
Fix typo that kept SD card on BeagleBone from being configured. From
...
Dennis Ferguson.
2013-07-27 17:10:28 +00:00
matt
3110b17134
Move am335x_sys_clk() and am335x_cpu_clk() here.
2013-06-29 20:43:33 +00:00
matt
e3a4186fcc
Add code to allow changing the cpu frequency.
...
XXX the sysctl_createv fails for "current" with ENOENT.
2013-06-29 20:21:41 +00:00
matt
7e2219404b
Add a prcm_bootstrap(bus_space_handle_t) so that early bootstrap code can use
...
prcm_read_4 and prcm_write_4.
2013-06-29 20:20:17 +00:00
matt
1abd5b053f
Make the softc static. Add a prcm_bootstrap(bus_space_handle_t) so that
...
early bootstrap code can use prcm_read_4 and prcm_write_4.
2013-06-29 20:19:54 +00:00
matt
7b3bf49e93
Add a routine to set the mpu multiplier. (not used yet)
2013-06-28 02:31:16 +00:00
matt
93fa1c932a
Add TIAM335X SDMMC BASE definitions
2013-06-28 00:50:22 +00:00
matt
3f23a94515
More defintions for the OMAP5.
2013-06-20 05:27:31 +00:00
matt
cfb22ade04
Add OMAP5_PRM_RSTCTRL definition
2013-06-18 23:39:44 +00:00
matt
76e7e7475e
Add AHCI OMAP5 address
2013-06-18 22:41:03 +00:00
matt
5ea24edf00
Add OMAP4 support. (Incomplete).
2013-06-18 15:23:18 +00:00
matt
86816c0ffa
Add OMAP_[2345]XXX to simply matching.
2013-06-18 15:22:37 +00:00
matt
27226b146c
Initial OMAP4 changes.
...
Attaches but ...
sdhc0 at obio2 addr 0x4809c000-0x4809ceff intr 115: SDHC controller
sdhc0: SD Host Specification 1.0, rev.0
sdmmc0 at sdhc0 slot 0
sdhc0: INIT Procedure timeout
sdmmc0: couldn't supply clock
sdmmc0: couldn't enable card: 60
2013-06-18 15:04:53 +00:00
matt
869fb62acd
Add PL310 address for OMAP4.
...
Fix RSTCTRL address for OMAP4.
2013-06-18 15:02:55 +00:00
matt
b912e981fb
Omap4 changes
2013-06-18 15:01:49 +00:00
matt
53b726f4dc
#include <arm/omap/omap_var.h> where appropriate
...
Remove unneeded frequency check
2013-06-16 17:47:54 +00:00
matt
9c87a9b48d
OMAP4 EHCI enhancements
2013-06-16 16:42:13 +00:00
matt
a68de2b4d7
More OMAP5 support
2013-06-15 21:59:37 +00:00
matt
de418489a8
Don't rely on hardcoded clocks now that we determine the actual ref clk
...
in the startup code.
2013-06-15 21:58:20 +00:00
matt
15d5bd1ab5
Beginnings of OMAP5 support.
2013-06-15 21:55:09 +00:00
kiyohara
69a6de97d9
s/[ \t]$//g.
...
Indent.
2013-06-09 05:52:04 +00:00
rkujawa
22ece21cc4
s/i2C2_SCL/I2C2_SCL/
2013-05-06 18:53:40 +00:00
matt
cc2f927a81
Add minimal definition for control module control status register to obtain
...
the base frequency used for the system clock.
2013-04-30 05:37:51 +00:00
matt
5e2db00335
Add TI_AM335x EMIF SDRAM_CONFIG definitions
2013-04-30 00:17:24 +00:00
rkujawa
d0e53d93e6
Don't discard flags in ti_iic_exec when calling ti_iic_op. I'm not sure if
...
that's the correct solution. But it unbreaks the drivers when calling iic_exec
with I2C_F_POLL flag.
2013-04-25 13:04:27 +00:00
khorben
587ad1e1f9
Also support interrupts of type IST_EDGE_BOTH; tested on a Nokia N900 (OMAP3).
2013-04-18 01:33:18 +00:00