From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C
Date: Mon, 22 Oct 2012 19:07:25 +0200 [thread overview]
Message-ID: <50857D4D.6080705@denx.de> (raw)
In-Reply-To: <1350890483-26579-1-git-send-email-p.wilczek@samsung.com>
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 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 ...
> 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
next prev parent reply other threads:[~2012-10-22 17:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 7:21 [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 1/9] exynos:clock: Add i2c clock Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 2/9] exynos:cpu: Add Exynos4 I2C spacing Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 3/9] exynos:pinmux: Add pinmux support for i2c Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 4/9] drivers:i2c: Modify I2C driver for Exynos4 Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 5/9] drivers:i2c: Add support for multi I2C Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 6/9] driver:i2c: Modify Soft I2C driver for Multi-I2C Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 7/9] driver:i2c: Modify s3c24x0_i2c " Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 8/9] drivers:i2c: modify I2C header " Piotr Wilczek
2012-10-22 7:21 ` [U-Boot] [PATCH v2 9/9] arm:trats: Use Multi-I2C on Trarts board Piotr Wilczek
2012-10-22 17:07 ` Heiko Schocher [this message]
2012-10-23 11:31 ` [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C Piotr Wilczek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50857D4D.6080705@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox