Commit Graph

3861 Commits

Author SHA1 Message Date
bouyer
38f23c837e Glue in tifb and tiotg drivers. 2014-07-16 18:31:17 +00:00
bouyer
21a51095d9 Work in progress on a driver for the graphic controller found in TI am355x SoCs,
based on the FreeBSD driver.
Only dumb framebuffer mode supported.
At this time, the video timings are hardcoded in the driver's source.
The timings inclued here are for the 12" 1280x800 LCD+LVDS cape from
Chalk Elec.
A better way to define video modes is clearly needed.
2014-07-16 18:30:43 +00:00
bouyer
c1651ef420 Add the bus front end for the Mentor Graphics USB OTG controllers found
in the TI am355x SoCs.
2014-07-16 18:27:19 +00:00
bouyer
44ff781638 Add USB control registers. 2014-07-16 18:25:24 +00:00
bouyer
3234e472fa Add peripheral clock defines, from FreeBSD. 2014-07-16 18:24:35 +00:00
joerg
a724166046 Do not explicitly undef __INT8_TYPE__, clang is handled specially below. 2014-07-14 20:20:31 +00:00
dholland
da7427b662 "peripheral", not "peripherial". 2014-07-13 17:12:23 +00:00
joerg
a2e7beb29a Clang expects __INTx_TYPE__ to be used with signed/unsigned modifier
when defining (u)intx_t, GCC has a separate __UINTx_TYPE__. Newer Clang
will also provide the latter, but expects the behavior of the former to
remain. As ARM uses unsigned char by default, distinguish between Clang
and non-Clang here to the right type for int8_t.
2014-07-13 16:31:20 +00:00
skrll
8c543ccc77 If [eo]hci_init fail then bail out and don't try and attach devices. 2014-06-24 05:07:31 +00:00
skrll
001a0f6364 Return if ohci_init fails. 2014-06-23 07:29:42 +00:00
christos
a7a7650484 unbreak lint 2014-06-23 03:40:57 +00:00
skrll
edf9a349dc Typo in error message. 2014-06-21 09:11:04 +00:00
joerg
f800359619 intrcnt and _intrnames are unused. 2014-06-20 13:17:59 +00:00
alnsn
be10a58478 Add sljit support to arm. 2014-06-17 06:36:39 +00:00
matt
3397f5bd25 Cleanup a bit of the init logic. 2014-06-15 23:07:36 +00:00
ozaki-r
30046b12f4 Add missing semicolon 2014-06-15 04:04:01 +00:00
ozaki-r
792b86afdc Fix macro name; PMAP_TLB_NEED_SHOOTDOWN => PMAP_NEED_TLB_SHOOTDOWN 2014-06-15 03:27:46 +00:00
ozaki-r
10afc721e8 Fix wrong instruction; mcr => mrc 2014-06-15 02:27:15 +00:00
ozaki-r
be3a67f1b4 Fix typo 2014-06-14 09:13:30 +00:00
ozaki-r
275b2ee721 Fix ARMv7 checks
_ARM_ARCH_7 && !_ARM_ARCH_6 never be true.
2014-06-12 08:50:52 +00:00
ozaki-r
60b22efd94 Fix macro name; MUTEX_RECEIVE => MUTEX_GIVE 2014-06-12 06:28:09 +00:00
reinoud
79ea3a7d02 Remove the exyo_usb_locinfo structure as exyousb becomes usb2 only 2014-06-11 14:54:32 +00:00
reinoud
f40b322b68 Add USB2HOST aliases for exynos4 and exynos5 from where the ehci/ohci/phy are
referenced from
2014-06-11 14:49:50 +00:00
matt
be37e1361f Fix typo & include mct_reg.h 2014-06-11 05:54:54 +00:00
matt
d852904749 Add a KASSERT to make sure the counter is running. 2014-06-11 05:50:46 +00:00
matt
0eea0fade8 Exynos5 needs the MCT running to have the Global Timer operate. 2014-06-11 05:43:39 +00:00
matt
5d10384c13 Fix SDRAM base 2014-06-10 20:17:33 +00:00
matt
e6d398986f Shrink core size so we can fit audio in. 2014-06-10 17:09:42 +00:00
reinoud
bf149a1d6f Correct c&p error on XHCI* registers and remove old cruft copied from the
datasheet that apparently is not used.
2014-06-06 14:37:04 +00:00
reinoud
962ac63d3f Revisit Exynos USB system implementing usb2phy support for Exynos4. 2014-06-06 14:28:58 +00:00
reinoud
b794c9f473 Add constants for USB3 XHCI{0,1} and their PHYs. Taken from the relevant
Exynos5 dti from linux
2014-06-06 14:25:19 +00:00
matt
64549e93a9 Start to flesh out the A10 timer code. 2014-06-05 03:48:32 +00:00
matt
a09b90858a Start of the 10/100 driver. 2014-06-05 03:48:08 +00:00
matt
95c1bdef07 Cleanup a few MULTIPROCESSOR issues. 2014-06-05 03:46:26 +00:00
matt
dcb86d012e Fix occupancy bug. 2014-06-05 03:45:48 +00:00
reinoud
15518d6bb7 Remove comment about possible identification of the MCUCTL 2014-06-04 10:27:26 +00:00
reinoud
d906f0570d Add used pmu registers, sysreg registers and usb phy registers for USB2. More
are added when used.
2014-06-03 15:56:14 +00:00
reinoud
0aa48c65c7 Explicitly mark MCUCTL_ISP_OFFSET as an unknown module to prevent confusion 2014-06-03 15:51:59 +00:00
kiyohara
c99c404c51 Fix build failed with GUMSTIX(pxa2x0). build test only now. 2014-05-23 13:24:15 +00:00
reinoud
4814c99376 Rework USB2 attachment using a dedicated usb devices locator. This allows for
the more tightly coupled Exynos{4,5} usb2/usb2otg/usb3 controllers to share
memory spaces and IRQs

