From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2 3/4] I2C: add driver of st-ericsson u8500 i2c
Date: Mon, 04 Apr 2011 07:45:47 +0200 [thread overview]
Message-ID: <4D995B0B.6070806@denx.de> (raw)
In-Reply-To: <1301761196-26072-4-git-send-email-john.rigby@linaro.org>
Hello John,
John Rigby wrote:
> From: Michael Brandt <michael.brandt@stericsson.com>
>
> Signed-off-by: John Rigby <john.rigby@linaro.org>
> CC: Heiko Schocher <hs@denx.de>
> ---
> v2: Incorporate suggestions from Heiko Schocher
Thanks, one nitpicking comment...
>
> drivers/i2c/Makefile | 1 +
> drivers/i2c/u8500_i2c.c | 613 +++++++++++++++++++++++++++++++++++++++++++++++
> drivers/i2c/u8500_i2c.h | 194 +++++++++++++++
> 3 files changed, 808 insertions(+), 0 deletions(-)
> create mode 100644 drivers/i2c/u8500_i2c.c
> create mode 100644 drivers/i2c/u8500_i2c.h
>
[...]
> diff --git a/drivers/i2c/u8500_i2c.h b/drivers/i2c/u8500_i2c.h
> new file mode 100644
> index 0000000..881dcc5
> --- /dev/null
> +++ b/drivers/i2c/u8500_i2c.h
[...]
> +/* Mask values for Interrupt registers */
> +#define U8500_I2C_INT_TXFE 0x00000001 /* Tx fifo empty */
> +#define U8500_I2C_INT_TXFNE 0x00000002 /* Tx Fifo nearly empty */
> +#define U8500_I2C_INT_TXFF 0x00000004 /* Tx Fifo Full */
> +#define U8500_I2C_INT_TXFOVR 0x00000008 /* Tx Fifo over run */
> +#define U8500_I2C_INT_RXFE 0x00000010 /* Rx Fifo Empty */
> +#define U8500_I2C_INT_RXFNF 0x00000020 /* Rx Fifo nearly empty */
> +#define U8500_I2C_INT_RXFF 0x00000040 /* Rx Fifo Full */
> +#define U8500_I2C_INT_RFSR 0x00010000 /* Read From slave request */
> +#define U8500_I2C_INT_RFSE 0x00020000 /* Read from slave empty */
> +#define U8500_I2C_INT_WTSR 0x00040000 /* Write to Slave request */
> +#define U8500_I2C_INT_MTD 0x00080000 /* Master Transcation Done*/
> +#define U8500_I2C_INT_STD 0x00100000 /* Slave Transaction Done */
> +#define U8500_I2C_INT_MAL 0x01000000 /* Master Arbitation Lost */
> +#define U8500_I2C_INT_BERR 0x02000000 /* Bus Error */
> +#define U8500_I2C_INT_MTDWS 0x10000000 /* Master Transaction Done wo/ Stop */
Line over 80 characters.
[...]
Beside of that, it looks Ok to me.
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:[~2011-04-04 5:45 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 20:40 [U-Boot] [PATCH 0/4] ST-Ericsson U8500 support John Rigby
2011-03-22 20:40 ` [U-Boot] [PATCH 1/4] p101x: extra init for u8500 John Rigby
2011-03-22 20:40 ` [U-Boot] [PATCH 2/4] armv7: Add ST-Ericsson u8500 arch John Rigby
2011-04-11 18:04 ` Wolfgang Denk
2011-03-22 20:40 ` [U-Boot] [PATCH 3/4] I2C: add driver of st-ericsson u8500 i2c John Rigby
2011-03-23 7:00 ` Heiko Schocher
2011-03-22 20:40 ` [U-Boot] [PATCH 4/4] armv7: Add support for ST-Ericsson U8500 href platform John Rigby
2011-03-22 20:46 ` [U-Boot] [PATCH 0/4] ST-Ericsson U8500 support John Rigby
2011-04-02 16:19 ` [U-Boot] [PATCHv2 " John Rigby
2011-04-11 17:33 ` John Rigby
2011-04-11 19:52 ` Albert ARIBAUD
2011-04-12 6:17 ` [U-Boot] [PATCHv3 " John Rigby
2011-04-28 14:47 ` John Rigby
2011-04-28 15:40 ` Albert ARIBAUD
2011-04-28 18:41 ` John Rigby
2011-05-12 13:41 ` John Rigby
2011-04-12 6:17 ` [U-Boot] [PATCHv3 1/4] Serial: p1011: new vendor init options John Rigby
2011-04-12 6:17 ` [U-Boot] [PATCHv3 2/4] armv7: Add ST-Ericsson u8500 arch John Rigby
2011-04-12 7:25 ` Albert ARIBAUD
2011-04-12 6:17 ` [U-Boot] [PATCHv3 3/4] I2C: Add driver for ST-Ericsson U8500 i2c John Rigby
2011-04-12 6:47 ` Heiko Schocher
2011-04-12 6:17 ` [U-Boot] [PATCHv3 4/4] armv7: Add support for ST-Ericsson U8500 href platform John Rigby
2011-04-19 20:42 ` [U-Boot] [PATCHv4 1/4] Serial: p1011: new vendor init options John Rigby
2011-04-19 20:59 ` Kumar Gala
2011-04-19 20:42 ` [U-Boot] [PATCHv4 2/4] armv7: Add ST-Ericsson u8500 arch John Rigby
2011-05-19 21:54 ` John Rigby
2011-06-01 17:34 ` Albert ARIBAUD
2011-04-19 20:42 ` [U-Boot] [PATCHv4 3/4] I2C: Add driver for ST-Ericsson U8500 i2c John Rigby
2011-04-28 18:52 ` John Rigby
2011-04-29 5:34 ` Heiko Schocher
2011-06-01 17:34 ` Albert ARIBAUD
2011-04-19 20:42 ` [U-Boot] [PATCHv4 4/4] armv7: Add support for ST-Ericsson U8500 href platform John Rigby
2011-06-01 17:35 ` Albert ARIBAUD
2011-05-12 8:05 ` [U-Boot] [PATCH 1/4] Serial: pl011: new vendor init options John Rigby
2011-05-12 17:10 ` Wolfgang Denk
2011-04-02 16:19 ` [U-Boot] [PATCHv2 1/4] p101x: extra init for u8500 John Rigby
2011-04-11 17:48 ` Wolfgang Denk
2011-04-02 16:19 ` [U-Boot] [PATCHv2 2/4] armv7: Add ST-Ericsson u8500 arch John Rigby
2011-04-02 16:19 ` [U-Boot] [PATCHv2 3/4] I2C: add driver of st-ericsson u8500 i2c John Rigby
2011-04-04 5:45 ` Heiko Schocher [this message]
2011-04-02 16:19 ` [U-Boot] [PATCHv2 4/4] armv7: Add support for ST-Ericsson U8500 href platform John Rigby
2011-04-11 18:09 ` Wolfgang Denk
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=4D995B0B.6070806@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