Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1967714imm; Thu, 9 Aug 2018 05:16:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzpfpWtSgDjPnFHJXoI9MzGW/ZsD6rguveEUFveVf+hILJmzbfYWdhjU7DRl21hS+6d9R4K X-Received: by 2002:a62:67c2:: with SMTP id t63-v6mr2154690pfj.204.1533816973542; Thu, 09 Aug 2018 05:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533816973; cv=none; d=google.com; s=arc-20160816; b=PH/PywSn5U/31IUI2/6Ab+zJkwIg492PkRYmJFMKQXRi3vFuoWLLBxV9i40k8sfy4L T1FotD+tC8IGDKCDZleoztU4O5LnYR6x5YVxDwThIOxAnwgqcNY1iZcki7l7p784eD5l 06Iz5HJfPADKMqUBR686eF9R5HeachcSRDZHIaUr1ttn4MMZOxGCW6/miCYS0wAVp/lT KHYCfcTXnXIE+whcS19uPh0YnVP5e6/vWMVdvdHdis3nvnkvLqxpVNeW7ZuPZadLBJAX oTPJnSntR/ThmZU9h09qmXKGMXZnCy+AqyyA0NQRRBPA4IwBrT1jJR+IaAHah1yrZcxx a+Xw== 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:dkim-signature:arc-authentication-results; bh=NddY8Heov1KYXozmGf1XBJ5CeoxLoEcdUZ4pHWfzu3Q=; b=U2FlAEBMFWsUUGCwOtq/V4FhUFFt+vW1hKyLTQ2ze4xZ8YomO0JdHx6Ogw4qoClyB2 nYeF+6mhWpHxacUXEtgL3ekhKtnwhXWOAkq+oIymntRLj/da9rU93iVJVYnzP1IHcsUE OuSGu8JqceiOJYQJBGY0mbKKosnBXpjzGb7XI6dT4RIVuPOmZaxY0g5hehjOCnCJEkHG NtqzlvBtMx9puIEFg2tGdSM2NNBhhU3q/lLnj/92xjMsb+/09yivHn5/X5UQmeqn5OJn 2AENIXnefMCDV+EAcX5ivfN8SyjJiSkEaZhnRy/CyynkVYJn/JGCKv3g32Ri8M1+Wp+T cXCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Za0R1adg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k187-v6si5940781pga.539.2018.08.09.05.15.58; Thu, 09 Aug 2018 05:16:13 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Za0R1adg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731041AbeHIOjl (ORCPT + 99 others); Thu, 9 Aug 2018 10:39:41 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43916 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730301AbeHIOjl (ORCPT ); Thu, 9 Aug 2018 10:39:41 -0400 Received: by mail-wr1-f67.google.com with SMTP id b15-v6so4937730wrv.10; Thu, 09 Aug 2018 05:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NddY8Heov1KYXozmGf1XBJ5CeoxLoEcdUZ4pHWfzu3Q=; b=Za0R1adgf/Pqeb5bVgpEbDJMS1m4VCq1il6l0XwlK5CmD8CaTpr8b0Cz+XcPEEMAny 8odztmr2pFMyH/Kq3bjgZto7hyVUfP/I1Bg8sj0zYkKNzkKfQQ+x6xznApOyZrDIjVmp vbsQUUq/lFWpgQRdwWHIZVVoTD9pgU9yfu7+8yyMy7e0R3BdoRraoWQlb/6am1W0UJvl xK31jtl1v27INS32R+iDpFaEX5xS/PQqxpoKfsQCCpt8nLx9EiPfaxqJqaXqIPFdHL0g k5JN3IxgMTjYBzsek4VOixbGiPWB3jvdvfgBWvK9q6C69YWSozo+7d6U6YgarxbXy2Ab XOHA== 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=NddY8Heov1KYXozmGf1XBJ5CeoxLoEcdUZ4pHWfzu3Q=; b=HR1/VGiJIm7W9f7IM0YfaFvX075Jp2ODpKcj7UQ9SK0VRjcBrlIaXUm/gOS18753qV gM3kAvSqnLtEv/Igg2XdEn67FWsg/3yt3KtK4gdR4FXSN/Ttz5Mh2qNqYIpdZB/ZarUg 4LyQmJLeJBbffXjK30Gn+lgv0Q0iw7S2tco7jy5mUB2+yHS1AfMtnljoAxgEsPgQIOPB I1RXzEK3i4Bn+qrWgcWi094kpBS5inofzvZNd3u7IBpfVqYMjliuN9Fz3Z1qZIEunohF Zm+dpYzb73y74VDlZXhhSoQuhLRU1O3j3njSf8Eptcxy17zHk/AHBQFyTQ8PAEE1a5FI r+GA== X-Gm-Message-State: AOUpUlEx4dpisxr9Ty0RP7Fb0K37ZldQRYnGOPjC1URwoh0iopEmENjj vV7vxIYd6Uy0+We6VZiSCok= X-Received: by 2002:adf:eac8:: with SMTP id o8-v6mr1215954wrn.150.1533816902486; Thu, 09 Aug 2018 05:15:02 -0700 (PDT) Received: from localhost (pD9E51C80.dip0.t-ipconnect.de. [217.229.28.128]) by smtp.gmail.com with ESMTPSA id t6-v6sm11032927wmf.8.2018.08.09.05.15.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 05:15:01 -0700 (PDT) Date: Thu, 9 Aug 2018 14:15:00 +0200 From: Thierry Reding To: Aapo Vienamo Cc: Rob Herring , Mark Rutland , Jonathan Hunter , Ulf Hansson , Adrian Hunter , Mikko Perttunen , Stefan Agner , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 02/40] dt-bindings: mmc: tegra: Add pad voltage control properties Message-ID: <20180809121500.GP21639@ulmo> References: <1533141150-10511-1-git-send-email-avienamo@nvidia.com> <1533141150-10511-3-git-send-email-avienamo@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1LW0Rr0Uq98qh6Rv" Content-Disposition: inline In-Reply-To: <1533141150-10511-3-git-send-email-avienamo@nvidia.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1LW0Rr0Uq98qh6Rv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 01, 2018 at 07:31:52PM +0300, Aapo Vienamo wrote: > Document the pinctrl bindings used by the SDHCI driver to reconfigure > pad voltages on controllers supporting multiple voltage levels. >=20 > Signed-off-by: Aapo Vienamo > Reviewed-by: Mikko Perttunen > Reviewed-by: Rob Herring > --- > .../bindings/mmc/nvidia,tegra20-sdhci.txt | 22 ++++++++++++++++= ++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.t= xt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt > index 9bce578..90c214d 100644 > --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt > +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt > @@ -38,3 +38,25 @@ sdhci@c8000200 { > power-gpios =3D <&gpio 155 0>; /* gpio PT3 */ > bus-width =3D <8>; > }; > + > +Optional properties for Tegra210 and Tegra186: > +- pinctrl-names, pinctrl-0, pinctrl-1 : Specify pad voltage > + configurations. Valid pinctrl-names are "sdmmc-3v3" and "sdmmc-1v8" > + for controllers supporting multiple voltage levels. The order of names > + should correspond to the pin configuration states in pinctrl-0 and > + pinctrl-1. Do we also want "sdmmc-off" to allow SDMMC pads to be powered down when the slot or card is not used? Thierry > + > +Example: > +sdhci@700b0000 { > + compatible =3D "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci"; > + reg =3D <0x0 0x700b0000 0x0 0x200>; > + interrupts =3D ; > + clocks =3D <&tegra_car TEGRA210_CLK_SDMMC1>; > + clock-names =3D "sdhci"; > + resets =3D <&tegra_car 14>; > + reset-names =3D "sdhci"; > + pinctrl-names =3D "sdmmc-3v3", "sdmmc-1v8"; > + pinctrl-0 =3D <&sdmmc1_3v3>; > + pinctrl-1 =3D <&sdmmc1_1v8>; > + status =3D "disabled"; > +}; > --=20 > 2.7.4 >=20 --1LW0Rr0Uq98qh6Rv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAltsMEQACgkQ3SOs138+ s6EKVQ/9Hkhh22E0hhTKV3WiJWymoURwVYwRFr/2l3Hk/IqQYO+48fPgKaQ2yxyx W7CSmOP0uYd0kxaiFjQtnFDRwmT/nn+SGiYk6Vf+HEbGn4GeReVXRxSiiFvySNVU bF/9z1aMBaAeAnXrvp9pvMZsEy0fA3+qZGZUAvYEZjrcbWp1Ew0JHbLc8x2QlNVr l4/vm/OBsoliidFGCB/hyFoLTwb2+wUSUuUfLCkNADYJ12y78+njPgB0pJDBoG0p pQHb9csVIaeSdfHv4SxIBS2jS2VsLraWQ56gMILsst74RNz/6rXu36VPK3MuXvrD 73RsBjb8E28TJS1WPKubtuRmSXWUzMCaYsY73K70dk1APhkz9gYWhdgtXeTLhxAZ k4sPQFJw5U1Vx3xhy4tKKrr6tnXV+8GTl3ufO5IabPTms+/GVfad06v5Ot/WX6fh gOe4ic/rWqxjHt30Qr9aq8NLjyXEWxZ64GJwf30UcpFDLq4jcANt/dnMdmrnZwlX +fgDLcizuUDxToWN3cwLxlS0GekZARu0Qkfaq5z80xgmTrTi5DuYskeHBNhfGN8c hLpfE0yxD9jrLJCqA8LDYTAZmFbBhoCEVTJ4BwEpBvBdyzGLstj/+wLcUTnKBGoq zK9gpP+oMV3toAQvguswH71LlYBfYcfHVfgT+Qb3Xc3v9uhnxLo= =LFLg -----END PGP SIGNATURE----- --1LW0Rr0Uq98qh6Rv--