dm: i2c: tegra: Convert to driver model
authorSimon Glass <sjg@chromium.org>
Wed, 10 Dec 2014 15:55:57 +0000 (08:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:44 +0000 (13:18 -0700)
commitb0e6ef46405353270595ffa35c21f4334c541189
tree919f435acfe6b7276e465deecdc777631155f158
parenta6c7b461814028870697182d19383ef5b370c257
dm: i2c: tegra: Convert to driver model

This converts all Tegra boards over to use driver model for I2C. The driver
is adjusted to use driver model and the following obsolete CONFIGs are
removed:

   - CONFIG_SYS_I2C_INIT_BOARD
   - CONFIG_I2C_MULTI_BUS
   - CONFIG_SYS_MAX_I2C_BUS
   - CONFIG_SYS_I2C_SPEED
   - CONFIG_SYS_I2C

This has been tested on:
- trimslice (no I2C)
- beaver
- Jetson-TK1

It has not been tested on Tegra 114 as I don't have that board.

Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
30 files changed:
arch/arm/cpu/tegra20-common/pmu.c
arch/arm/dts/tegra124-jetson-tk1.dts
arch/arm/dts/tegra30-tec-ng.dts
arch/arm/include/asm/arch-tegra/tegra_i2c.h
board/avionic-design/common/tamonten-ng.c
board/nvidia/cardhu/cardhu.c
board/nvidia/common/board.c
board/nvidia/dalmore/dalmore.c
board/nvidia/whistler/whistler.c
board/toradex/apalis_t30/apalis_t30.c
drivers/i2c/tegra_i2c.c
drivers/power/tps6586x.c
include/configs/apalis_t30.h
include/configs/beaver.h
include/configs/cardhu.h
include/configs/colibri_t30.h
include/configs/dalmore.h
include/configs/jetson-tk1.h
include/configs/nyan-big.h
include/configs/seaboard.h
include/configs/tec-ng.h
include/configs/tegra-common.h
include/configs/tegra114-common.h
include/configs/tegra124-common.h
include/configs/tegra20-common.h
include/configs/tegra30-common.h
include/configs/trimslice.h
include/configs/venice2.h
include/configs/whistler.h
include/tps6586x.h