Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1426785 > unrolled thread

[PATCH v3 0/5] Add support for the STM32F4 I2C

Started byM'boumba Cedric Madianga <cedric.madianga@gmail.com>
First post2016-06-20 18:30 +0200
Last post2016-06-20 18:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 0/5] Add support for the STM32F4 I2C M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-06-20 18:30 +0200
    [PATCH v3 5/5] ARM: configs: Add I2C support for STM32 defconfig M'boumba Cedric Madianga <cedric.madianga@gmail.com> - 2016-06-20 18:30 +0200

#1426785 — [PATCH v3 0/5] Add support for the STM32F4 I2C

FromM'boumba Cedric Madianga <cedric.madianga@gmail.com>
Date2016-06-20 18:30 +0200
Subject[PATCH v3 0/5] Add support for the STM32F4 I2C
Message-ID<rMaff-27F-13@gated-at.bofh.it>
This patchset adds support for the I2C controller embedded in STM32F4xx SoC.
It enables I2C transfer in interrupt mode with Standard-mode and Fast-mode bus
speed.

Changes since v2:
- Group I2C pins definitions in the device tree (Maxime)
- Suffix I2C phandle with part number (Maxime)
- Remov busy variable as not used (Rajeev)
- Rename STM32F4_I2C_TRISE_TRISE macro (Rajeev)
- Remove magic number during rise time computation (Rajeev)
- Simplify speed mode function computation

M'boumba Cedric Madianga (5):
  dt-bindings: Document the STM32 I2C bindings
  i2c: Add STM32F4 I2C driver
  ARM: dts: Add I2C1 support for STM32F429 SoC
  ARM: dts: Add I2C1 support for STM32429 eval board
  ARM: configs: Add I2C support for STM32 defconfig

 .../devicetree/bindings/i2c/i2c-stm32.txt          |  33 +
 arch/arm/boot/dts/stm32429i-eval.dts               |   6 +
 arch/arm/boot/dts/stm32f429.dtsi                   |  22 +
 arch/arm/configs/stm32_defconfig                   |   3 +
 drivers/i2c/busses/Kconfig                         |  10 +
 drivers/i2c/busses/Makefile                        |   1 +
 drivers/i2c/busses/i2c-stm32f4.c                   | 863 +++++++++++++++++++++
 7 files changed, 938 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-stm32.txt
 create mode 100644 drivers/i2c/busses/i2c-stm32f4.c

-- 
1.9.1

[toc] | [next] | [standalone]


#1426786 — [PATCH v3 5/5] ARM: configs: Add I2C support for STM32 defconfig

FromM'boumba Cedric Madianga <cedric.madianga@gmail.com>
Date2016-06-20 18:30 +0200
Subject[PATCH v3 5/5] ARM: configs: Add I2C support for STM32 defconfig
Message-ID<rMafg-27F-45@gated-at.bofh.it>
In reply to#1426785
Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
---
 arch/arm/configs/stm32_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 709e606..411eb0a 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -49,6 +49,9 @@ CONFIG_SERIAL_NONSTANDARD=y
 CONFIG_SERIAL_STM32=y
 CONFIG_SERIAL_STM32_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_STM32F4=y
 # CONFIG_HWMON is not set
 # CONFIG_USB_SUPPORT is not set
 CONFIG_NEW_LEDS=y
-- 
1.9.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web