u-boot-brain/drivers/i2c
Simon Glass e6f66ec0e7 dm: i2c: Move slave details to child platdata
At present we go through various contortions to store the I2C's chip
address in its private data. This only exists when the chip is active so
must be set up when it is probed. Until the device is probed we don't
actually record what address it will appear on.

However, now that we can support per-child platform data, we can use that
instead. This allows us to set up the address when the child is bound,
and avoid the messy contortions.

Unfortunately this is a fairly large change and it seems to be difficult to
break it down further.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2015-01-29 17:09:56 -07:00
..
adi_i2c.c blackfin: convert to use CONFIG_SYS_I2C framework 2014-11-17 08:10:37 +01:00
davinci_i2c.c i2c, davinci: convert driver to new mutlibus/mutliadapter framework 2014-04-17 17:24:38 -04:00
davinci_i2c.h i2c, davinci: convert driver to new mutlibus/mutliadapter framework 2014-04-17 17:24:38 -04:00
designware_i2c.c i2c: designware: Convert driver to multibus/multiadapter framework 2014-10-29 08:56:23 +01:00
designware_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_i2c.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
fti2c010.c i2c: fti2c010: fix compiler warning on paddr[] 2014-01-13 08:18:38 +01:00
fti2c010.h drivers/i2c: Update fti2c010.[ch], i2c_core.c to use SPDX identifiers 2013-07-25 08:51:42 -04:00
i2c_core.c i2c: Correct spelling error 2014-12-08 07:27:22 +01:00
i2c-emul-uclass.c dm: i2c: Add I2C emulation driver for sandbox 2014-12-11 13:18:42 -07:00
i2c-uclass-compat.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
i2c-uclass.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
i2c-uniphier-f.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
i2c-uniphier.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
ihs_i2c.c cosmetic: replace MIN, MAX with min, max 2014-09-24 18:30:29 -04:00
Kconfig i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller 2015-01-29 17:09:49 -07:00
kona_i2c.c i2c: kona: Resolve Kona I2C driver issue 2014-06-12 11:42:50 +02:00
Makefile dm: i2c: Add a compatbility layer 2015-01-29 17:09:53 -07:00
mv_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mv_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mvtwsi.c i2c: mvtwsi: Add support for Marvell Armada XP 2014-10-23 09:59:21 -04:00
mxc_i2c.c i2c:mxc fix array size of i2c_data 2015-01-08 11:00:45 -05:00
mxs_i2c.c i2c: mxs: Add support for I2C 1 on i.MX28 2014-10-29 08:56:07 +01:00
omap24xx_i2c.c i2c, omap24xx: add i2c deblock sequenz 2014-07-16 05:18:55 +02:00
omap24xx_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pca9564_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx_i2c.c ppc4xx: Handle i2c stuck on combined xfer 2014-11-10 06:44:30 +01:00
rcar_i2c.c i2c: rcar_i2c: Fix order of restart and clear status 2014-11-10 06:47:37 +01:00
s3c24x0_i2c.c i2c: samsung: register i2c busses for Exynso5420 and Exynos5250 2013-12-06 07:46:23 +01:00
s3c24x0_i2c.h i2c: s3c24xx: add hsi2c controller support 2013-10-17 07:20:26 +02:00
sandbox_i2c.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
sh_i2c.c i2c: sh_i2c: bugfix: i2c probe command does not work 2014-04-14 17:41:48 +09:00
sh_sh7734_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
soft_i2c.c ARM: IXP: Remove the IXP architecture support 2014-02-06 02:51:52 +01:00
tegra_i2c.c dm: i2c: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
tsi108_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u8500_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u8500_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_i2c.c i2c: zynq: Fixed compilation errors when using DEBUG 2014-05-08 07:03:37 +02:00