path: root/arch/arm/mach-bcm2708/Makefile
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/Makefile
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/Makefile')
0 files changed, 0 insertions, 0 deletions