#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
297395 |
|
29-Mar-2016 |
loos |
Add the SPI driver for am335x.
This driver works in PIO mode for now, interrupts are available only when FIFO is enabled. The FIFO cannot be used with arbitrary sizes which defeat its general use.
At some point we can add DMA transfers where the FIFO can be more useful.
Tested on uBMC (microBMC) and BBB.
Sponsored by: Rubicon Communications (Netgate)
|
#
291133 |
|
21-Nov-2015 |
andrew |
Move more bus_space_* files to be built by files.arm. This leaves the definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt platforms.
Sponsored by: ABT Systems Ltd
|
#
291108 |
|
20-Nov-2015 |
andrew |
Remove bus_space_asm_generic.S from the per-SoC files.* files, it's already in files.arm.
Sponsored by: ABT Systems Ltd
|
#
288992 |
|
07-Oct-2015 |
andrew |
Move pmu.c to files.arm and rename the option to pmu. This is not hwpmc specific as we may use the pmu registers for other uses. No configs seem to currently build this.
This will allow for more use of this device.
Discussed with: bz Sponsored by: ABT Systems Ltd
|
#
283276 |
|
22-May-2015 |
gonzo |
Switch TI platform support code from using FreeBSD's custom-baked DTS files to vendor-provided ones. It should make easier to adopt platform code to new revisions of hardware and to use DTS overlays for various Beaglebone extensions (shields/capes).
Original dts filenames were not changed, they're now wrappers over dts files provided by TI. So make sure you update .dtb files on your devices as part of kernel update
GPIO addressing was changed: instead of one global /dev/gpioc0 there are per-bank instances of /dev/gpiocX. Each bank has 32 pins so for instance pin 121 on /dev/gpioc0 in old addressing scheme is now pin 25 on /dev/gpioc3
On Pandaboard serial console devices was changed from /dev/ttyu0 to /dev/ttyu2 so you'll have to update /etc/ttys to get login prompt on serial port in multiuser mode. Single user mode serial console should work as-is
Differential Revision: https://reviews.freebsd.org/D2146 Reviewed by: rpaulo, ian, Michal Meloun, Svatopluk Kraus
|
#
280831 |
|
29-Mar-2015 |
andrew |
Build the cpufunc_asm_* files based on the cpu type, not which config file we happen to be building.
|
#
280826 |
|
29-Mar-2015 |
andrew |
Remove cpufunc_asm_arm11.S from the ARMv7 configs, it's not used.
|
#
280810 |
|
29-Mar-2015 |
andrew |
Stop building unused cpuvunc_* files, we don't need anything from these.
|
#
277835 |
|
28-Jan-2015 |
br |
Add ARMv7 performance monitoring counters.
Differential Revision: https://reviews.freebsd.org/D1687 Reviewed by: rpaulo Sponsored by: DARPA, AFRL
|
#
277472 |
|
21-Jan-2015 |
ian |
Rename bus_space-v6.c to bus_space_base.c, because it's not v6-specific and now some v5 Marvell systems are using it. Only define fdt_bus_tag if option FDT is defined.
|
#
273262 |
|
18-Oct-2014 |
andrew |
Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments to be present. Thsi creates a new per-SoC driver that handles probe and setting/getting the gpio flags.
Differential Revision: https://reviews.freebsd.org/D943 Reviewed by: loos, rpaulo MFC after: 1 week
|
#
273258 |
|
18-Oct-2014 |
rpaulo |
Make the ti_mbox and ti_pruss drivers optional.
MFC after: 1 week
|
#
273257 |
|
18-Oct-2014 |
rpaulo |
Add a driver for the TI watchdog.
The TI watchdog timer is present on BeagleBone's. Since 2014, U-Boot has been booting the BeagleBone with the watchdog enabled. We need to disable it on boot to avoid a spurious reset. The timer isn't exactly precise, but it will do as a watchdog. This is also a reflection of the watchdog(9) API.
In the future, we could handle interrupts, but the watchdog(9) API needs to be a bit smarter before that can happen.
Differential Revision: https://reviews.freebsd.org/D965 Reviewed by: andrew MFC after: 1 week Relnotes: yes
|
#
273055 |
|
13-Oct-2014 |
andrew |
Move the sdhci option to files.ti, it's common to both SoCs.
|
#
263693 |
|
24-Mar-2014 |
loos |
Adds the ADC driver for TI AM3xxx SoC family.
The ADC has a 12bit resolution and its raw output can be read via sysctl(8) interface.
The driver allows the setup of ADC clock, samples average and open delay (the number of clock cycles to wait before start the conversion).
The TSC_ADC module is set in the general purpose mode (no touchscreen support).
Tested on Beaglebone-black.
Written based on AM335x TRM.
Reviewed by: rpaulo Approved by: adrian (mentor) Tested by: me, Brian J. McGovern, Sulev-Madis Silber (ketas)
|
#
262979 |
|
10-Mar-2014 |
ian |
Eliminate irq_dispatch.S. Move the data items it contained into arm/intr.c and the functionality it provided into arm/exception.S. Rename the main irq handling routine from arm_handler_execute() to arm_irq_handler() to make it more congruent with how other exception handlers are named, and also update its signature to reflect what has long been reality: it is passed just a trapframe pointer, no interrupt number argument.
|
#
262916 |
|
07-Mar-2014 |
imp |
Move all the files named foo/common.c to foo/foo_common.c, as appropriate for each of the 'foo' in the tree. This will allow us to compile them together (although symbol conflicts prevent us from doing that today, this just fixes the file name collision).
|
#
259270 |
|
12-Dec-2013 |
loos |
After r256961 ofw_iicbuc.c will be built for any kernel which includes options 'iicbus' and 'fdt'. Remove the (now) unnecessary entries.
Verified on BBB (am335x), EFIKA_MX (imx51 - by ray@), DIGI-CCWMX53 (imx53 - kernel build).
Approved by: adrian (mentor)
|
#
258211 |
|
16-Nov-2013 |
rpaulo |
Enable the ti_mbox and ti_pruss drivers.
|
#
257775 |
|
07-Nov-2013 |
ian |
Switch to the new common bus_space-v6.c, remove the local one.
|
#
254598 |
|
21-Aug-2013 |
ian |
Add support for uarts other than the serial console in TI OMAP SoCs.
The TI uart hardware is ns16550-compatible, except that before it can be used the clocks and power have to be enabled and a non-standard mode control register has to be set to put the device in uart mode (as opposed to irDa or other serial protocols). This adds the extra code in an extension to the standard ns8250 probe routine, and the rest of the driver is just the standard ns8250 code.
|
#
239281 |
|
15-Aug-2012 |
gonzo |
Merging of projects/armv6, part 10
- Support for Texas Instruments SoCs: - AM335x - OMAP4
- Kernel configs, DTS for Beaglebone and Pandaboard
Submitted by: Ben Gray, Damjan Marion
|