From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752275AbdJFNB2 (ORCPT ); Fri, 6 Oct 2017 09:01:28 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:65038 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752085AbdJFNB0 (ORCPT ); Fri, 6 Oct 2017 09:01:26 -0400 Subject: Re: [PATCH v4 4/5] ARM: dts: stm32: Add I2C1 support for STM32F746 SoC To: Pierre-Yves MORDRET , Wolfram Sang , Rob Herring , Mark Rutland , Maxime Coquelin , Russell King , , , , References: <1505399319-14782-1-git-send-email-pierre-yves.mordret@st.com> <1505399319-14782-5-git-send-email-pierre-yves.mordret@st.com> From: Alexandre Torgue Message-ID: <4b0f5b6c-2755-a7be-ac57-24844ae41f45@st.com> Date: Fri, 6 Oct 2017 15:00:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1505399319-14782-5-git-send-email-pierre-yves.mordret@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-06_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 09/14/2017 04:28 PM, Pierre-Yves MORDRET wrote: > This patch adds I2C1 support for STM32F746 SoC. > > Signed-off-by: M'boumba Cedric Madianga > Signed-off-by: Pierre-Yves MORDRET > --- > Version history: > v4: > v3: > * None > v2: > * Update I2C SoC device tree with latest Linux version > --- > --- > arch/arm/boot/dts/stm32f746.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi > index 4506eb9..ddd8f2c 100644 > --- a/arch/arm/boot/dts/stm32f746.dtsi > +++ b/arch/arm/boot/dts/stm32f746.dtsi Applied on stm32-dt-for-v4.15 branch. Thanks Alex > @@ -361,6 +361,16 @@ > bias-disable; > }; > }; > + > + i2c1_pins_b: i2c1@0 { > + pins { > + pinmux = , > + ; > + bias-disable; > + drive-open-drain; > + slew-rate = <0>; > + }; > + }; > }; > > crc: crc@40023000 { > @@ -380,6 +390,18 @@ > assigned-clocks = <&rcc 1 CLK_HSE_RTC>; > assigned-clock-rates = <1000000>; > }; > + > + i2c1: i2c@40005400 { > + compatible = "st,stm32f7-i2c"; > + reg = <0x40005400 0x400>; > + interrupts = <31>, > + <32>; > + resets = <&rcc STM32F7_APB1_RESET(I2C1)>; > + clocks = <&rcc 1 CLK_I2C1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > }; > }; > >