History log of /freebsd-10.3-release/sys/arm/ti/ti_i2c.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 273735 27-Oct-2014 loos

MFC: r266336, r270230 and r273263

r266336:
Allow us to compile the Ti iic driver for both OMAP4 and AM335x.

r270230:
Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems:

. interrupt storm detected on "intr70:"; throttling interrupt source;

. Added access serialization on iicbus_transfer(), previously there was
no such protection and a new transfer could easily confuse the
controller;

. Add error checkings (i.e. stop the transfer when a error is detected
and do _not_ overwrite the previous error);

. On command done interrupt do not assume that the transfer was finished
sucessfully as we will receive the command done interrupt even after
errors;

. Simplify the FIFO handling;

. Reset the FIFO between the transfers as the FIFO may contain data from
the last (failed) transfer;

. Fix the iicbus speed for AM335x, which in turn will make better use of
the I2C noise filter (set to one internal clock cycle);

. Move the read and write handler to ithread instead of notifying the
requesting thread with wakeup(9);

. Fix the comments based on OMAP4 TRM.

The above changes allows me to read the EDID from my HDMI monitor on BBB
with gonzo's patches to support TDA19988 (which does 128 bytes reads) and
repeatedly scan the iicbus (with a modified i2c(8)) without lock up the bus.

r273263:
Fix the chan address for mtx_sleep() on bus wait. Without this fix the
threads waiting for the bus would never wake.


# 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


# 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