Received: by 10.223.185.116 with SMTP id b49csp3297212wrg; Mon, 5 Mar 2018 18:38:58 -0800 (PST) X-Google-Smtp-Source: AG47ELvBNLAxUdqSmIazL+Ylp2EL7dZm/G64nWqSGqBTs9qziaTAOs+8GV/xG5QBnkElzpoLrwsm X-Received: by 10.98.155.194 with SMTP id e63mr17185220pfk.95.1520303938441; Mon, 05 Mar 2018 18:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520303938; cv=none; d=google.com; s=arc-20160816; b=krVlL/am6he3GDw5t5ZOJ4sCKsQWQqSXbPW+UJJmqS3T/5scMlbnDnFLQEhn+4cbKW 2Ak4d/lG/PBUtT7sKOdQ+k8+CVqYQ4tTAogX6N009pTiUiyzK6bxUxS0xFUTSeVO002Q DbZYt/XZO8EMzr5oJ+bciOlTtG17/U8CGCpuLzYd/v/hnkxX6fxd27UwzUIJn1CgyVhC p4lcNE7jFp1s7AA6wvEt8uz9OmYx64Gfvt8QuU83r5Jhqn9j4JmkvXmh7lXRIm3kDm/9 sW6Xk7acFjWCzRwBkzreM4Fr912wvF9V3NHtHZC/OvGhKlR2wuqN9se9Mq4W8slxBwF0 Dw6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=thtnB0OxVKR0CWOZdNJ7stVaJ2K2ZxYqdYxzCutgNXM=; b=sn8s2rnLNFLxekM44yZv8dy9cv2iUROYuxw+HhYKGG5gGCR9ef7aU5mr4PHGa4TOI+ dkQRmghUx3Imm9bdWxj4HCt5Glb8RfY6LzmJjICOU/V6uEFr5Fr9MIGB6igNhsiGECk7 IzdNe3NDpqINAWzqM30JCQONXUPsfgld9tMC9AIrBXIelCWC3Qhgk86r+ZMRGd77dmlC LEIlfR9E/p8+U4y5h0MxNzFR7WIC5GOsyvqlZoRIQG3pJNGriZ8kprTTK6J+MdH0L/WD vHOywG1wOMYm9GunCDzesZJAphEpUX+ExEC2O4VelSbmstbiMYt59gXM3fi9Vxk81Fb1 pkgA== 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 r13-v6si10628115plj.141.2018.03.05.18.38.44; Mon, 05 Mar 2018 18:38:58 -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 S1753054AbeCFChu (ORCPT + 99 others); Mon, 5 Mar 2018 21:37:50 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:43527 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752321AbeCFCht (ORCPT ); Mon, 5 Mar 2018 21:37:49 -0500 Received: by mail-ot0-f194.google.com with SMTP id m22so16978601otf.10; Mon, 05 Mar 2018 18:37:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=thtnB0OxVKR0CWOZdNJ7stVaJ2K2ZxYqdYxzCutgNXM=; b=oDziUppGfr3IbsZNO3O08ir/XbgYY404oEyI1BvNfhiIJpQMEqU00kyV0btqCliXZX Nks4bdzGk8TJwODhxpEL29qYHI75nxf/PgVzd2gzZlWBj8b/fGupEEuBSPfk69KU7xzc XIwQSWYT8qB+8XMFU+ueNo5mmkjoxZrNYdVN8JDUIBSsAyY8jeJcexI8bZUmK7+3LuYw l6QnVN2QxWqyZCEI1+Vzqsqvy0KKyCie8WrezNudY1yoqACHhz7xP4PlV6rMpPu5eFwK KhaVQwx+UFQn7LSabCG1qFk95DOynZDuAO258UYtcuB/ePY+R3pX9bT96VttpSLh96Rg YlZg== X-Gm-Message-State: APf1xPBO4B7fnRLRGw0nsrggnOH5DbOsvCw7QpYtAGi8erre/45gJtaw 9cbEc+blT09RALkE2yc0sw== X-Received: by 10.157.51.159 with SMTP id u31mr12925946otc.160.1520303868476; Mon, 05 Mar 2018 18:37:48 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id e15sm6944067oic.18.2018.03.05.18.37.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Mar 2018 18:37:47 -0800 (PST) Date: Mon, 5 Mar 2018 20:37:47 -0600 From: Rob Herring To: patrice.chotard@st.com Cc: mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alexandre.torgue@st.com, lee.jones@linaro.org, mcoquelin.stm32@gmail.com Subject: Re: [PATCH v2 4/6] ARM: dts: stm32: Enable sdio1 for stm32f769-disco Message-ID: <20180306023747.lzh5yxfyugtlu62t@rob-hp-laptop> References: <1519901623-23216-1-git-send-email-patrice.chotard@st.com> <1519901623-23216-5-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519901623-23216-5-git-send-email-patrice.chotard@st.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2018 at 11:53:41AM +0100, patrice.chotard@st.com wrote: > From: Patrice Chotard > > Adds SDIO related DT nodes for stm32f769-disco board. > > broken-cd property is needed as it misses a pullup on board > (resistor R76 is missing). > > Signed-off-by: Patrice Chotard > --- > arch/arm/boot/dts/stm32f769-disco.dts | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts > index 9dba286c6d2f..2d922b5d4766 100644 > --- a/arch/arm/boot/dts/stm32f769-disco.dts > +++ b/arch/arm/boot/dts/stm32f769-disco.dts > @@ -44,6 +44,7 @@ > #include "stm32f746.dtsi" > #include "stm32f769-pinctrl.dtsi" > #include > +#include > > / { > model = "STMicroelectronics STM32F769-DISCO board"; > @@ -62,6 +63,12 @@ > serial0 = &usart1; > }; > > + mmc_vcard: mmc_vcard { mmc-vcard { > + compatible = "regulator-fixed"; > + regulator-name = "mmc_vcard"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > }; > > &cec { > @@ -74,6 +81,18 @@ > clock-frequency = <25000000>; > }; > > +&sdio2 { > + status = "okay"; > + vmmc-supply = <&mmc_vcard>; > + cd-gpios = <&gpioi 15 GPIO_ACTIVE_HIGH>; > + cd-inverted; > + broken-cd; > + pinctrl-names = "default", "opendrain"; > + pinctrl-0 = <&sdio_pins_b>; > + pinctrl-1 = <&sdio_pins_od_b>; > + bus-width = <4>; > +}; > + > &usart1 { > pinctrl-0 = <&usart1_pins_a>; > pinctrl-names = "default"; > -- > 1.9.1 >