History log of /freebsd-10.0-release/sys/arm/ti/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


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.


254593 21-Aug-2013 ian

Make the noop clock successfully do nothing, because doing nothing and
returning an error status (which the NULL method pointers caused) isn't
nearly as useful.


254592 21-Aug-2013 ian

Define the uart clocks so that they can be en/disabled at runtime.


254559 20-Aug-2013 ian

Make the standard sdhci(4) driver work for the TI OMAP family SoCs.
The MMCHS hardware is pretty much a standard SDHCI v2.0 controller with a
couple quirks, which are now supported by sdhci(4) as of r254507.

This should work for all TI SoCs that use the MMCHS hardware, but it has
only been tested on AM335x right now, so this enables it on those platforms
but leaves the existing ti_mmchs driver in place for other OMAP variants
until they can be tested.

This initial incarnation lacks DMA support (coming soon). Even without it
this improves performance pretty noticibly over the ti_mmchs driver,
primarily because it now does multiblock IO.


253971 05-Aug-2013 cognet

Let the platform calculate the timer frequency at runtime, and use that for
the omap4, instead of relying on the (wrong) value provided in the dts.


253830 31-Jul-2013 rpaulo

Initialisation routines for the mailbox, spinlock and PRU-ICSS clocks.


253053 09-Jul-2013 rpaulo

Improve a comment.


253025 08-Jul-2013 gonzo

Add IDs for TPS65217C and TPS65217D


253023 08-Jul-2013 gonzo

- AM335x requires updated soft-reset logic too


252913 07-Jul-2013 gonzo

- Add USBSS driver for AM335x SoC. Driver is a wrapper around Mentors Graphic
USB OTG core.


252863 06-Jul-2013 rpaulo

Don't clear the SYSCONFIG register on boot.

This follows section 18.4.2.2 SD Soft Reset Flow in the TI AM335x Technical
Reference Manual and seems to fix the "ti_mmchs0: Error: current cmd NULL,
already done?" messages.


252722 04-Jul-2013 gonzo

Add support for ePWM submodule of PWMSS

ePWM is controlled by sysctl nodes dev.am335x_pwm.N.period,
dev.am335x_pwm.N.dutyA and dev.am335x_pwm.N.dutyB that controls
PWM period and duty cycles for channels A and B respectively.

Period and duty cycle are measured in clock ticks. Default
clock frequency for AM335x PWM subsystem is 100MHz


252282 27-Jun-2013 gonzo

- Request non-cached memory for framebuffer
- Properly probe/initialize syscons


252229 26-Jun-2013 rpaulo

Print the 'setting internal ...' message only with bootverbose.


251586 09-Jun-2013 cognet

Increase the maximum KVM available on TI chips. Not sure why we suddenly need
that much, but that lets me boot with 1GB of RAM.


251018 27-May-2013 gonzo

AM335x LCD controller driver with syscons support

Limitations:
- Raster mode only
- 24 and 32 bpp only


251017 27-May-2013 gonzo

Add PWM module driver for AM335x. Only eCAS subsystem is supported

Export function to configure eCAS submodule from another drivers.
It's used to control LCD panel backlight on AM335x EVM.


251016 27-May-2013 gonzo

Add SCM registers definitions for AM335x platform


251015 27-May-2013 gonzo

Add clock definitions for LCD controller and PWM module


250791 18-May-2013 kientzle

Back out r250768 until I can further investigate why it might
be causing problems with the BeagleBone Black boot.


250768 18-May-2013 kientzle

Label the mmc child after the parent.


249586 17-Apr-2013 gabor

- Correct mispellings of word resource

Submitted by: Christoph Mallon <christoph.mallon@gmx.de>


249181 06-Apr-2013 gonzo

Properly clean "spurious interrupt" state

Suggested by: Ian Lepore


248407 17-Mar-2013 ian

Add a macro that gets the physical address of a memory mapped device
register from a bus space resource.

Note that this macro is just for ARM, and is intended to have a short
lifespan. The DMA engines in some SoCs need the physical address of a
memory-mapped device register as one of the arguments for the transfer.
Several scattered ad-hoc solutions have been converted to use this macro,
which now also serves to mark the places where a more complete fix needs
to be applied (after that fix has been designed).


