All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Wilczek <p.wilczek@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/9] drivers:i2c: modify I2C header for Multi-I2C
Date: Mon, 22 Oct 2012 09:21:22 +0200	[thread overview]
Message-ID: <1350890483-26579-9-git-send-email-p.wilczek@samsung.com> (raw)
In-Reply-To: <1350890483-26579-1-git-send-email-p.wilczek@samsung.com>

This patch modifies i2c.h header to support Multi-I2C.

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Minkyu Kang <mk7.kang@samsung.com>
---
Changes in v2:
	- new patch

 include/i2c.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/include/i2c.h b/include/i2c.h
index 16f099d..cc07058 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -30,6 +30,13 @@
 #define _I2C_H_
 
 /*
+ * Multi_I2C header file.
+ */
+#if defined(CONFIG_MULTI_I2C)
+#include <multi_i2c.h>
+#endif
+
+/*
  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  *
  * The implementation MUST NOT use static or global variables if the
@@ -234,6 +241,10 @@ int i2c_set_bus_speed(unsigned int);
  *  Returns speed of currently active I2C bus in Hz
  */
 
+#if defined(CONFIG_MULTI_I2C)
+void i2c_reset(void);
+#endif
+
 unsigned int i2c_get_bus_speed(void);
 
 /* NOTE: These two functions MUST be always_inline to avoid code growth! */
-- 
1.7.5.4

  parent reply	other threads:[~2012-10-22  7:21 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 ` Piotr Wilczek [this message]
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 ` [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C Heiko Schocher
2012-10-23 11:31   ` 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=1350890483-26579-9-git-send-email-p.wilczek@samsung.com \
    --to=p.wilczek@samsung.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.