You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Przemyslaw Marczak
a989ec8dd4
sandbox: i2c: search child emul dev and check its uclass id
...
The function get_emul() in sandbox i2c bus driver, always returns
first child as i2c emul device. This may only work for i2c devices
with a single child, which is an only i2c emul device.
In case when i2c device has more than one child (e.g. PMIC), and
one is i2c emul, then the function should search it by check uclass
id for each child. This patch add this change to the get_emul().
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
10 years ago
..
Kconfig
sandbox: Move CONFIG_SYS_I2C_SANDBOX to Kconfig
10 years ago
Makefile
dm: i2c: add i2c-gpio driver
10 years ago
adi_i2c.c
dm: i2c: Make API accessible even without CONFIG_DM
10 years ago
davinci_i2c.c
i2c, davinci: convert driver to new mutlibus/mutliadapter framework
11 years ago
davinci_i2c.h
i2c, davinci: convert driver to new mutlibus/mutliadapter framework
11 years ago
designware_i2c.c
i2c: designware: Convert driver to multibus/multiadapter framework
11 years ago
designware_i2c.h
…
fsl_i2c.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
11 years ago
fti2c010.c
…
fti2c010.h
…
i2c-emul-uclass.c
dm: i2c: Add I2C emulation driver for sandbox
11 years ago
i2c-gpio.c
dm: i2c-gpio: Remove redundant dm_gpio_set_value() call
10 years ago
i2c-uclass-compat.c
dm: i2c: Add two more I2C init functions to the compatibility layer
10 years ago
i2c-uclass.c
dm: i2c: Add a function to find out the chip offset length
10 years ago
i2c-uniphier-f.c
common: Make sure arch-specific map_sysmem() is defined
10 years ago
i2c-uniphier.c
common: Make sure arch-specific map_sysmem() is defined
10 years ago
i2c_core.c
i2c: Correct spelling error
11 years ago
ihs_i2c.c
cosmetic: replace MIN, MAX with min, max
11 years ago
kona_i2c.c
dm: i2c: Make API accessible even without CONFIG_DM
10 years ago
lpc32xx_i2c.c
lpc32xx: i2c: add LPC32xx I2C interface support
10 years ago
mv_i2c.c
mv_i2c: fix warnings on 64-bit builds
10 years ago
mv_i2c.h
…
mvtwsi.c
i2c: mvtwsi: Support for up to 4 different controllers
10 years ago
mxc_i2c.c
i2c: mxc: refactor i2c driver and support dm
10 years ago
mxs_i2c.c
i2c: mxs: Add support for I2C 1 on i.MX28
11 years ago
omap24xx_i2c.c
i2c, omap24xx: add i2c deblock sequenz
11 years ago
omap24xx_i2c.h
…
pca9564_i2c.c
…
ppc4xx_i2c.c
ppc4xx: Handle i2c stuck on combined xfer
11 years ago
rcar_i2c.c
i2c: rcar_i2c: Fix order of restart and clear status
11 years ago
s3c24x0_i2c.c
dm: core: Rename driver data function to dev_get_driver_data()
10 years ago
s3c24x0_i2c.h
…
sandbox_i2c.c
sandbox: i2c: search child emul dev and check its uclass id
10 years ago
sh_i2c.c
…
sh_sh7734_i2c.c
…
soft_i2c.c
…
tegra_i2c.c
dm: core: Rename driver data function to dev_get_driver_data()
10 years ago
tsi108_i2c.c
…
u8500_i2c.c
…
u8500_i2c.h
…
zynq_i2c.c
i2c: zynq: Fixed compilation errors when using DEBUG
11 years ago