arm:exynos4: Enable Multi I2C
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 9 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C
Hello Piotr Wilczek,
Quoted 3 lines · Piotr Wilczek
This patchset enables both software and hardware I2C support for Exynos 4. New
multi_i2cdriver is added to support simultaneous use of hardware and software I2C drivers.
There was some I2C multibus support discussions, the latest was here:
http://www.mail-archive.com/u-boot at lists.denx.de/msg75530.html
I reworked this patches (rebased to current ML, worked in some comments from the ML) and added soft_i2c support as an example for it. Currently compile tested for arm and powerpc, you can find the tree here:
http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/multibus_v2_20121023
I post this patches to the ML soon, and we should try to bring this base to mainline and you should rebase your work on it ...
Quoted 41 lines
The
s3c24x0_i2cdriver is modified to use for for both Exynos 4 and Exynos 5. Boths3c24x0_i2candsoft_i2cdrivers are modified so can be used separetly (only hardware or only software) or can be used simultaneously. Pinmux setting and clock is add for Exynos4 to support hardware I2C.This patchset depends on the following patchset:
http://patchwork.ozlabs.org/patch/192742/
http://patchwork.ozlabs.org/patch/192743/
http://patchwork.ozlabs.org/patch/192744/
...
http://patchwork.ozlabs.org/patch/192765/Changes in v2:
- addedmulti_i2cdriver;
- modifieds3c24x0_i2cdriver
- modifiedsoft_i2cdriver
- modifiedexynos4_get_i2c_clkfunction;Piotr Wilczek (9):
exynos:clock: Add i2c clock
exynos:cpu: Add Exynos4 I2C spacing exynos:pinmux: Add pinmux support for i2c drivers:i2c: Modify I2C driver for Exynos4 drivers:i2c: Add support for multi I2C driver:i2c: Modify Soft I2C driver for Multi-I2C driver:i2c: Modifys3c24x0_i2cdriver for Multi-I2C drivers:i2c: modify I2C header for Multi-I2C arm:trats: Use Multi-I2C on Trarts boardarch/arm/cpu/armv7/exynos/clock.c | 17 +++++ arch/arm/cpu/armv7/exynos/pinmux.c | 51 +++++++++++++ arch/arm/include/asm/arch-exynos/cpu.h | 2 + board/samsung/trats/trats.c | 35 +++++++++- drivers/i2c/Makefile | 1 + drivers/i2c/multi_i2c.c | 124 ++++++++++++++++++++++++++++++++ drivers/i2c/s3c24x0_i2c.c | 89 +++++++++++++++++++---- drivers/i2c/soft_i2c.c | 60 ++++++++++++++-- include/configs/trats.h | 9 ++- include/i2c.h | 11 +++ include/multi_i2c.h | 62 ++++++++++++++++ 11 files changed, 439 insertions(+), 22 deletions(-)
Quoted 2 lines
create mode 100644
drivers/i2c/multi_i2c.c
create mode 100644include/multi_i2c.h
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany