u-boot/drivers/spi
Dirk Behme 9a30903b44 spi: mxc_spi: Update pre and post divider algorithm
The spi clock divisor is of the form x * (2**y),  or  x  << y, where x is
1 to 16, and y is 0 to 15. Note the similarity with floating point numbers.
Convert the desired divisor to the smallest number which is >= desired divisor,
and can be represented in this form. The previous algorithm chose a divisor
which could be almost twice as large as needed.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
2013-06-26 16:23:30 +02:00
..
altera_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
andes_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
andes_spi.h andes_spi: add andes_spi interface 2011-07-25 23:40:11 +02:00
armada100_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
atmel_dataflash_spi.c AT91/SPI: fix atmel_dataflash_spi.c to allow building without warnings 2011-08-03 13:00:56 +02:00
atmel_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
atmel_spi.h spi: atmel: add WDRBT bit to avoid receive overrun 2012-09-01 17:06:14 +02:00
bfin_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
bfin_spi6xx.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
cf_qspi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
cf_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
davinci_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
davinci_spi.h TI DaVinci: Driver for the davinci SPI controller 2010-02-12 12:31:53 -06:00
exynos_spi.c Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' 2013-04-04 15:44:57 +02:00
fdt_spi.c tegra114: add SPI driver 2013-03-25 09:56:07 -07:00
fsl_espi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
ich.c Consolidate bool type 2013-04-01 16:33:52 -04:00
ich.h x86: spi: Add Intel ICH driver 2013-03-19 08:45:36 -07:00
kirkwood_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
Makefile Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-03-28 18:50:01 +01:00
mpc8xxx_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
mpc52xx_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
mxc_spi.c spi: mxc_spi: Update pre and post divider algorithm 2013-06-26 16:23:30 +02:00
mxs_spi.c imx: Move some header files from arch-mxs to imx-common 2013-04-22 10:22:22 +02:00
oc_tiny_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
omap3_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
omap3_spi.h OMAP3 SPI : Fixed bugs related to SPI transfer 2012-12-10 08:55:25 -07:00
sh_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
sh_spi.h sh_spi: Add 4 chip select signals supporting 2012-03-26 10:09:31 +09:00
soft_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
spi.c spi: Add function to allocate a new SPI slave 2013-03-19 08:45:36 -07:00
tegra20_sflash.c Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-03-28 18:50:01 +01:00
tegra20_slink.c Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-03-28 18:50:01 +01:00
tegra114_spi.c tegra114: add SPI driver 2013-03-25 09:56:07 -07:00
xilinx_spi.c spi: Use spi_alloc_slave() in each SPI driver 2013-03-19 08:45:36 -07:00
xilinx_spi.h spi: xilinx_spi: Perform software reset during slave setup 2013-02-04 12:09:49 +01:00