All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/1] i2c: add i2c driver for stm32
Date: Wed, 23 Aug 2017 10:32:04 +0200	[thread overview]
Message-ID: <599D3D84.9070001@denx.de> (raw)
In-Reply-To: <1502282727-12961-1-git-send-email-patrice.chotard@st.com>

Hello Partrice,

Am 09.08.2017 um 14:45 schrieb patrice.chotard at st.com:
> From: Patrice Chotard <patrice.chotard@st.com>
>
> Add i2c driver which can be used on both STM32F7 and STM32H7.
> This I2C block supports the following features:
>   _ Slave and master modes
>   _ Multimaster capability
>   _ Standard-mode (up to 100 kHz)
>   _ Fast-mode (up to 400 kHz)
>   _ Fast-mode Plus (up to 1 MHz)
>   _ 7-bit and 10-bit addressing mode
>   _ Multiple 7-bit slave addresses (2 addresses, 1 with configurable mask)
>   _ All 7-bit addresses acknowledge mode
>   _ General call
>   _ Programmable setup and hold times
>   _ Easy to use event management
>   _ Optional clock stretching
>   _ Software reset
>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> ---
>
> v2:	_ add I2C controller description in Kconfig
> 	_ rename stm32_i2c_dev struct to stm32_i2c_priv
> 	_ add comment for stm32_i2c_handle_reload()
> 	_ split stm32_i2c_compute_timing() code and add :
> 	    _ stm32_i2c_compute_solutions() which computes list of possible timings candidate
> 	    _ stm32_i2c_choose_solution() which selects the best timing
> 	_ use #defines instead of hard coded vlaue for speed in
> 	  stm32_i2c_set_bus_speed() and in i2c_specs[] array
> 	_ move part of code of stm32_i2c_probe() inside stm32_ofdata_to_platdata()
>
>   doc/device-tree-bindings/i2c/i2c-stm32.txt |  30 +
>   drivers/i2c/Kconfig                        |  20 +
>   drivers/i2c/Makefile                       |   1 +
>   drivers/i2c/stm32f7_i2c.c                  | 882 +++++++++++++++++++++++++++++
>   4 files changed, 933 insertions(+)
>   create mode 100644 doc/device-tree-bindings/i2c/i2c-stm32.txt
>   create mode 100644 drivers/i2c/stm32f7_i2c.c

Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

      parent reply	other threads:[~2017-08-23  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-09 12:45 [U-Boot] [PATCH v2 1/1] i2c: add i2c driver for stm32 patrice.chotard at st.com
2017-08-13 21:36 ` Simon Glass
2017-08-23  8:32 ` Heiko Schocher [this message]

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=599D3D84.9070001@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 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.