247463 28-Feb-2013 mav

MFcalloutng:
Switch eventtimers(9) from using struct bintime to sbintime_t.
Even before this not a single driver really supported full dynamic range of
struct bintime even in theory, not speaking about practical inexpediency.
This change legitimates the status quo and cleans up the code.


247391 27-Feb-2013 gonzo

Fix typo


247390 27-Feb-2013 gonzo

- Initialize GPIO_OE register based on pinmux configuration

Although AM335x TRM states that GPIO_OE register is not used and just
reflects pads configuration in practice it does control pin behavior
and shoiuld be set in addition to pinmux setup


247259 25-Feb-2013 gonzo

Fix off-by-one error in sanity checks


247252 25-Feb-2013 gonzo

- Fix off-by-one error when returning max pin number
- Fix GPIOGET for output pins. Requesting state for
output pin is valid operation, get the state from
TI_GPIO_DATAOUTX register


246850 15-Feb-2013 gonzo

Fix copy-paste error in bus_space_unmap argument

While I'm at it - fix some style(9) issues

Submitted by: Mikael Urankar


246276 03-Feb-2013 kientzle

Another overhaul of the CPSW driver for BeagleBone

Major changes:
* Finally tracked down the flow control setting that
seems to have been causing TX stalls and watchdog timeouts
* RX and TX paths now share a lot more code
* TX interrupt is no longer used; we instead GC finished
tx queue entries at the bottom of the start routine.
* TX start now queues fragmented packets directly; it only
invokes defrag() for occasional very fragmented packets.
* "sysctl dev.cpsw" dumps controller statistics and queue counts
* Host Error Interrupt will give extensive debugging information
if the controller chokes on the queued data.


246025 28-Jan-2013 dmarion

Fix case for some signal names.

Submitted by: Emmanuel Vadot <elbarto@megadrive.org>


246024 28-Jan-2013 dmarion

Filled in missing pads for AM335x / Beaglebone.

Submitted by: Emmanuel Vadot <elbarto@megadrive.org>


245672 19-Jan-2013 kientzle

Clarify the error messages for unrecognized pins and muxtypes.


245203 09-Jan-2013 cognet

Define IPI_IRQ_START and IPI_IRQ_END.


245137 07-Jan-2013 gonzo

- Identify more devices for OMAP4 SoC (up to OMAP4470)
- Whitespace fixes


245070 05-Jan-2013 kientzle

Shuffle the TX underrun to work the same way as the RX underrun,
as suggested by YongHyeon PYUN.


245064 05-Jan-2013 kientzle

While trying to track down the root cause for
TX stalls in this driver, I've also had some
time to evaluate the effectiveness of different
watchdog strategies.

This is the latest attempt, which consolidates
all of the watchdog logic in one place and
consistently detects TX stalls and resets within
a couple of seconds.


244939 01-Jan-2013 kientzle

Overhauled CPSW driver for TI CPSW Ethernet module
(as used in AM335x SoC for BeagleBone).

Among other things:
* Watchdog reset doesn't hang the driver.
* Disconnecting cable doesn't hang the driver.
* ifconfig up/down doesn't hang the driver
* Out-of-memory no longer panics the driver.

Known issues:
* Doesn't have good support for fragmented packets
(calls m_defrag() on TX, assumes RX packets are never fragmented)
* Promisc and allmulti still unimplimented
* addmulti and delmulti still unimplemented
* TX queue still stalls (but watchdog now consistently recovers in ~5s)
* No sysctl monitoring
* Only supports port0
* No switch configuration support
* Not tested on anything but BeagleBone

Committed from: BeagleBone


244914 31-Dec-2012 gonzo

PL310 driver update:

