]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i.MX31: Make the SPI bus and chip select configurable for MC13783
authorMagnus Lilja <lilja.magnus@gmail.com>
Fri, 29 Aug 2008 08:36:18 +0000 (10:36 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 11 Sep 2008 23:23:44 +0000 (01:23 +0200)
commit1a6337b01351b82a45b0defa76f08744511c580b
tree2a9a9e97ad896b5f337be1edfd747b3e57bff32b
parent8c4ebec25b21e355b8488698ec1594da9701fff4
i.MX31: Make the SPI bus and chip select configurable for MC13783

The i.MX31 has three SPI buses and each bus has several chip selects
and the MC13783 chip can be connected to any of these. The current
RTC driver for MC13783 is hardcoded for CSPI2/SS2.

This patch makes make MC13783 SPI bus and chip select configurable
via CONFIG_MC13783_SPI_BUS and CONFIG_MC13783_SPI_CS.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
doc/README.mx31 [new file with mode: 0644]
drivers/rtc/mc13783-rtc.c
include/configs/imx31_litekit.h
include/configs/mx31ads.h