Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764372AbcLWNSf (ORCPT ); Fri, 23 Dec 2016 08:18:35 -0500 Received: from mail-wj0-f195.google.com ([209.85.210.195]:34232 "EHLO mail-wj0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbcLWNSd (ORCPT ); Fri, 23 Dec 2016 08:18:33 -0500 MIME-Version: 1.0 In-Reply-To: <20161222191103.vzmfhnrtrzw2ivwa@pengutronix.de> References: <1482413704-17531-1-git-send-email-cedric.madianga@gmail.com> <1482413704-17531-4-git-send-email-cedric.madianga@gmail.com> <20161222191103.vzmfhnrtrzw2ivwa@pengutronix.de> From: "M'boumba Cedric Madianga" Date: Fri, 23 Dec 2016 14:09:21 +0100 Message-ID: Subject: Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Wolfram Sang , Rob Herring , Maxime Coquelin , Alexandre Torgue , Linus Walleij , Patrice Chotard , linux@armlinux.org.uk, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uBNDIfxB029327 Content-Length: 1314 Lines: 39 Hi, 2016-12-22 20:11 GMT+01:00 Uwe Kleine-König : > Hello, > > On Thu, Dec 22, 2016 at 02:35:02PM +0100, M'boumba Cedric Madianga wrote: >> @@ -337,6 +350,16 @@ >> slew-rate = <2>; >> }; >> }; >> + >> + i2c1_pins_b: i2c1@0 { >> + pins1 { >> + pinmux = ; >> + drive-open-drain; >> + }; >> + pins2 { >> + pinmux = ; >> + }; > > the second doesn't need the open-drain property? Why? I thought that open-drain was only needed for SDA line. But after double-checking I2C specification, it seems that SDA and SCL lines need open-drain or open-collector to perform the wired-AND function. I will do some trials with this config and will fix it in the V8. Thanks > >> + }; >> }; > > Best regards > Uwe > > -- > Pengutronix e.K. | Uwe Kleine-König | > Industrial Linux Solutions | http://www.pengutronix.de/ |