freebsd-dev/sys/arm
Ian Lepore 0bd904ed47 Work around bcm283x silicon bugs to make i2c repeat-start work for the most
common case where it's needed -- a write followed by a read to the same slave.

The i2c controller in this chip only performs complete transfers, it does
not provide control over start/repeat-start/stop operations on the bus.
Thus, we have gotten a full stop/start sequence rather than a repeat-start
when doing a typical i2c slave access of "write address, read data".  Some
i2c slave devices require a repeat-start to work correctly.

These changes cause the controller to do a repeat-start by pre-staging the
read parameters in the controller registers immediate after the controller
has latched the values for the initial write operation, but before any
bytes are actually written.  With the values pre-staged, when the write
portion of the transfer completes, the state machine in the silicon sees
a new start operation already staged and that causes it to perform a
repeat-start.  The key to tricking the buggy hardware into doing this is
to avoid prefilling any output data in the transmit FIFO so that it is
possible to catch the silicon in the state where transmit values are
latched but the transmit isn't completed yet.
2017-10-01 16:48:36 +00:00
..
allwinner Disable/enable CSUM_UDP and CSUM_TCP along with CSUM_IP 2017-09-30 10:35:44 +00:00
altera/socfpga Add FPGA manager driver for Intel Arria 10. 2017-03-03 14:19:37 +00:00
amlogic/aml8726 Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
annapurna/alpine Add PLATFORM and PLATFORM_SMP support to the ALPINE kernel configuration. 2017-07-04 12:26:47 +00:00
arm Detect NEON and set HWCAP_NEON if present. 2017-09-22 17:58:57 +00:00
at91 Defer attaching and probing iicbus and its children until interrupts are 2017-09-13 16:54:27 +00:00
broadcom/bcm2835 Work around bcm283x silicon bugs to make i2c repeat-start work for the most 2017-10-01 16:48:36 +00:00
cavium/cns11xx Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Remove the VIRT kernel config, it's now useable through GENERIC. 2017-09-24 13:28:24 +00:00
freescale Add i.MX6 and Xilinx to GENERIC. 2017-09-24 09:33:08 +00:00
include Detect NEON and set HWCAP_NEON if present. 2017-09-22 17:58:57 +00:00
lpc Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
mv Add Armada 80x0/70x0 compatible to 38x RTC driver 2017-09-05 05:45:57 +00:00
nvidia Restore original (pre r315760) naming for Tegra SDHCI device. 2017-03-23 08:16:53 +00:00
qemu Make the default FDT implementation of platform_mp_setmaxid use the cpu 2017-03-17 12:45:53 +00:00
ralink [arm] [rt1310] add initial RT1310 SoC code. 2017-05-06 06:14:46 +00:00
rockchip Remake support for SMP kernel on UP cpu: 2017-02-02 06:14:44 +00:00
samsung/exynos Add a delay count to the last few places. This will help make MULTIDELAY 2017-07-04 17:15:23 +00:00
ti Rename sdhci_cam_start_slot() into sdhci_start_slot() 2017-09-24 09:05:35 +00:00
versatile Move the simple armv6 only timer drivers to require MULTIDELAY to help 2017-07-04 18:07:09 +00:00
xilinx Add external PLATFORM access on arm, and use it in the pl310 driver. 2017-07-11 16:30:16 +00:00
xscale i81342 is little endian, not big endian. 2017-09-19 20:33:22 +00:00