path: root/arch/arm/mach-bcm2708/Kconfig
diff options
authorpopcornmix <>2013-11-04 18:56:10 +0000
committerpopcornmix <>2015-05-18 14:10:34 +0100
commitcefa17faebaf7574d71fedca70f066daa9d69e78 (patch)
tree2e0c839aa7824bc93f5bd1d3904a3f5e3b5a0edb /arch/arm/mach-bcm2708/Kconfig
parentbc0639ef79636e12ede0da9be5725072e2745830 (diff)
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
--- a/arch/arm/mach-bcm2708/Kconfig
+++ b/arch/arm/mach-bcm2708/Kconfig
@@ -31,4 +31,11 @@ config BCM2708_NOL2CACHE
Do not allow ARM to use GPU's L2 cache. Requires disable_l2cache in config.txt.
+config BCM2708_SPIDEV
+ bool "Bind spidev to SPI0 master"
+ depends on MACH_BCM2708
+ depends on SPI
+ default y
+ help
+ Binds spidev driver to the SPI0 master