1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/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 Move all the files named foo/common.c to foo/foo_common.c, as 2014-03-08 00:14:40 +00:00
bcm2835_dma.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
bcm2835_dma.h
bcm2835_fb.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
bcm2835_fbd.c Remove extra newlines. 2014-05-14 11:15:48 +00:00
bcm2835_gpio.c Allow the use of the OFW GPIO bus for ti_gpio and bcm2835_gpio. With this 2014-02-13 18:42:23 +00:00
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 Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
bcm2835_mbox.c Correct the order of arguments to mtx_init(). 2014-02-14 11:18:15 +00:00
bcm2835_mbox.h
bcm2835_sdhci.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
bcm2835_spi.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
bcm2835_spireg.h
bcm2835_spivar.h
bcm2835_systimer.c Replace many pasted identical definitions of cpu_initclocks() with a common 2014-02-26 22:06:10 +00:00
bcm2835_vcbus.h
bcm2835_wdog.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
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 Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00