Received: by 10.223.185.116 with SMTP id b49csp7225479wrg; Thu, 1 Mar 2018 01:52:59 -0800 (PST) X-Google-Smtp-Source: AG47ELvbmeELc7cUdWCwI0AQPKJr4Fphs6WP7CsOt0gYZDcLF2xLCT7ahR+rGDkkn053YypKW/z0 X-Received: by 10.99.117.6 with SMTP id q6mr1072191pgc.146.1519897979628; Thu, 01 Mar 2018 01:52:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519897979; cv=none; d=google.com; s=arc-20160816; b=XPWxQL1I/kGUghEGWLpe0m/L+6KLa3BpNqa0afj/IfGT8Qan86QUrRT/PiZUk7I9on 6eVkx2VpDwaBXNMvE8f3biIBfcWpVLrOMIJU0mGvpUVo0v5R3lcJDJWRVzJVZYuLH9UN sDEUbFwCIz7OMCaJnE/BxZREzolzgJ+oM7sdDl4kw9ibQg7ZyrPttncUBdQrhZS6RWSC gdsxNTO3LqoSm2ouAWZyjnZ4aaMWdRvMcauTysopoVfjFzDZ1rCd9LNlcpkGrQZ/P3kJ zWbU4XWioCHQtLnAo+wZtC9yMOllpcDgA5F3TuSyFCNrb+s7mxMubK/9NbAgnXHxoqpR c0EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=LY49iFmivcpPQUVtRyjrZgk/wdN0zpbzERu03qXDcGs=; b=dHBuGraH/raTOCOIkz1/Tg5bzKpDSQFbW3duWoJ/+vV0+WNQD5kgwi3DLvN488dlfN gUO/W03B2aep4Pcxcrog/vcg2UaUKoRyPDu6ov34MQY5EcC/4qZC+N5WNzviaAbF21zM lKSN3G7Xywe9xRQAqprabUiZ7x7xkK3Yyn3QP1cSrU1ZHRobpCaN+yRzNFeZlBn4BWGo c65HN1W4FY/9cBJRH07o3knsTA/LZpxLUHGBEQZZK6eyIpCfuvtvwhGLeS63cwm7xwL7 xHaBi7qdOWcpnr3uzrLHi/eV9LzhE/XXn7m7ki4SYqsekhPCt5HUQ9AnVb+UYarhgvoG XoEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si2800813plz.338.2018.03.01.01.52.45; Thu, 01 Mar 2018 01:52:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967146AbeCAJvg (ORCPT + 99 others); Thu, 1 Mar 2018 04:51:36 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:34791 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967069AbeCAJvd (ORCPT ); Thu, 1 Mar 2018 04:51:33 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w219mlfm021827; Thu, 1 Mar 2018 10:51:05 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gax28snnj-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Mar 2018 10:51:05 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 93EB538; Thu, 1 Mar 2018 09:51:04 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 478262666; Thu, 1 Mar 2018 09:51:04 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 1 Mar 2018 10:51:03 +0100 Subject: Re: [PATCH 1/6] ARM: dts: stm32: Add sdio pins definition for stm32f7 To: , , , , , , , CC: References: <1519897421-23803-1-git-send-email-patrice.chotard@st.com> <1519897421-23803-2-git-send-email-patrice.chotard@st.com> From: Alexandre Torgue Message-ID: <1e73394f-2410-1d2a-a450-d3f1c88d1ca2@st.com> Date: Thu, 1 Mar 2018 10:51:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519897421-23803-2-git-send-email-patrice.chotard@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.46] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-01_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Patrice On 03/01/2018 10:43 AM, patrice.chotard@st.com wrote: > From: Patrice Chotard > > Add sdio pins definition for the 2 sdio instances embeds in stm32f746. > > Signed-off-by: Patrice Chotard > --- > arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 62 ++++++++++++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi > index f518de184e52..fb40f0835dd4 100644 > --- a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi > +++ b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi > @@ -222,6 +222,68 @@ > slew-rate = <2>; > }; > }; > + > + sdio_pins: sdio_pins@0 { > + pins { > + pinmux = , /* SDMMC1 D0 */ > + , /* SDMMC1 D1 */ > + , /* SDMMC1 D2 */ > + , /* SDMMC1 D3 */ > + , /* SDMMC1 CLK */ > + ; /* SDMMC1 CMD */ > + drive-push-pull; > + slew-rate = <2>; > + }; > + }; if you have 2 pins groups, please use '_a' for the first one. You could have something like: sdio_pins_a sdio_od_pins_a and sdio_pins_b sdio_od_pins_b > + sdio_pins_od: sdio_pins_od@0 { > + pins1 { > + pinmux = , /* SDMMC1 D0 */ > + , /* SDMMC1 D1 */ > + , /* SDMMC1 D2 */ > + , /* SDMMC1 D3 */ > + ; /* SDMMC1 CLK */ > + drive-push-pull; > + slew-rate = <2>; > + }; > + > + pins2 { > + pinmux = ; /* SDMMC1 CMD */ > + drive-open-drain; > + slew-rate = <2>; > + }; > + }; > + > + sdio_pins_b: sdio_pins_b@0 { > + pins { > + pinmux = , /* SDMMC2 D0 */ > + , /* SDMMC2 D1 */ > + , /* SDMMC2 D2 */ > + , /* SDMMC2 D3 */ > + , /* SDMMC2 CLK */ > + ; /* SDMMC2 CMD */ > + drive-push-pull; > + slew-rate = <2>; > + }; > + }; > + > + sdio_pins_od_b: sdio_pins_od_b@0 { > + pins1 { > + pinmux = , /* SDMMC2 D0 */ > + , /* SDMMC2 D1 */ > + , /* SDMMC2 D2 */ > + , /* SDMMC2 D3 */ > + ; /* SDMMC2 CLK */ > + drive-push-pull; > + slew-rate = <2>; > + }; > + > + pins2 { > + pinmux = ; /* SDMMC2 CMD */ > + drive-open-drain; > + slew-rate = <2>; > + }; > + }; > }; > }; > }; >