Note, currently only USB2 host is implemented.
2014-05-21 13:02:46 +00:00
reinoud
04bd7576c9 Provide bitbanging IIC for Samsung's Exynos 2014-05-21 12:19:59 +00:00
reinoud
a44d7f7416 Don't panic if the pin is not available in pin_reserve() but return false
instead.
2014-05-21 12:18:24 +00:00
reinoud
8230922b1a Make ODROID (-XU) compile again 2014-05-21 12:16:17 +00:00
ozaki-r
a4164b97c6 Fix wrong instruction; mrc => mcr 2014-05-21 01:02:45 +00:00
rmind
8011b285c0 Implement MI IPI interface with cross-call support. 2014-05-19 22:47:53 +00:00
skrll
62041701dc Build fix for when there is no gpio in the kernel.
PR/48816: Compile fix for src/sys/arch/arm/broadcom/bcm2835_gpio.c
2014-05-19 08:33:41 +00:00
reinoud
56e033dde9 Add i2c locators, add a i2c bus indexer and provide function prototype for the
pinset to pindata function.
2014-05-16 10:04:58 +00:00
reinoud
3619c72c99 Fix issues with the gpio controller:
* the func get/put shift is 4 bits, not 16!
* redo available and inuse bits
* create a function to get a pindata from a pinset
2014-05-16 10:02:24 +00:00
rmind
d67ab12c1d pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.
2014-05-16 00:48:41 +00:00
reinoud
4bbeac14dd Revisit gpio and revisit register file mapping. The additional register files
are now mapped behind the origional register file.

The gpio channel GPZ is mapped over I2S0 in the separate audio register file
and were both abusively mapped over I2C0 in the main register file!

While here, delay the gpio bootstrap till on attachment. We could hasten it in
the odroid_machdep.c if needed. Also make the gpio code more resilliant and
allow booting correctly without any GPIO bits defined/available.
2014-05-14 09:03:09 +00:00