Bring in new I2C framework
Subsystems (8)
PATCH v3 9/9 i2c, ppc4xx_i2c: switch to new multibus/multiadapter support
In reply to Heiko SchocherFrom: Dirk Eibach <[email protected]>
---
- changes for v3:
- new patch in this serie
- changes against post from Dirk Eibach
patchwork.ozlabs.org/patch/239502
- adapt README
- fix rebase issue in include/configs/CANBT.h
--- README | 5 + arch/powerpc/cpu/ppc4xx/40x_spd_sdram.c | 6 +- arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c | 6 +- arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | 3 +- arch/powerpc/cpu/ppc4xx/cmd_chip_config.c | 2 +- arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c | 3 +- arch/powerpc/include/asm/ppc4xx-i2c.h | 18 -- board/csb272/csb272.c | 2 +- board/esd/du440/du440.c | 2 - board/lwmon5/kbd.c | 2 +- board/mpl/pip405/pip405.c | 2 +- board/sandburst/common/ppc440gx_i2c.c | 510 ------------------------------ board/sandburst/common/ppc440gx_i2c.h | 60 ---- board/sandburst/common/sb_common.c | 103 +++--- board/sandburst/common/sb_common.h | 1 - board/sandburst/karef/Makefile | 3 +- board/sandburst/karef/karef.c | 5 - board/sandburst/metrobox/Makefile | 3 +- board/sandburst/metrobox/metrobox.c | 6 - drivers/i2c/Makefile | 2 +- drivers/i2c/ppc4xx_i2c.c | 193 ++++++----- include/configs/APC405.h | 9 +- include/configs/ASH405.h | 9 +- include/configs/CANBT.h | 16 +- include/configs/CATcenter.h | 9 +- include/configs/CMS700.h | 9 +- include/configs/CPCI2DP.h | 9 +- include/configs/CPCI405.h | 9 +- include/configs/CPCI4052.h | 9 +- include/configs/CPCI405AB.h | 9 +- include/configs/CPCI405DT.h | 9 +- include/configs/CPCIISER4.h | 9 +- include/configs/CRAYL1.h | 9 +- include/configs/DP405.h | 9 +- include/configs/DU405.h | 9 +- include/configs/DU440.h | 18 +- include/configs/G2000.h | 9 +- include/configs/HH405.h | 11 +- include/configs/HUB405.h | 9 +- include/configs/JSE.h | 9 +- include/configs/KAREF.h | 16 +- include/configs/METROBOX.h | 16 +- include/configs/MIP405.h | 9 +- include/configs/OCRTC.h | 9 +- include/configs/ORSG.h | 9 +- include/configs/PCI405.h | 9 +- include/configs/PIP405.h | 9 +- include/configs/PLU405.h | 9 +- include/configs/PMC405.h | 9 +- include/configs/PMC405DE.h | 9 +- include/configs/PMC440.h | 14 +- include/configs/PPChameleonEVB.h | 9 +- include/configs/VOH405.h | 9 +- include/configs/VOM405.h | 9 +- include/configs/W7OLMC.h | 9 +- include/configs/W7OLMG.h | 9 +- include/configs/WUH405.h | 9 +- include/configs/acadia.h | 2 +- include/configs/alpr.h | 11 +- include/configs/amcc-common.h | 7 +- include/configs/bamboo.h | 2 +- include/configs/bluestone.h | 2 +- include/configs/bubinga.h | 4 +- include/configs/canyonlands.h | 2 +- include/configs/csb272.h | 9 +- include/configs/csb472.h | 9 +- include/configs/dlvision-10g.h | 2 +- include/configs/dlvision.h | 2 +- include/configs/ebony.h | 2 +- include/configs/gdppc440etx.h | 2 +- include/configs/icon.h | 3 +- include/configs/intip.h | 2 +- include/configs/io.h | 2 +- include/configs/io64.h | 2 +- include/configs/iocon.h | 8 +- include/configs/katmai.h | 3 +- include/configs/kilauea.h | 2 +- include/configs/korat.h | 9 +- include/configs/luan.h | 2 +- include/configs/lwmon5.h | 9 +- include/configs/makalu.h | 2 +- include/configs/neo.h | 2 +- include/configs/ocotea.h | 2 +- include/configs/p3p440.h | 11 +- include/configs/pcs440ep.h | 9 +- include/configs/quad100hd.h | 9 +- include/configs/redwood.h | 4 +- include/configs/sbc405.h | 9 +- include/configs/sc3.h | 9 +- include/configs/sequoia.h | 2 +- include/configs/t3corp.h | 2 +- include/configs/taihu.h | 4 +- include/configs/taishan.h | 2 +- include/configs/walnut.h | 2 +- include/configs/xpedite1000.h | 10 +- include/configs/yosemite.h | 2 +- include/configs/yucca.h | 4 +- include/configs/zeus.h | 9 +- 98 Dateien ge?ndert, 465 Zeilen hinzugef?gt(+), 1025 Zeilen entfernt(-) delete mode 100644 board/sandburst/common/ppc440gx_i2c.c delete mode 100644 board/sandburst/common/ppc440gx_i2c.h
README +5 -0
@@ -1925,6 +1925,11 @@ CBFS (Coreboot Filesystem) support - This driver adds 4 i2c buses with a fix speed from 100000 and the slave addr 0! + - drivers/i2c/ppc4xx_i2c.c + - activate this driver with CONFIG_SYS_I2C_PPC4XX + - CONFIG_SYS_I2C_PPC4XX_CH0 activate hardware channel 0 + - CONFIG_SYS_I2C_PPC4XX_CH1 activate hardware channel 1 + additional defines: CONFIG_SYS_NUM_I2C_BUSES
arch/powerpc/cpu/ppc4xx/40x_spd_sdram.c +1 -5
@@ -52,10 +52,6 @@/* * Set default values */ -#ifndef CONFIG_SYS_I2C_SPEED -#define CONFIG_SYS_I2C_SPEED 50000 -#endif -#define ONE_BILLION 1000000000#define SDRAM0_CFG_DCE 0x80000000
@@ -158,7 +154,7 @@ long int spd_sdram(int(read_spd)(uint addr))* Make sure I2C controller is initialized * before continuing. */ -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (CONFIG_SYS_SPD_BUS_NUM ); }/* Make shure we are using SDRAM */
arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c +1 -5
@@ -62,10 +62,6 @@/* * Set default values */ -#ifndef CONFIG_SYS_I2C_SPEED -#define CONFIG_SYS_I2C_SPEED 50000 -#endif -#define ONE_BILLION 1000000000/*
@@ -168,7 +164,7 @@ long int spd_sdram(void) {* Make sure I2C controller is initialized * before continuing. */ -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (CONFIG_SYS_SPD_BUS_NUM );/* * Read the SPD information using I2C interface. Check to see if the
arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c +1 -2
@@ -459,8 +459,7 @@ phys_size_t initdram(int board_type)*/ /* switch to correct I2C bus */ -I2C_SET_BUS (CONFIG_SYS_SPD_BUS_NUM ); -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (CONFIG_SYS_SPD_BUS_NUM );/*------------------------------------------------------------------ * Clear out the serial presence detect buffers.
arch/powerpc/cpu/ppc4xx/cmd_chip_config.c +1 -1
@@ -56,7 +56,7 @@ static int do_chip_config(cmd_tbl_t *cmdtp, int flag, int argc, char * const arg* First switch to correct I2C bus. This is I2C bus 0 * for all currently available 4xx derivats. */ -I2C_SET_BUS (0 ); +i2c_set_bus_num (0 );#ifdef CONFIG_CMD_EEPROM ret = eeprom_read(CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR,
arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c +1 -2
@@ -1041,8 +1041,7 @@ phys_size_t initdram(int board_type)* before continuing. */ /* switch to correct I2C bus */ -I2C_SET_BUS (CONFIG_SYS_SPD_BUS_NUM ); -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (CONFIG_SYS_SPD_BUS_NUM );/*------------------------------------------------------------------ * Clear out the serial presence detect buffers.
arch/powerpc/include/asm/ppc4xx-i2c.h +0 -18
@@ -34,24 +34,6 @@#define IIC_TIMEOUT 1/* 1 second */ -#if defined(CONFIG_I2C_MULTI_BUS ) -#define I2C_BUS_OFFS (i2c_bus_num * 0x100) -#else -#define I2C_BUS_OFFS (0x000) -#endif /* CONFIG_I2C_MULTI_BUS */ - -#if defined(CONFIG_440EP ) || defined(CONFIG_440GR ) || \ - defined(CONFIG_440EPX ) || defined(CONFIG_440GRX ) || \ - defined(CONFIG_460EX ) || defined(CONFIG_460GT ) -#define I2C_BASE_ADDR (CONFIG_SYS_PERIPHERAL_BASE + 0x00000700 + I2C_BUS_OFFS) -#elif defined(CONFIG_440 ) || defined(CONFIG_405EX ) -/* all remaining 440 variants */ -#define I2C_BASE_ADDR (CONFIG_SYS_PERIPHERAL_BASE + 0x00000400 + I2C_BUS_OFFS) -#else -/* all 405 variants */ -#define I2C_BASE_ADDR (0xEF600500 + I2C_BUS_OFFS) -#endif -struct ppc4xx_i2c {u8 mdbuf;u8 res1;
board/csb272/csb272.c +1 -1
@@ -51,7 +51,7 @@ uchar pll_fs6377_regs[16] = {*/ int pll_init (void ) { -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (0 );return i2c_write (CONFIG_SYS_I2C_PLL_ADDR ,0 ,1 , (uchar *) pll_fs6377_regs,sizeof (pll_fs6377_regs));
board/esd/du440/du440.c +0 -2
@@ -385,7 +385,6 @@ int last_stage_init(void)return 0 ; } -#if defined(CONFIG_I2C_MULTI_BUS )/* * read field strength from I2C ADC */
@@ -500,7 +499,6 @@ U_BOOT_CMD("Initialize USB hub" ,"" ); -#endif /* CONFIG_I2C_MULTI_BUS */ #define CONFIG_SYS_BOOT_EEPROM_PAGE_WRITE_BITS 3 int boot_eeprom_write (unsigned dev_addr,
board/lwmon5/kbd.c +1 -1
@@ -111,7 +111,7 @@ static void kbd_init (void)uchar val, errcd;int i; -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (0 ); gd->arch.kbd_status =0 ;
board/mpl/pip405/pip405.c +1 -1
@@ -209,7 +209,7 @@ int board_early_init_f (void)#endif /* Read Serial Presence Detect Information */ -i2c_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); +i2c_set_bus_num (0 );for (i =0 ; i <128 ; i++) datain[i] =127 ;i2c_read (SPD_EEPROM_ADDRESS ,0 ,1 ,datain,128 );
board/sandburst/common/ppc440gx_i2c.c deleted +0 -510
510 lines not on this page · raw message
board/sandburst/common/ppc440gx_i2c.h deleted +0 -60
60 lines not on this page · raw message
board/sandburst/common/sb_common.c +52 -51
158 lines not on this page · raw message
board/sandburst/common/sb_common.h +0 -1
@@ -28,7 +28,6 @@#include <asm/io.h> #include <spd_sdram.h> #include <i2c.h> -#include "ppc440gx_i2c.h" /* * GPIO Settings
board/sandburst/karef/Makefile +1 -2
@@ -40,8 +40,7 @@ CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' LIB = $(obj)lib$(BOARD).o -COBJS = $(BOARD).o ../common/flash.o ../common/ppc440gx_i2c.o \ - ../common/sb_common.o +COBJS = $(BOARD).o ../common/flash.o ../common/sb_common.o SOBJS = init.o
board/sandburst/karef/karef.c +0 -5
@@ -337,11 +337,6 @@ int checkboard (void)************************************************************************/ int misc_init_f (void ) { -/* Turn on i2c bus 1 */ -puts ("I2C1: " ); -i2c1_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); -puts ("ready\n" ); -/* Turn on fans 3 & 4 */ sbcommon_fans ();
board/sandburst/metrobox/Makefile +1 -2
@@ -39,8 +39,7 @@ CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' LIB = $(obj)lib$(BOARD).o -COBJS = $(BOARD).o ../common/flash.o ../common/ppc440gx_i2c.o \ - ../common/sb_common.o +COBJS = $(BOARD).o ../common/flash.o ../common/sb_common.o SOBJS = init.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
board/sandburst/metrobox/metrobox.c +0 -6
@@ -30,7 +30,6 @@#include <asm/io.h> #include <spd_sdram.h> #include <i2c.h> -#include "../common/ppc440gx_i2c.h" #include "../common/sb_common.h" #if defined(CONFIG_HAS_ETH0 ) || defined(CONFIG_HAS_ETH1 ) || \ defined(CONFIG_HAS_ETH2 ) || defined(CONFIG_HAS_ETH3 )
@@ -305,11 +304,6 @@ int checkboard (void)************************************************************************/ int misc_init_f (void ) { -/* Turn on i2c bus 1 */ -puts ("I2C1: " ); -i2c1_init (CONFIG_SYS_I2C_SPEED ,CONFIG_SYS_I2C_SLAVE ); -puts ("ready\n" ); -/* Turn on fans */ sbcommon_fans ();
drivers/i2c/Makefile +1 -1
@@ -36,7 +36,6 @@ COBJS-$(CONFIG_DRIVER_OMAP1510_I2C) += omap1510_i2c.o COBJS-$(CONFIG_DRIVER_OMAP24XX_I2C) += omap24xx_i2c.o COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += omap24xx_i2c.o COBJS-$(CONFIG_PCA9564_I2C) += pca9564_i2c.o -COBJS-$(CONFIG_PPC4XX_I2C) += ppc4xx_i2c.o COBJS-$(CONFIG_DRIVER_S3C24X0_I2C) += s3c24x0_i2c.o COBJS-$(CONFIG_S3C44B0_I2C) += s3c44b0_i2c.o COBJS-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
@@ -45,6 +44,7 @@ COBJS-$(CONFIG_SH_I2C) += sh_i2c.o COBJS-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o COBJS-$(CONFIG_SYS_I2C) += i2c_core.o COBJS-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o +COBJS-$(CONFIG_SYS_I2C_PPC4XX) += ppc4xx_i2c.o COBJS-$(CONFIG_SYS_I2C_SOFT) += soft_i2c.o COBJS-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o
drivers/i2c/ppc4xx_i2c.c +96 -97
276 lines not on this page · raw message
include/configs/APC405.h +5 -4
@@ -305,10 +305,11 @@/* * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/ASH405.h +5 -4
@@ -246,10 +246,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CANBT.h +8 -8
@@ -180,14 +180,14 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F - -#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ -#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* bytes of address */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F + +#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ +#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* bytes of address */ /* mask of address bits that overflow into the "EEPROM chip address" */ #define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 0x07
include/configs/CATcenter.h +5 -4
@@ -401,10 +401,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CMS700.h +5 -4
@@ -226,10 +226,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CPCI2DP.h +5 -4
@@ -210,10 +210,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CPCI405.h +5 -4
@@ -259,10 +259,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CPCI4052.h +5 -4
@@ -286,10 +286,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CPCI405AB.h +5 -4
@@ -262,10 +262,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC32) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC32 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2/* Bytes of address */
include/configs/CPCI405DT.h +5 -4
@@ -281,10 +281,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CPCIISER4.h +5 -4
@@ -195,10 +195,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/CRAYL1.h +5 -4
@@ -76,11 +76,12 @@#define CONFIG_SERVERIP 10.0.0.1 #define CONFIG_ETHADDR 00:40:a6:80:14:5 */ -#define CONFIG_HARD_I2C 1/* hardware support for i2c */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 #define CONFIG_SDRAM_BANK0 1 -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x57#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1#define CONFIG_IDENT_STRING "Cray L1"
include/configs/DP405.h +5 -4
@@ -178,10 +178,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/DU405.h +5 -4
@@ -197,10 +197,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/DU440.h +10 -8
@@ -170,18 +170,20 @@/* * I2C */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F -#define CONFIG_I2C_MULTI_BUS 1 +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_PPC4XX_CH1 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_1 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_1 0x7F#define CONFIG_SYS_SPD_BUS_NUM 0#define IIC1_MCP3021_ADDR 0x4d#define IIC1_USB2507_ADDR 0x2c -#ifdef CONFIG_I2C_MULTI_BUS -#define CONFIG_SYS_I2C_NOPROBES {{1, IIC1_USB2507_ADDR}} -#endif +#define CONFIG_SYS_I2C_NOPROBES { {1, IIC1_USB2507_ADDR} } +#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR 0x54#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
include/configs/G2000.h +5 -4
@@ -297,10 +297,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT24WC08 */ /* CAT24WC08/16... */
include/configs/HH405.h +6 -5
@@ -333,14 +333,15 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 #if 0 /* test-only */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#else -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000#endif -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT24WC08 */ #define CONFIG_SYS_EEPROM_WREN 1
include/configs/HUB405.h +5 -4
@@ -246,10 +246,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/JSE.h +5 -4
@@ -210,10 +210,11 @@#define CONFIG_SYS_HZ 1000/* decrementer freq: 1 ms ticks */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/*-----------------------------------------------------------------------
include/configs/KAREF.h +9 -7
@@ -133,13 +133,15 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed 400kHz */ -#define CONFIG_SYS_I2C_SLAVE 0x7F/* I2C slave address */ -#define CONFIG_SYS_I2C_NOPROBES {0x69}/* Don't probe these addrs */ -#define CONFIG_I2C_BUS1 1/* Include i2c bus 1 supp */ - +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_PPC4XX_CH1 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_1 400000/* I2C speed 400kHz */ +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_1 0x7F +#define CONFIG_SYS_I2C_NOPROBES { { 0, 0x69} }/* Don't probe these addrs */ /*----------------------------------------------------------------------- * Environment
include/configs/METROBOX.h +9 -7
@@ -195,13 +195,15 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed 400kHz */ -#define CONFIG_SYS_I2C_SLAVE 0x7F/* I2C slave address */ -#define CONFIG_SYS_I2C_NOPROBES {0x69}/* Don't probe these addrs */ -#define CONFIG_I2C_BUS1 1/* Include i2c bus 1 supp */ - +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_PPC4XX_CH1 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_1 400000/* I2C speed 400kHz */ +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_1 0x7F +#define CONFIG_SYS_I2C_NOPROBES { { 0, 0x69} }/* Don't probe these addrs */ /*----------------------------------------------------------------------- * Environment
include/configs/MIP405.h +5 -4
@@ -98,10 +98,11 @@* The Atmel EEPROM uses 16Bit addressing. ***************************************************************/ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 50000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 50000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x53/* EEPROM 24C128/256 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2/* Bytes of address */
include/configs/OCRTC.h +5 -4
@@ -216,10 +216,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/ORSG.h +5 -4
@@ -212,10 +212,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/PCI405.h +5 -4
@@ -208,10 +208,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/PIP405.h +5 -4
@@ -87,10 +87,11 @@* EEPROM of the SDRAM * The Atmel EEPROM uses 16Bit addressing. ***************************************************************/ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 50000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 50000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x53#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
include/configs/PLU405.h +5 -4
@@ -280,10 +280,11 @@/* * I2C EEPROM (24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM 24WC16 */ #define CONFIG_SYS_EEPROM_WREN 1
include/configs/PMC405.h +5 -4
@@ -238,10 +238,11 @@/* * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT24W16 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/PMC405DE.h +5 -4
@@ -216,10 +216,11 @@/* * I2C EEPROM (24W16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM 24W16 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/PMC440.h +8 -6
@@ -225,12 +225,14 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F - -#define CONFIG_I2C_MULTI_BUS 1 +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_PPC4XX_CH1 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_1 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_1 0x7F#define CONFIG_SYS_I2C_MULTI_EEPROMS
include/configs/PPChameleonEVB.h +5 -4
@@ -418,10 +418,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/VOH405.h +5 -4
@@ -279,10 +279,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT24WC08 */ #define CONFIG_SYS_EEPROM_WREN 1
include/configs/VOM405.h +5 -4
@@ -205,10 +205,11 @@/* * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/W7OLMC.h +5 -4
@@ -278,10 +278,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC08) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/W7OLMG.h +5 -4
@@ -285,10 +285,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (ATMEL 24C04N) */ -#define CONFIG_HARD_I2C 1/* Hardware assisted I2C */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM ATMEL 24C04N */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/WUH405.h +5 -4
@@ -243,10 +243,11 @@/*----------------------------------------------------------------------- * I2C EEPROM (CAT24WC16) for environment */ -#define CONFIG_HARD_I2C /* I2c with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* EEPROM CAT28WC08 */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/acadia.h +1 -1
@@ -206,7 +206,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/alpr.h +6 -5
@@ -121,11 +121,12 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F -#define CONFIG_SYS_I2C_NOPROBES {0x69}/* Don't probe these addrs */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} }/* Don't probe these addrs */ /*----------------------------------------------------------------------- * I2C EEPROM (PCF8594C)
include/configs/amcc-common.h +4 -3
@@ -42,9 +42,10 @@/* * I2C */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* * Ethernet/EMAC/PHY
include/configs/bamboo.h +1 -1
@@ -222,7 +222,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/bluestone.h +1 -1
@@ -122,7 +122,7 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR 0x54#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
include/configs/bubinga.h +2 -2
@@ -134,9 +134,9 @@* I2C stuff *----------------------------------------------------------------------- */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 -#define CONFIG_SYS_I2C_NOPROBES { 0x69 }/* avoid i2c probe hangup (why?) */ +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} }/* avoid i2c probe hangup (?) */ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 6/* 24C02 requires 5ms delay */ #if defined(CONFIG_CMD_EEPROM )
include/configs/canyonlands.h +1 -1
@@ -329,7 +329,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/csb272.h +5 -4
@@ -175,10 +175,11 @@* I2C configuration * */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed */ -#define CONFIG_SYS_I2C_SLAVE 0x7F/* I2C slave address */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* I2C slave address */ /* * MII PHY configuration
include/configs/csb472.h +5 -4
@@ -174,10 +174,11 @@* I2C configuration * */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed */ -#define CONFIG_SYS_I2C_SLAVE 0x7F/* I2C slave address */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* I2C slave address */ /* * MII PHY configuration
include/configs/dlvision-10g.h +1 -1
@@ -114,7 +114,7 @@/* * I2C stuff */ -#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000/* Temp sensor/hwmon/dtt */ #define CONFIG_DTT_LM63 1/* National LM63 */
include/configs/dlvision.h +1 -1
@@ -107,7 +107,7 @@/* * I2C stuff */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address*/ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000/* * FLASH organization
include/configs/ebony.h +1 -1
@@ -138,7 +138,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/gdppc440etx.h +1 -1
@@ -145,7 +145,7 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed+slave address*/ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000/* * Default environment variables
include/configs/icon.h +1 -2
@@ -120,9 +120,8 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 -#define CONFIG_I2C_MULTI_BUS #define CONFIG_SYS_SPD_BUS_NUM 0/* The I2C bus for SPD */ #define CONFIG_SYS_I2C_MULTI_EEPROMS
include/configs/intip.h +1 -1
@@ -228,7 +228,7 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/io.h +1 -1
@@ -114,7 +114,7 @@/* * I2C stuff */ -#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000/* Temp sensor/hwmon/dtt */ #define CONFIG_DTT_LM63 1/* National LM63 */
include/configs/io64.h +1 -1
@@ -340,7 +340,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_PCA9698 1/* NXP PCA9698 */
include/configs/iocon.h +4 -4
@@ -110,11 +110,11 @@/* * I2C stuff */ -#undef CONFIG_HARD_I2C#define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */ -#define CONFIG_SYS_I2C_SOFT_SPEED 400000 -#define CONFIG_SYS_I2C_SOFT_SLAVE 0xFE +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* * Software (bit-bang) I2C driver configuration
include/configs/katmai.h +1 -2
@@ -119,9 +119,8 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 -#define CONFIG_I2C_MULTI_BUS #define CONFIG_SYS_SPD_BUS_NUM 0/* The I2C bus for SPD */ #define IIC0_BOOTPROM_ADDR 0x50
include/configs/kilauea.h +1 -1
@@ -385,7 +385,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_EEPROM_ADDR 0x52/* I2C boot EEPROM (24C02BN) */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1/* Bytes of address */
include/configs/korat.h +5 -4
@@ -155,10 +155,11 @@/* * I2C */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/luan.h +1 -1
@@ -134,7 +134,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/lwmon5.h +5 -4
@@ -298,10 +298,11 @@/* * I2C */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_RTC_ADDR 0x51/* RTC */ #define CONFIG_SYS_I2C_EEPROM_CPU_ADDR 0x52/* EEPROM (CPU Modul) */
include/configs/makalu.h +1 -1
@@ -201,7 +201,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 6/* 24C02 requires 5ms delay */ #define CONFIG_SYS_I2C_EEPROM_ADDR 0x52/* I2C boot EEPROM (24C02BN) */
include/configs/neo.h +1 -1
@@ -117,7 +117,7 @@/* * I2C stuff */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000/* RTC */ #define CONFIG_RTC_DS1337
include/configs/ocotea.h +1 -1
@@ -151,7 +151,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/p3p440.h +6 -5
@@ -97,11 +97,12 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F -#define CONFIG_SYS_I2C_NOPROBES {0x69}/* Don't probe these addrs */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} }/* Don't probe these addrs */ /*----------------------------------------------------------------------- * I2C RTC
include/configs/pcs440ep.h +5 -4
@@ -139,10 +139,11 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 100000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR (0xa4>>1)#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
include/configs/quad100hd.h +5 -4
@@ -152,10 +152,11 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* base address */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2/* bytes of address */
include/configs/redwood.h +2 -2
@@ -110,13 +110,13 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define IIC0_BOOTPROM_ADDR 0x50#define IIC0_ALT_BOOTPROM_ADDR 0x54/* Don't probe these addrs */ -#define CONFIG_SYS_I2C_NOPROBES {0x50, 0x52, 0x53, 0x54} +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x50}, {0, 0x52}, {0, 0x53}, {0, 0x54} }#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2/* Bytes of address */
include/configs/sbc405.h +5 -4
@@ -168,10 +168,11 @@#define CONFIG_SYS_RX_ETH_BUFFER 16/* use 16 rx buffer on 405 emac */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/*----------------------------------------------------------------------- * PCI stuff
include/configs/sc3.h +5 -4
@@ -246,15 +246,16 @@* IIC stuff *----------------------------------------------------------------------- */ -#define CONFIG_HARD_I2C /* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 #define I2C_INIT #define I2C_ACTIVE 0#define I2C_TRISTATE 0 -#define CONFIG_SYS_I2C_SPEED 100000/* use the standard 100kHz speed */ -#define CONFIG_SYS_I2C_SLAVE 0x7F/* mask valid bits */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 100000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* mask valid bits */ #define CONFIG_RTC_DS1337 #define CONFIG_SYS_I2C_RTC_ADDR 0x68
include/configs/sequoia.h +1 -1
@@ -232,7 +232,7 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/t3corp.h +1 -1
@@ -319,7 +319,7 @@/* * I2C */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/taihu.h +2 -2
@@ -138,9 +138,9 @@* I2C stuff *----------------------------------------------------------------------- */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 -#define CONFIG_SYS_I2C_NOPROBES { 0x69 }/* avoid i2c probe hangup (why?) */ +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} }/* avoid i2c probe hangup (?) */ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 6/* 24C02 requires 5ms delay */ #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* I2C boot EEPROM (24C02W) */
include/configs/taishan.h +1 -1
@@ -133,7 +133,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#undef CONFIG_SYS_I2C_MULTI_EEPROMS#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
include/configs/walnut.h +1 -1
@@ -95,7 +95,7 @@* I2C stuff *----------------------------------------------------------------------- */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/xpedite1000.h +5 -5
@@ -145,11 +145,11 @@ extern void out32(unsigned int, unsigned long);/* * I2C */ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7f -#define CONFIG_I2C_MULTI_BUS +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7f/* I2C EEPROM */ #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
include/configs/yosemite.h +1 -1
@@ -137,7 +137,7 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define CONFIG_SYS_I2C_MULTI_EEPROMS #define CONFIG_SYS_I2C_EEPROM_ADDR (0xa8>>1)
include/configs/yucca.h +2 -2
@@ -120,13 +120,13 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000#define IIC0_BOOTPROM_ADDR 0x50#define IIC0_ALT_BOOTPROM_ADDR 0x54/* Don't probe these addrs */ -#define CONFIG_SYS_I2C_NOPROBES {0x50, 0x52, 0x53, 0x54} +#define CONFIG_SYS_I2C_NOPROBES { {0, 0x50}, {0, 0x52}, {0, 0x53}, {0, 0x54} }/* #if defined(CONFIG_CMD_EEPROM) */ /* #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 */ /* I2C boot EEPROM */
include/configs/zeus.h +5 -4
@@ -168,10 +168,11 @@/*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ -#define CONFIG_HARD_I2C 1/* I2C with hardware support */ -#define CONFIG_PPC4XX_I2C /* use PPC4xx driver */ -#define CONFIG_SYS_I2C_SPEED 400000/* I2C speed and slave address */ -#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_PPC4XX +#define CONFIG_SYS_I2C_PPC4XX_CH0 +#define CONFIG_SYS_I2C_PPC4XX_SPEED_0 400000 +#define CONFIG_SYS_I2C_PPC4XX_SLAVE_0 0x7F/* these are for the ST M24C02 2kbit serial i2c eeprom */ #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50/* base address */
Signature · 1 line
1.7.11.7
PATCH v3 9/9 i2c, ppc4xx_i2c: switch to new multibus/multiadapter support
Quoted 5 lines · Heiko Schocher
From: Dirk Eibach <[email protected]>
Signed-off-by Dirk Eibach <[email protected]>Cc Heiko Schocher <[email protected]>Cc Stefan Roese <[email protected]>
Heiko & Dirk, thanks for this work.
I tested this patch-set on sequoia and canyonlands. No problems detected. So:
Thanks,
Stefan
v3 cover Bring in new I2C framework
In reply to Heiko SchocherHello Heiko,
Am 04.05.2013 14:01, schrieb Heiko Schocher:
Quoted 15 lines
It seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can dropCONFIG_I2C_MUXcompletely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Quoted 7 lines
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.
great to see you finally made it.
Testing was done on our iocon platform (which was the reason I started the ppc4xx adaption). I will rebase on your patchset and post our ppc4xx series again.
Cheers
Dirk
v3 cover Bring in new I2C framework
Hello Dirk,
Am 06.05.2013 10:57, schrieb Dirk Eibach:
Quoted 26 lines
Hello Heiko,
Am 04.05.2013 14:01, schrieb Heiko Schocher:
Quoted 15 lines
It seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can dropCONFIG_I2C_MUXcompletely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Quoted 7 lines
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.
Quoted 4 lines
great to see you finally made it.
Testing was done on our iocon platform (which was the reason I started the ppc4xx adaption). I will rebase on your patchset and post our ppc4xx series again.
Thanks for your work!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
v3 cover Bring in new I2C framework
In reply to Heiko SchocherDear Heiko,
Quoted 31 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can dropCONFIG_I2C_MUXcompletely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.
Quoted 8 lines
Cc Dirk Eibach <[email protected]>Cc Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Piotr Wilczek <[email protected]>Cc Holger Brunck <[email protected]>Cc Mike Frysinger <[email protected]>Cc Stephen Warren <[email protected]>
I ported s3c24x0_i2c driver and tested this framework on Samsung tree on Trats2 board.
Best regards,
Piotr Wilczek
v3 cover Bring in new I2C framework
Hi Piotr,
Quoted 42 lines · Piotr Wilczek
Dear Heiko,
Quoted 31 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can dropCONFIG_I2C_MUXcompletely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.Quoted 8 lines
Cc Dirk Eibach <[email protected]>Cc Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Piotr Wilczek <[email protected]>Cc Holger Brunck <[email protected]>Cc Mike Frysinger <[email protected]>Cc Stephen Warren <[email protected]>
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework on Samsung tree on Trats2 board.
Please can you send a patch for this port?
Quoted 6 lines
Best regards,
Piotr Wilczek
Regards,
Simon
v3 cover Bring in new I2C framework
Hi Simon,
Quoted 55 lines
-----Original Message-----
From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
Quoted 20 lines · Piotr Wilczek
Dear Heiko,
Quoted 18 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 22 lines
Quoted 21 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Piotr Wilczek <[email protected]>Cc Holger Brunck <[email protected]>Cc Mike Frysinger <[email protected]>Cc Stephen Warren <[email protected]>
Quoted 4 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework on Samsung treeon Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing Trsts2, where I want to use this framework.
I'm sorry I didn't mention it in my first mail.
http://patchwork.ozlabs.org/patch/244645/
http://patchwork.ozlabs.org/patch/244644/
.
http://patchwork.ozlabs.org/patch/244638/
http://patchwork.ozlabs.org/patch/244637/
http://patchwork.ozlabs.org/patch/244640/
http://patchwork.ozlabs.org/patch/244636/
Quoted 10 lines
Quoted 7 lines
Best regards,
Piotr WilczekRegards,
Simon
Best regards,
Piotr
v3 cover Bring in new I2C framework
Hi Heiko,
Quoted 62 lines · Piotr Wilczek
Hi Simon,
Quoted 55 lines
-----Original Message-----
From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
Quoted 20 lines · Piotr Wilczek
Dear Heiko,
Quoted 18 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in mainline and move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c, so no need for defining the used i2c adpaters in the board config
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 22 lines
Quoted 21 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Piotr Wilczek <[email protected]>Cc Holger Brunck <[email protected]>Cc Mike Frysinger <[email protected]>Cc Stephen Warren <[email protected]>Quoted 4 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework on Samsung treeon Trats2 board.
Please can you send a patch for this port?
Quoted 12 lines
I posted that patch and some others with series introducing Trsts2, where I want to use this framework.
I'm sorry I didn't mention it in my first mail.
http://patchwork.ozlabs.org/patch/244645/
http://patchwork.ozlabs.org/patch/244644/
.
http://patchwork.ozlabs.org/patch/244638/
http://patchwork.ozlabs.org/patch/244637/
http://patchwork.ozlabs.org/patch/244640/
http://patchwork.ozlabs.org/patch/244636/
What is the status of this series now please?
Regards,
Simon
v3 cover Bring in new I2C framework
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 66 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]> [mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass > Sent: Saturday, May 18, 2013 7:41 PM
> To: Piotr Wilczek
> Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; Stefan Roese;
> Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
> Subject: Re: [PATCH v3 0/9] Bring in new I2C framework
>
> Hi Piotr,
>
> On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>> > wrote:
> > Dear Heiko,
> >
> >> -----Original Message-----
> >> From: Heiko Schocher [mailto:hs at denx.de <mailto:[email protected]>]
> >> Sent: Saturday, May 04, 2013 2:02 PM
> >> To: u-boot at lists.denx.de <mailto:[email protected]>
> >> Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr
> >> Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
> >> Subject: [PATCH v3 0/9] Bring in new I2C framework
> >>
> >> It seems the timing is coming, to bring this finally in mainline and
> >> move boards over to the new i2c framework.
> >>
> >> Changes for v3 series:
> >>
> >> - Compiler collects the used i2c adapters in_u_boot_list_i2c,
> >> so no need for defining the used i2c adpaters in the board config
> >> file.
> >> -> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
> >> - Some adaptions for the keymile boards, so we can drop
>CONFIG_I2C_MUX
> >> completely
> >> - addppc4xx_i2cdriver, ported from Dirk Eibach
> >>
> >> Serie compiles clean on arm and powerpc
> >>
> >> Ported i2c drivers:
> >>soft_i2c: from me, tested on some arm and powerpc boards
> >>fsl_i2c: from me, only compile tested
> >>tegra_i2c: ported from Simon Glass
> >>ppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
> >> tested on (which board?) with 4soft_i2cdrivers
> >> and oneppc4x_i2cdriver.
> >>
> >> Cc: Dirk Eibach <[email protected]>
> >> Cc: Stefan Roese <sr at denx.de <mailto:[email protected]>>
> >> Cc: Simon Glass <sjg at chromium.org <mailto:[email protected]>>
> >> Cc: Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>>
> >> Cc: Holger Brunck <holger.brunck at keymile.com <mailto:[email protected]>>
> >> Cc: Mike Frysinger <vapier at gentoo.org <mailto:[email protected]>>
> >> Cc: Stephen Warren <swarren at wwwdotorg.org <mailto:[email protected]>>
> >>
> >
> > I porteds3c24x0_i2cdriver and tested this framework on Samsung tree
> on Trats2 board.
>
> Please can you send a patch for this port?
Quoted 10 lines
I posted that patch and some others with series introducing Trsts2, where I want to use this framework.
I'm sorry I didn't mention it in my first mail.
http://patchwork.ozlabs.org/patch/244645/
http://patchwork.ozlabs.org/patch/244644/
.
http://patchwork.ozlabs.org/patch/244638/
http://patchwork.ozlabs.org/patch/244637/
http://patchwork.ozlabs.org/patch/244640/
http://patchwork.ozlabs.org/patch/244636/
Hups, missed this patches ...
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
So, the best for above patches would be, If I delegate them to me, and apply them, when merging the new i2c multibus support ...
@Minkyu: Is this OK for you?
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
v3 cover Bring in new I2C framework
Dear Heiko,
Quoted 88 lines · Heiko Schocher
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 66 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]> [mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass > Sent: Saturday, May 18, 2013 7:41 PM
> To: Piotr Wilczek
> Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; Stefan Roese;
> Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
> Subject: Re: [PATCH v3 0/9] Bring in new I2C framework
>
> Hi Piotr,
>
> On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>> > wrote:
> > Dear Heiko,
> >
> >> -----Original Message-----
> >> From: Heiko Schocher [mailto:hs at denx.de <mailto:[email protected]>]
> >> Sent: Saturday, May 04, 2013 2:02 PM
> >> To: u-boot at lists.denx.de <mailto:[email protected]>
> >> Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr
> >> Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
> >> Subject: [PATCH v3 0/9] Bring in new I2C framework
> >>
> >> It seems the timing is coming, to bring this finally in mainline and
> >> move boards over to the new i2c framework.
> >>
> >> Changes for v3 series:
> >>
> >> - Compiler collects the used i2c adapters in_u_boot_list_i2c,
> >> so no need for defining the used i2c adpaters in the board config
> >> file.
> >> -> dropCONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_ADAPTERS
> >> - Some adaptions for the keymile boards, so we can drop
>CONFIG_I2C_MUX
> >> completely
> >> - addppc4xx_i2cdriver, ported from Dirk Eibach
> >>
> >> Serie compiles clean on arm and powerpc
> >>
> >> Ported i2c drivers:
> >>soft_i2c: from me, tested on some arm and powerpc boards
> >>fsl_i2c: from me, only compile tested
> >>tegra_i2c: ported from Simon Glass
> >>ppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
> >> tested on (which board?) with 4soft_i2cdrivers
> >> and oneppc4x_i2cdriver.
> >>
> >> Cc: Dirk Eibach <[email protected]>
> >> Cc: Stefan Roese <sr at denx.de <mailto:[email protected]>>
> >> Cc: Simon Glass <sjg at chromium.org <mailto:[email protected]>>
> >> Cc: Piotr Wilczek <p.wilczek at samsung.com <mailto:[email protected]>>
> >> Cc: Holger Brunck <holger.brunck at keymile.com <mailto:[email protected]>>
> >> Cc: Mike Frysinger <vapier at gentoo.org <mailto:[email protected]>>
> >> Cc: Stephen Warren <swarren at wwwdotorg.org <mailto:[email protected]>>
> >>
> >
> > I porteds3c24x0_i2cdriver and tested this framework on Samsung tree
> on Trats2 board.
>
> Please can you send a patch for this port?Quoted 10 lines
I posted that patch and some others with series introducing Trsts2, where I want to use this framework.
I'm sorry I didn't mention it in my first mail.
http://patchwork.ozlabs.org/patch/244645/
http://patchwork.ozlabs.org/patch/244644/
.
http://patchwork.ozlabs.org/patch/244638/
http://patchwork.ozlabs.org/patch/244637/
http://patchwork.ozlabs.org/patch/244640/
http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
Quoted 5 lines
So, the best for above patches would be, If I delegate them to me, and apply them, when merging the new i2c multibus support ...
@Minkyu: Is this OK for you?
OK..
please pick patches.
Quoted 4 lines
bye,
Heiko
Thanks,
Minkyu Kang.
v3 cover Bring in new I2C framework
Dear Heiko,
Quoted 92 lines
-----Original Message-----
From: Minkyu Kang [mailto:mk7.kang at samsung.com]
Sent: Thursday, June 20, 2013 7:51 AM
To: Heiko Schocher
Cc: Simon Glass; Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkDear Heiko,
Quoted 6 lines · Heiko Schocher
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 3 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek
Quoted 5 lines · <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Quoted 5 lines
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]>[mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; StefanRoese;
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek
<p.wilczek at samsung.com <mailto:[email protected]>>
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:
Dear Heiko,
Quoted 2 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de<mailto:[email protected]>]
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de <mailto:[email protected]>
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass;Piotr
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in
mainline and
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c,Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
so no need for defining the used i2c adpaters in the
board config
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSand
CONFIG_SYS_I2C_ADAPTERSQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 3 lines
Quoted 3 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Serie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
and one
ppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <sr at denx.de <mailto:[email protected]>>Cc Simon Glass <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Piotr Wilczek <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Holger Brunck <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Mike Frysinger <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Stephen Warren <[email protected]<mailto:[email protected]>>
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework onSamsung tree
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
on Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing
Trsts2, where I
Quoted 14 lines
Quoted 9 lines
want to use this framework. I'm sorry I didn't mention it in my first mail. http://patchwork.ozlabs.org/patch/244645/ http://patchwork.ozlabs.org/patch/244644/ . http://patchwork.ozlabs.org/patch/244638/ http://patchwork.ozlabs.org/patch/244637/ http://patchwork.ozlabs.org/patch/244640/ http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 1 line
What is the status of this series now please?
If you take this series, please replace the following patch:
http://patchwork.ozlabs.org/patch/244642/
with the following one:
http://patchwork.ozlabs.org/patch/248927/
Quoted 13 lines
Quoted 4 lines
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
So, the best for above patches would be, If I delegate them to me,
and
Quoted 3 lines
apply them, when merging the new i2c multibus support ...
@Minkyu: Is this OK for you?
OK..
please pick patches.Quoted 1 line
Quoted 6 lines
Quoted 3 lines
bye,
HeikoThanks,
Minkyu Kang.
Best regards,
Piotr Wilczek
v3 cover Bring in new I2C framework
Hello Piotr,
Am 20.06.2013 08:41, schrieb Piotr Wilczek:
Quoted 114 lines
Dear Heiko,
Quoted 112 lines
-----Original Message-----
From: Minkyu Kang [mailto:mk7.kang at samsung.com]
Sent: Thursday, June 20, 2013 7:51 AM
To: Heiko Schocher
Cc: Simon Glass; Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkDear Heiko,
Quoted 6 lines · Heiko Schocher
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 3 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek
Quoted 5 lines · <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Quoted 5 lines
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]>[mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; StefanRoese;
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek
<p.wilczek at samsung.com <mailto:[email protected]>>
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:
Dear Heiko,
Quoted 2 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de<mailto:[email protected]>]
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de <mailto:[email protected]>
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass;Piotr
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in
mainline and
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c,Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
so no need for defining the used i2c adpaters in the
board config
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSand
CONFIG_SYS_I2C_ADAPTERSQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 3 lines
Quoted 3 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Serie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
and one
ppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <sr at denx.de <mailto:[email protected]>>Cc Simon Glass <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Piotr Wilczek <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Holger Brunck <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Mike Frysinger <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Stephen Warren <[email protected]<mailto:[email protected]>>
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework onSamsung tree
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
on Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing
Trsts2, where I
Quoted 12 lines
Quoted 9 lines
want to use this framework. I'm sorry I didn't mention it in my first mail. http://patchwork.ozlabs.org/patch/244645/ http://patchwork.ozlabs.org/patch/244644/ . http://patchwork.ozlabs.org/patch/244638/ http://patchwork.ozlabs.org/patch/244637/ http://patchwork.ozlabs.org/patch/244640/ http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
What is the status of this series now please?
If you take this series, please replace the following patch:
http://patchwork.ozlabs.org/patch/244642/with the following one:
http://patchwork.ozlabs.org/patch/248927/
I am little confused now ... can you send a complete list which patches have to be picked up... thanks!
Quoted 11 lines
Quoted 11 lines
Quoted 4 lines
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
So, the best for above patches would be, If I delegate them to me,
and
Quoted 3 lines
apply them, when merging the new i2c multibus support ...
@Minkyu: Is this OK for you?
OK..
please pick patches.
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
v3 cover Bring in new I2C framework
Dear Minkyu and Heiko,
Quoted 131 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Thursday, June 20, 2013 9:14 AM
To: Piotr Wilczek
Cc: 'Minkyu Kang'; 'Simon Glass'; 'U-Boot Mailing List'; 'Dirk Eibach'; 'Stefan Roese'; 'Holger Brunck'; 'Mike Frysinger'; 'Stephen Warren'
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHello Piotr,
Am 20.06.2013 08:41, schrieb Piotr Wilczek:
Quoted 74 lines
Dear Heiko,
Quoted 72 lines
-----Original Message-----
From: Minkyu Kang [mailto:mk7.kang at samsung.com]
Sent: Thursday, June 20, 2013 7:51 AM
To: Heiko Schocher
Cc: Simon Glass; Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkDear Heiko,
Quoted 6 lines · Heiko Schocher
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 3 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek
Quoted 5 lines · <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Quoted 5 lines
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]>[mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; StefanRoese;
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek
<p.wilczek at samsung.com <mailto:[email protected]>>
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:
Dear Heiko,
Quoted 2 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de<mailto:[email protected]>]
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de <mailto:[email protected]>
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; SimonGlass;
Piotr
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in
mainline and
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c,Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
so no need for defining the used i2c adpaters in the
board config
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSand
CONFIG_SYS_I2C_ADAPTERSQuoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 1 line
Quoted 1 line
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 7 lines
Quoted 7 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpcboards
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
fsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk EibachQuoted 41 lines
Quoted 40 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
tested on (which board?) with 4
soft_i2cdrivers
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
and one
ppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <sr at denx.de <mailto:[email protected]>>Cc Simon Glass <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Piotr Wilczek <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Holger Brunck <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Mike Frysinger <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Stephen Warren <[email protected]<mailto:[email protected]>>
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework onSamsung tree
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
on Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing
Trsts2, where I
Quoted 14 lines
Quoted 9 lines
want to use this framework. I'm sorry I didn't mention it in my first mail. http://patchwork.ozlabs.org/patch/244645/ http://patchwork.ozlabs.org/patch/244644/ . http://patchwork.ozlabs.org/patch/244638/ http://patchwork.ozlabs.org/patch/244637/ http://patchwork.ozlabs.org/patch/244640/ http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 1 line
What is the status of this series now please?
Quoted 9 lines
Quoted 5 lines
If you take this series, please replace the following patch:
http://patchwork.ozlabs.org/patch/244642/with the following one:
http://patchwork.ozlabs.org/patch/248927/I am little confused now ... can you send a complete list which patches have to be picked up... thanks!
This series does not apply cleanly any more on u-boot-i2c. I would have to post an updated version.
In my opinion, It would be better that this series to be disregarded and the new board Trats2 goes through the Samsung tree (it's been already tested). Then later I should post new patches to adapt s3c24x0 i2c driver.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
So, the best for above patches would be, If I delegate them to me,
and
Quoted 3 lines
apply them, when merging the new i2c multibus support ...
@Minkyu: Is this OK for you?
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
OK..
please pick patches.bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Best regards,
Piotr Wilczek
v3 cover Bring in new I2C framework
Hello Piotr,
Am 20.06.2013 10:34, schrieb Piotr Wilczek:
Quoted 143 lines
Dear Minkyu and Heiko,
Quoted 131 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Thursday, June 20, 2013 9:14 AM
To: Piotr Wilczek
Cc: 'Minkyu Kang'; 'Simon Glass'; 'U-Boot Mailing List'; 'Dirk Eibach'; 'Stefan Roese'; 'Holger Brunck'; 'Mike Frysinger'; 'Stephen Warren'
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHello Piotr,
Am 20.06.2013 08:41, schrieb Piotr Wilczek:
Quoted 74 lines
Dear Heiko,
Quoted 72 lines
-----Original Message-----
From: Minkyu Kang [mailto:mk7.kang at samsung.com]
Sent: Thursday, June 20, 2013 7:51 AM
To: Heiko Schocher
Cc: Simon Glass; Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkDear Heiko,
Quoted 6 lines · Heiko Schocher
Hello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 3 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek
Quoted 5 lines · <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Quoted 5 lines
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]>[mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; StefanRoese;
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek
<p.wilczek at samsung.com <mailto:[email protected]>>
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:
Dear Heiko,
Quoted 2 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de<mailto:[email protected]>]
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de <mailto:[email protected]>
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; SimonGlass;
Piotr
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in
mainline and
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c,Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
so no need for defining the used i2c adpaters in the
board config
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSand
CONFIG_SYS_I2C_ADAPTERSQuoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 1 line
Quoted 1 line
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 7 lines
Quoted 7 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpcboards
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
fsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk EibachQuoted 41 lines
Quoted 40 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
tested on (which board?) with 4
soft_i2cdrivers
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
and one
ppc4x_i2cdriver.Cc Dirk Eibach <[email protected]>Cc Stefan Roese <sr at denx.de <mailto:[email protected]>>Cc Simon Glass <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Piotr Wilczek <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Holger Brunck <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Mike Frysinger <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Stephen Warren <[email protected]<mailto:[email protected]>>
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework onSamsung tree
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
on Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing
Trsts2, where I
Quoted 14 lines
Quoted 9 lines
want to use this framework. I'm sorry I didn't mention it in my first mail. http://patchwork.ozlabs.org/patch/244645/ http://patchwork.ozlabs.org/patch/244644/ . http://patchwork.ozlabs.org/patch/244638/ http://patchwork.ozlabs.org/patch/244637/ http://patchwork.ozlabs.org/patch/244640/ http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 1 line
What is the status of this series now please?
Quoted 9 lines
Quoted 5 lines
If you take this series, please replace the following patch:
http://patchwork.ozlabs.org/patch/244642/with the following one:
http://patchwork.ozlabs.org/patch/248927/I am little confused now ... can you send a complete list which patches have to be picked up... thanks!
Quoted 6 lines
This series does not apply cleanly any more on u-boot-i2c. I would have to post an updated version.
In my opinion, It would be better that this series to be disregarded and the new board Trats2 goes through the Samsung tree (it's been already tested). Then later I should post new patches to adapt s3c24x0 i2c driver.
Ok from my side ...
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
v3 cover Bring in new I2C framework
In reply to Heiko SchocherDear All,
Quoted 106 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Thursday, June 20, 2013 5:38 AM
To: Simon Glass
Cc: Piotr Wilczek; U-Boot Mailing List; Dirk Eibach; Stefan Roese; Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHello Simon,
Am 20.06.2013 00:07, schrieb Simon Glass:
Quoted 3 lines
Hi Heiko,
On Sun, May 19, 2013 at 11:13 PM, Piotr Wilczek
Quoted 5 lines · <p.wilczek at samsung.com <mailto:[email protected]>> wrote:
Hi Simon,
> -----Original Message-----
> From: sjg at google.com <mailto:[email protected]>[mailto:sjg at google.com <mailto:[email protected]>] On Behalf Of Simon Glass
Quoted 3 lines
Quoted 3 lines
Sent: Saturday, May 18, 2013 7:41 PM
To: Piotr Wilczek
Cc: Heiko Schocher; U-Boot Mailing List; Dirk Eibach; StefanRoese;
Quoted 6 lines
Quoted 6 lines
Holger Brunck; Mike Frysinger; Stephen Warren; Minkyu Kang
Subject: Re: [PATCH v3 0/9] Bring in new I2C frameworkHi Piotr,
On Fri, May 17, 2013 at 6:17 AM, Piotr Wilczek
<p.wilczek at samsung.com <mailto:[email protected]>>
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines · wrote:
Dear Heiko,
Quoted 5 lines
-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de <mailto:[email protected]>]
Sent: Saturday, May 04, 2013 2:02 PM
To: u-boot at lists.denx.de <mailto:[email protected]>
Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass;Piotr
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren
Subject: [PATCH v3 0/9] Bring in new I2C frameworkIt seems the timing is coming, to bring this finally in
mainline and
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
move boards over to the new i2c framework.
Changes for v3 series:
- Compiler collects the used i2c adapters in
_u_boot_list_i2c,Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
so no need for defining the used i2c adpaters in the board
config
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
file.
-> dropCONFIG_SYS_NUM_I2C_ADAPTERSand
CONFIG_SYS_I2C_ADAPTERSQuoted 15 lines
Quoted 15 lines
Quoted 1 line
Quoted 1 line
- Some adaptions for the keymile boards, so we can drop
CONFIG_I2C_MUXQuoted 13 lines
Quoted 13 lines
completely
- addppc4xx_i2cdriver, ported from Dirk EibachSerie compiles clean on arm and powerpc
Ported i2c drivers:
soft_i2c: from me, tested on some arm and powerpc boardsfsl_i2c: from me, only compile testedtegra_i2c: ported from Simon Glassppc4xx_i2c: adapted from Dirk Eibach <[email protected]>
tested on (which board?) with 4soft_i2cdrivers and oneppc4x_i2cdriver.Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Cc Dirk Eibach <[email protected]>Cc Stefan Roese <sr at denx.de <mailto:[email protected]>>Cc Simon Glass <sjg at chromium.org <mailto:[email protected]>>Cc Piotr Wilczek <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Holger Brunck <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Mike Frysinger <[email protected]<mailto:[email protected]>>
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Cc Stephen Warren <[email protected]<mailto:[email protected]>>
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
I ported
s3c24x0_i2cdriver and tested this framework onSamsung tree
Quoted 5 lines
Quoted 3 lines
on Trats2 board.
Please can you send a patch for this port?
I posted that patch and some others with series introducing
Trsts2, where I
Quoted 9 lines
want to use this framework. I'm sorry I didn't mention it in my first mail. http://patchwork.ozlabs.org/patch/244645/ http://patchwork.ozlabs.org/patch/244644/ . http://patchwork.ozlabs.org/patch/244638/ http://patchwork.ozlabs.org/patch/244637/ http://patchwork.ozlabs.org/patch/244640/ http://patchwork.ozlabs.org/patch/244636/Hups, missed this patches ...
Quoted 8 lines
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
So, the best for above patches would be, If I delegate them to me, and apply them, when merging the new i2c multibus support ...
In this patch set I wanted to introduce new board and use the new i2c framework at the same time.
Because both go through two different tress, I finally decided to use only software i2c on the new board and switch to the new i2c framework when it is finally in the mainline. I'm sorry for confusion.
Quoted 7 lines
@Minkyu: Is this OK for you?
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Best regards,
Piotr Wilczek
v3 cover Bring in new I2C framework
In reply to Heiko SchocherHello Heiko,
Quoted 5 lines
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
actually I thought it would go into the current release :( What's the reason for the delay?
I rebased my series on this, so it would not get in either.
Cheers
Dirk
v3 cover Bring in new I2C framework
Hello Dirk,
Am 20.06.2013 08:52, schrieb Dirk Eibach:
Quoted 10 lines
Hello Heiko,
Quoted 5 lines
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
actually I thought it would go into the current release :( What's the reason for the delay?
No real reason (just not found time for it), and we are near to the release date, and this is a big change, which impacts a lot of boards, different architetures...
Ok, since my last version from 18.05.2013 I got no more comments, so ... just currently rebased against current head and it compiles clean for arm ... but I have to try it on some plattforms, also look at the powerpc side ... and I am afraid that I have no chance to do this in the next two weeks ... also I am nearly one week on vacation ... so there is not much time till the next release, for reviewing bugfixes ...
Quoted 1 line
I rebased my series on this, so it would not get in either.
Sorry for the delay ... I vote for pushing this to mainline when the next merge window opens, so more time for testing/fixing errors remains ...
You found my current multibus branch here:
http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/20130620_multibus_v2
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
v3 cover Bring in new I2C framework
Hello Heiko,
2013/6/20 Heiko Schocher <[email protected]>:
Quoted 26 lines
Hello Dirk,
Am 20.06.2013 08:52, schrieb Dirk Eibach:
Quoted 10 lines
Hello Heiko,
Quoted 5 lines
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
actually I thought it would go into the current release :( What's the reason for the delay?
No real reason (just not found time for it), and we are near to the release date, and this is a big change, which impacts a lot of boards, different architetures...
Ok, since my last version from 18.05.2013 I got no more comments, so ... just currently rebased against current head and it compiles clean for arm ... but I have to try it on some plattforms, also look at the powerpc side ... and I am afraid that I have no chance to do this in the next two weeks ... also I am nearly one week on vacation ... so there is not much time till the next release, for reviewing bugfixes ...
Quoted 5 lines
Quoted 1 line
I rebased my series on this, so it would not get in either.
Sorry for the delay ... I vote for pushing this to mainline when the next merge window opens, so more time for testing/fixing errors remains ...
OK, so with a strong emphasis on "when the next merge window *opens*"
Quoted 2 lines
You found my current multibus branch here:
http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/20130620_multibus_v2
As I am just doing a v4 of my series I will rebase it onto this.
Cheers
Dirk
v3 cover Bring in new I2C framework
Hello Dirk,
Am 20.06.2013 10:20, schrieb Dirk Eibach:
Quoted 29 lines
Hello Heiko,
2013/6/20 Heiko Schocher <[email protected]>:
Quoted 26 lines
Hello Dirk,
Am 20.06.2013 08:52, schrieb Dirk Eibach:
Quoted 10 lines
Hello Heiko,
Quoted 5 lines
Quoted 1 line
What is the status of this series now please?
I heared nothing negatives for the new i2c multibus framework, so I plan to merge it into mainline, if the next merge widow is open.
actually I thought it would go into the current release :( What's the reason for the delay?
No real reason (just not found time for it), and we are near to the release date, and this is a big change, which impacts a lot of boards, different architetures...
Ok, since my last version from 18.05.2013 I got no more comments, so ... just currently rebased against current head and it compiles clean for arm ... but I have to try it on some plattforms, also look at the powerpc side ... and I am afraid that I have no chance to do this in the next two weeks ... also I am nearly one week on vacation ... so there is not much time till the next release, for reviewing bugfixes ...
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
I rebased my series on this, so it would not get in either.
Sorry for the delay ... I vote for pushing this to mainline when the next merge window opens, so more time for testing/fixing errors remains ...
OK, so with a strong emphasis on "when the next merge window *opens*"
Yes!
Quoted 4 lines
Quoted 2 lines
You found my current multibus branch here:
http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/20130620_multibus_v2As I am just doing a v4 of my series I will rebase it onto this.
Ok, thanks!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany