|author||popcornmix <email@example.com>||2013-11-04 18:56:10 +0000|
|committer||popcornmix <firstname.lastname@example.org>||2015-05-18 14:10:34 +0100|
Add Chris Boot's i2c and spi drivers.
i2c-bcm2708: fixed baudrate Fixed issue where the wrong CDIV value was set for baudrates below 3815 Hz (for 250MHz bus clock). In that case the computed CDIV value was more than 0xffff. However the CDIV register width is only 16 bits. This resulted in incorrect setting of CDIV and higher baudrate than intended. Example: 3500Hz -> CDIV=0x11704 -> CDIV(16bit)=0x1704 -> 42430Hz After correction: 3500Hz -> CDIV=0x11704 -> CDIV(16bit)=0xffff -> 3815Hz The correct baudrate is shown in the log after the cdiv > 0xffff correction. Perform I2C combined transactions when possible Perform I2C combined transactions whenever possible, within the restrictions of the Broadcomm Serial Controller. Disable DONE interrupt during TA poll Prevent interrupt from being triggered if poll is missed and transfer starts and finishes. i2c: Make combined transactions optional and disabled by default
Diffstat (limited to 'arch/arm/mach-bcm2708/Kconfig')
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2708/Kconfig b/arch/arm/mach-bcm2708/Kconfig
index 9355841e58e2..e151ed4efbbb 100644
@@ -31,4 +31,11 @@ config BCM2708_NOL2CACHE
Do not allow ARM to use GPU's L2 cache. Requires disable_l2cache in config.txt.
+ bool "Bind spidev to SPI0 master"
+ depends on MACH_BCM2708
+ depends on SPI
+ default y
+ Binds spidev driver to the SPI0 master