[U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C

Piotr Wilczek p.wilczek at samsung.com
Tue Oct 23 13:31:45 CEST 2012


Hello Heiko Schocher,

> -----Original Message-----
> From: Heiko Schocher [mailto:hs at denx.de]
> Sent: Monday, October 22, 2012 7:07 PM
> To: Piotr Wilczek
> Cc: u-boot at lists.denx.de; Kyungmin Park; Gwuieon Jin; Simon Glass
> Subject: Re: [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C
> 
> Hello Piotr Wilczek,
> 
> On 22.10.2012 09:21, Piotr Wilczek wrote:
> > This patchset enables both software and hardware I2C support for
> Exynos 4.
> > New multi_i2c driver 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@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 ...

Thank you for information, I will rebase my work.

> 
> > The s3c24x0_i2c driver is modified to use for for both Exynos 4 and
> Exynos 5.
> > Both s3c24x0_i2c and soft_i2c drivers 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:
> > 	- added multi_i2c driver;
> > 	- modified s3c24x0_i2c driver
> > 	- modified soft_i2c driver
> > 	- modified exynos4_get_i2c_clk function;
> >
> > 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: Modify s3c24x0_i2c driver for Multi-I2C
> >    drivers:i2c: modify I2C header for Multi-I2C
> >    arm:trats: Use Multi-I2C on Trarts board
> >
> >   arch/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(-)
> >   create mode 100644 drivers/i2c/multi_i2c.c
> >   create mode 100644 include/multi_i2c.h
> 
> bye,
> Heiko
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Best regards,
Piotr




More information about the U-Boot mailing list