freebsd-skq/sys/arm/broadcom/bcm2835
loos 25f32ee36b 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 Add the Raspberry Pi BSC (I2C compliant) controller driver. 2013-10-23 12:29:39 +00:00
bcm2835_bscvar.h As all the IIC controllers on system uses the same 'iichb' prefix we cannot 2013-11-12 13:34:07 +00:00
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 Add driver for BCM2835's DMA engine 2013-02-28 19:48:19 +00:00
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 Export a function to allow BCM2835's peripheral devices to enable their 2013-09-07 18:48:15 +00:00
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 Convert bcm2835_mbox to the new mbox interface. 2013-07-07 21:23:58 +00:00
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 Add the Raspberry Pi SPI controller driver. 2013-10-24 16:27:33 +00:00
bcm2835_spivar.h Add the Raspberry Pi SPI controller driver. 2013-10-24 16:27:33 +00:00
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 Add macroses to properly map IO peripherals memory window from 2013-02-23 22:46:26 +00:00
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 Move the Raspberry Pi low level options out of the kernel config and into 2013-07-15 07:01:30 +00:00
std.rpi Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with 2014-01-28 09:12:04 +00:00