freebsd-dev/sys/arm
Luiz Otavio O Souza 801abb3eba 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.

Phabric:	D465
2014-08-20 17:02:37 +00:00
..
allwinner Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
arm /usr/libexec/ld.so.1 never was a thing on FreeBSD/arm. This was the 2014-08-18 02:45:06 +00:00
at91 Make note about reset vs RTOE actions... 2014-08-18 21:04:35 +00:00
broadcom/bcm2835 FreeBSD, historically, has always used 8-bit addresses for i2c devices 2014-06-03 19:24:53 +00:00
cavium/cns11xx Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
conf Convert the HL201 config file to use FDT. 2014-08-17 16:53:10 +00:00
freescale Move the imx6 sysctl temperature info to hw.imx6 where all the other 2014-08-16 20:44:45 +00:00
include Expand the elf brandelf infrastructure to give access to the whole ELF 2014-08-18 02:44:56 +00:00
lpc Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
mv Avoid using hard-coded SoC's register address in mptramp code for Armada XP 2014-06-05 21:37:04 +00:00
rockchip Factor out kernel configuration for DWC OTG FDT attach code. 2014-05-29 11:13:40 +00:00
s3c2xx0 When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
samsung/exynos Remove unnecessary inclusion of FDT headers. 2014-08-08 06:30:17 +00:00
ti Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: 2014-08-20 17:02:37 +00:00
versatile Don't destroy bus_dma maps created by bus_dmamem_alloc(). In some cases, 2014-06-10 20:25:45 +00:00
xilinx Fix the Zedboard/Zynq ethernet driver to handle media speed changes so 2014-07-14 20:58:57 +00:00
xscale put these under bootverbose, they are only needed for debugging, not 2014-08-06 21:16:15 +00:00