blackfin: rename bfin-twi_i2c driver to adi_i2c

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
master
Scott Jiang 11 years ago committed by Heiko Schocher
parent 2086e388d5
commit fea9b69acd
  1. 2
      drivers/i2c/Makefile
  2. 7
      drivers/i2c/adi_i2c.c
  3. 2
      include/configs/bct-brettl2.h
  4. 2
      include/configs/bf518f-ezbrd.h
  5. 2
      include/configs/bf526-ezbrd.h
  6. 2
      include/configs/bf527-ad7160-eval.h
  7. 2
      include/configs/bf527-ezkit.h
  8. 2
      include/configs/bf527-sdp.h
  9. 2
      include/configs/bf537-minotaur.h
  10. 2
      include/configs/bf537-pnav.h
  11. 2
      include/configs/bf537-srv1.h
  12. 2
      include/configs/bf537-stamp.h
  13. 2
      include/configs/bf538f-ezkit.h
  14. 2
      include/configs/bf548-ezkit.h
  15. 2
      include/configs/bf609-ezkit.h
  16. 2
      include/configs/br4.h
  17. 2
      include/configs/cm-bf527.h
  18. 2
      include/configs/cm-bf537e.h
  19. 2
      include/configs/cm-bf537u.h
  20. 2
      include/configs/cm-bf548.h
  21. 2
      include/configs/pr1.h
  22. 2
      include/configs/tcm-bf518.h
  23. 2
      include/configs/tcm-bf537.h

@ -5,7 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
obj-$(CONFIG_BFIN_TWI_I2C) += bfin-twi_i2c.o
obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o
obj-$(CONFIG_I2C_MV) += mv_i2c.o
obj-$(CONFIG_PCA9564_I2C) += pca9564_i2c.o
obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o

@ -1,7 +1,7 @@
/*
* i2c.c - driver for Blackfin on-chip TWI/I2C
* i2c.c - driver for ADI TWI/I2C
*
* Copyright (c) 2006-2010 Analog Devices Inc.
* Copyright (c) 2006-2014 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
@ -9,9 +9,8 @@
#include <common.h>
#include <i2c.h>
#include <asm/blackfin.h>
#include <asm/clock.h>
#include <asm/mach-common/bits/twi.h>
#include <asm/twi.h>
/* Every register is 32bit aligned, but only 16bits in size */
#define ureg(name) u16 name; u16 __pad_##name;

@ -122,7 +122,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -134,7 +134,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -131,7 +131,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -119,7 +119,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -134,7 +134,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -103,7 +103,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -121,7 +121,7 @@
/*
* I2C settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1
#define CONFIG_SYS_I2C_SPEED 50000
#define CONFIG_SYS_I2C_SLAVE 0

@ -142,7 +142,7 @@
/*
* I2C settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -120,7 +120,7 @@
/*
* I2C settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1
#define CONFIG_SYS_I2C_SPEED 50000
#define CONFIG_SYS_I2C_SLAVE 0

@ -128,7 +128,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -126,7 +126,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -134,7 +134,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -81,7 +81,7 @@
#define CONFIG_PHYLIB
/* i2c Settings */
#define CONFIG_BFIN_TWI_I2C
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C
/*

@ -102,7 +102,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C

@ -113,7 +113,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -122,7 +122,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -120,7 +120,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -104,7 +104,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -102,7 +102,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C

@ -103,7 +103,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

@ -122,7 +122,7 @@
/*
* I2C Settings
*/
#define CONFIG_BFIN_TWI_I2C 1
#define CONFIG_SYS_I2C_ADI
#define CONFIG_HARD_I2C 1

Loading…
Cancel
Save