- Add pl310.disable tunable to disable L2 cache altogether. In
order to make sure that it's 100% disabled we use cache event
counters for cache line eviction and read allocate events
and panic if any of these counters increased. This is purely
for debugging purpose
- Direct access DEBUG_CTRL and CTRL might be unavailable in
unsecure mode, so use platform-specific functions for
these registers
- Replace #if 1 with proper erratum numbers
- Add erratum 753970 workaround
- Remove wait function for atomic operations
- Protect cache operations with spin mutex in order to prevent race condition
- Disable instruction cache prefetch and make sure data cache
prefetch is enabled in OMAP4-specific intialization


243882 05-Dec-2012 glebius

Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags within sys.

Exceptions:

- sys/contrib not touched
- sys/mbuf.h edited manually


243523 25-Nov-2012 kientzle

Fix spelling.


243462 23-Nov-2012 imp

Strip trailing newline.


242531 03-Nov-2012 andrew

Merge the FDT versions of initarm.

The copies of initarm used on platforms with FDT support were almost
identical. The differences were pulled out into separate functions that
were called by initarm.

This change merges the, now identical, copies of initarm and a few of it's
support functions. This is a step towards a common kernel on ARMv6.


242362 30-Oct-2012 cognet

Fix SMP build for omap4

Submitted by: Giovanni Trematerra <gianni at freebsd DOT org>


242191 27-Oct-2012 kientzle

Missing paren.

Pointy hat:me


242125 26-Oct-2012 kientzle

set the kernelname from the boot loader environment.
This fixes kern.bootfile sysctl.

Submitted by: Giovanni Trematerra


242068 25-Oct-2012 kientzle

Do proper padding of runt packets using code copied from bge(4).

Reviewed by: gnn


242067 25-Oct-2012 kientzle

Refer to headers locally. This makes it a lot easier
to build this driver out-of-tree.


241844 22-Oct-2012 eadler

remove duplicate semicolons where possible.

Approved by: cperciva
MFC after: 1 week


241831 22-Oct-2012 kientzle

Don't repeat the POSTREAD dma sync.


241721 19-Oct-2012 kientzle

Replace deprecated M_DONTWAIT with M_NOWAIT.


241572 15-Oct-2012 kientzle

Fix an mbuf leak in cpsw driver, clean up mbuf management:
* Record TX mbufs when we get them so we can release them.
* Set TX/RX mbuf slots to NULL when we are no longer responsible for them
* Move dma sync on RX into RX intr routine


241564 14-Oct-2012 kientzle

Cut-and-paste dropped semicolon.


241563 14-Oct-2012 kientzle

Name cpsw_stop to cpsw_stop_locked consistently with other functions
in this file that assume locks are already held.


241562 14-Oct-2012 kientzle

Return correct packet size.


241081 01-Oct-2012 andrew

Remove unused variables from the OMAP ehci code.


240846 23-Sep-2012 andrew

Pull out the SoC specific parts of initarm into separate functions


240845 23-Sep-2012 andrew

Update different versions of physmap_init to be identical in preparation
for merging them.


240844 22-Sep-2012 andrew

Reduce the diff between the FDT implementations of initarm.
This only touches whitespace and comments.


240802 22-Sep-2012 andrew

Create a common set_stackptrs in sys/arm/machdep.c.

On single core devices set_stackptrs is only ever called with cpu = 0 in
initarm and will be identical to the existing function. On SMP this needs
to be implemented for sys/arm/mp_machdep.c, but the implementations are
identical for each SoC.


240571 16-Sep-2012 jmg

remove some unnecessary debugging statements, dead code and incorrect
comment...

Reviewed by: gnn, imp


240518 14-Sep-2012 eadler

Correct double "the the"

Approved by: cperciva
MFC after: 3 days


239722 27-Aug-2012 kientzle

Correctly fetch the MAC address.

Break down the bytes directly into the softc;
the intermediate buffer isn't needed here.
Break down the bytes in the correct order.


239690 25-Aug-2012 gonzo

Style cleanup


239553 22-Aug-2012 kientzle

After r239366, fix the ti_edma3.c driver to use the
exact name as used in the FDT.


239362 18-Aug-2012 andrew

Set machine correctly on ARM. This allows universe to use the correct world
when building each kernel.

Reviewed by: imp


239283 15-Aug-2012 gonzo

Specify architecture for assembler


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