freebsd-skq/sys/arm/broadcom/bcm2835
Luiz Otavio O Souza d6cf3c637e FreeBSD, historically, has always used 8-bit addresses for i2c devices
(7-bit device address << 1), always leaving the room for the read/write bit.

This commit convert ti_i2c and revert r259127 on bcm2835_bsc to make them
compatible with 8-bit addresses.  Previous to this commit an i2c device
would have different addresses depending on the controller it was attached
to (by example, when compared to any iicbb(4) based i2c controller), which
was a pretty annoying behavior.

Also, update the PMIC i2c address on beaglebone* DTS files to match the new
address scheme.

Now the userland utilities need to do the correct slave address shifting
(but it is going to work with any i2c controller on the system).

Discussed with:	ian
MFC after:	2 weeks
2014-06-03 19:24:53 +00:00
..
bcm2835_bsc.c FreeBSD, historically, has always used 8-bit addresses for i2c devices 2014-06-03 19:24:53 +00:00
bcm2835_bscreg.h
bcm2835_bscvar.h
bcm2835_common.c
bcm2835_dma.c
bcm2835_dma.h
bcm2835_fb.c
bcm2835_fbd.c
bcm2835_gpio.c
bcm2835_gpio.h
bcm2835_intr.c Optimise reading of pending interrupt registers. If there are no 2014-05-20 15:03:23 +00:00
bcm2835_machdep.c
bcm2835_mbox.c
bcm2835_mbox.h
bcm2835_sdhci.c
bcm2835_spi.c
bcm2835_spireg.h
bcm2835_spivar.h
bcm2835_systimer.c
bcm2835_vcbus.h
bcm2835_wdog.c
bcm2835_wdog.h
files.bcm2835 Factor out kernel configuration for DWC OTG FDT attach code. 2014-05-29 11:13:40 +00:00
std.bcm2835
std.rpi