LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v1 0/3] Append additional I2C instances and activate I2C1.
@ 2018-04-20  9:05 Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 1/3] ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC Pierre-Yves MORDRET
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pierre-Yves MORDRET @ 2018-04-20  9:05 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Pierre-Yves MORDRET

This patch intends to appends 3 additional I2C instances (2, 3 and 4).
In the same time I2C1 is setup for both STM32F746 and STM32F769 Discovery
boards.
---
  Version history:
     v1:
        * Initial
---

Pierre-Yves MORDRET (3):
  ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC
  ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board
  ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board

 arch/arm/boot/dts/stm32f746-disco.dts |  8 ++++++++
 arch/arm/boot/dts/stm32f746.dtsi      | 36 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/stm32f769-disco.dts |  8 ++++++++
 3 files changed, 52 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 1/3] ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC
  2018-04-20  9:05 [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Pierre-Yves MORDRET
@ 2018-04-20  9:05 ` Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 2/3] ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board Pierre-Yves MORDRET
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Pierre-Yves MORDRET @ 2018-04-20  9:05 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Pierre-Yves MORDRET

Append 3 additional I2C instance for STM32F746 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
  Version history:
     v1:
        * Initial
---
---
 arch/arm/boot/dts/stm32f746.dtsi | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index 4be2ee5..1479e3e 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -345,6 +345,42 @@
 			status = "disabled";
 		};
 
+		i2c2: i2c@40005800 {
+			compatible = "st,stm32f7-i2c";
+			reg = <0x40005800 0x400>;
+			interrupts = <33>,
+				     <34>;
+			resets = <&rcc STM32F7_APB1_RESET(I2C2)>;
+			clocks = <&rcc 1 CLK_I2C2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		i2c3: i2c@40005C00 {
+			compatible = "st,stm32f7-i2c";
+			reg = <0x40005C00 0x400>;
+			interrupts = <72>,
+				     <73>;
+			resets = <&rcc STM32F7_APB1_RESET(I2C3)>;
+			clocks = <&rcc 1 CLK_I2C3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		i2c4: i2c@40006000 {
+			compatible = "st,stm32f7-i2c";
+			reg = <0x40006000 0x400>;
+			interrupts = <95>,
+				     <96>;
+			resets = <&rcc STM32F7_APB1_RESET(I2C4)>;
+			clocks = <&rcc 1 CLK_I2C4>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		cec: cec@40006c00 {
 			compatible = "st,stm32-cec";
 			reg = <0x40006C00 0x400>;
-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 2/3] ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board
  2018-04-20  9:05 [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 1/3] ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC Pierre-Yves MORDRET
@ 2018-04-20  9:05 ` Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 3/3] ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board Pierre-Yves MORDRET
  2018-05-03 15:12 ` [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Pierre-Yves MORDRET @ 2018-04-20  9:05 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Pierre-Yves MORDRET

Add I2C1 support for STM32F769-DISCO Board

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
  Version history:
     v1:
        * Initial
---
---
 arch/arm/boot/dts/stm32f769-disco.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts
index 2241eec..677276ba 100644
--- a/arch/arm/boot/dts/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/stm32f769-disco.dts
@@ -111,6 +111,14 @@
 	clock-frequency = <25000000>;
 };
 
+&i2c1 {
+	pinctrl-0 = <&i2c1_pins_b>;
+	pinctrl-names = "default";
+	i2c-scl-rising-time-ns = <185>;
+	i2c-scl-falling-time-ns = <20>;
+	status = "okay";
+};
+
 &rtc {
 	status = "okay";
 };
-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 3/3] ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board
  2018-04-20  9:05 [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 1/3] ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC Pierre-Yves MORDRET
  2018-04-20  9:05 ` [PATCH v1 2/3] ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board Pierre-Yves MORDRET
@ 2018-04-20  9:05 ` Pierre-Yves MORDRET
  2018-05-03 15:12 ` [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Pierre-Yves MORDRET @ 2018-04-20  9:05 UTC (permalink / raw)
  To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Pierre-Yves MORDRET

Add I2C1 support for STM32F746-DISCO Board

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
  Version history:
     v1:
        * Initial
---
---
 arch/arm/boot/dts/stm32f746-disco.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts
index be94c6a..f9ad71f 100644
--- a/arch/arm/boot/dts/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/stm32f746-disco.dts
@@ -90,6 +90,14 @@
 	clock-frequency = <25000000>;
 };
 
+&i2c1 {
+	pinctrl-0 = <&i2c1_pins_b>;
+	pinctrl-names = "default";
+	i2c-scl-rising-time-ns = <185>;
+	i2c-scl-falling-time-ns = <20>;
+	status = "okay";
+};
+
 &sdio1 {
 	status = "okay";
 	vmmc-supply = <&mmc_vcard>;
-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 0/3] Append additional I2C instances and activate I2C1.
  2018-04-20  9:05 [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Pierre-Yves MORDRET
                   ` (2 preceding siblings ...)
  2018-04-20  9:05 ` [PATCH v1 3/3] ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board Pierre-Yves MORDRET
@ 2018-05-03 15:12 ` Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Alexandre Torgue @ 2018-05-03 15:12 UTC (permalink / raw)
  To: Pierre-Yves MORDRET, Maxime Coquelin, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel

Hi,

On 04/20/2018 11:05 AM, Pierre-Yves MORDRET wrote:
> This patch intends to appends 3 additional I2C instances (2, 3 and 4).
> In the same time I2C1 is setup for both STM32F746 and STM32F769 Discovery
> boards.
> ---
>    Version history:
>       v1:
>          * Initial
> ---
> 
> Pierre-Yves MORDRET (3):
>    ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC
>    ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board
>    ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board
> 
>   arch/arm/boot/dts/stm32f746-disco.dts |  8 ++++++++
>   arch/arm/boot/dts/stm32f746.dtsi      | 36 +++++++++++++++++++++++++++++++++++
>   arch/arm/boot/dts/stm32f769-disco.dts |  8 ++++++++
>   3 files changed, 52 insertions(+)
> 

Series applied on stm32-next.

Regards
Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-03 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20  9:05 [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Pierre-Yves MORDRET
2018-04-20  9:05 ` [PATCH v1 1/3] ARM: dts: stm32: Append additional I2Cs for STM32F746 SoC Pierre-Yves MORDRET
2018-04-20  9:05 ` [PATCH v1 2/3] ARM: dts: stm32: Add I2C1 support for STM32F769-DISCO Board Pierre-Yves MORDRET
2018-04-20  9:05 ` [PATCH v1 3/3] ARM: dts: stm32: Add I2C1 support for STM32F746-DISCO Board Pierre-Yves MORDRET
2018-05-03 15:12 ` [PATCH v1 0/3] Append additional I2C instances and activate I2C1 Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).