Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4359227imm; Mon, 25 Jun 2018 14:25:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ6FdEB1I5kPB+tG3TvwWuazOKS1JYNd+iC52VTUdCd3byTNA912thI5pHiH0zd22WGBoDq X-Received: by 2002:a62:3b5d:: with SMTP id i90-v6mr14800519pfa.24.1529961923321; Mon, 25 Jun 2018 14:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529961923; cv=none; d=google.com; s=arc-20160816; b=Q4fm4JN/72NNIq4/KJUgPhrhYZTpFoRfO/pWZFSv5ImqV87QmzyGlMh52Q2Mgyjsot jcI7Af9E896dkreCqhCQeeXihSajfl4XsCqNmgcA1B3xv/G042Mn4lsQUVkRSz3uexhK uWkCzkWv9QIsbdJOkZ7MR0L+K8bAGw5kDqinV9ntbrl3WyCinj1wb+g2AQwFnFVSbUs2 9VsGtLK4JyvQXE1edkawnHn6iYj2s7nu/8LU8Vju7BYeKMVft0Tw3c+Lxd+Ev8nBUIUA mh4N6sYlKA0/zaLKoH/7eLF9YDF0JzUDGUHHxLRX7RY+QzTEJdavstBN/Nr7+KAEjnZU EA7g== 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=SuDhzoGI1ZTQdS8wnxZf87oRh6JkuyiNCpzu2I2ktuA=; b=mQxSEbGJD96Xx2xMNHUcfQcM5ShfNs3fOIGsWYfSDrTWPOl0UIG4DX5pn8Ub7dZ81u yYltwX2cNSjw11vMMXc9KR+YZOmkVUTZI5T87TrvIHkiWcf8Z+uJBDwMp8xQ1Nl1+koS E4W27w7WyWEyiq1cOnHBck1aQEnQ4uqslBDnz8Z2n4vEwHTFOhaAZsWzaX3SwFYdAmb4 8NPNSRSc/r6XiMfL/15GQIDByXg4q0howKK60xcNwbEW4zQgK2jNc4F4eh56+EzNA5E6 MWV6iFrnrd8DDhhaRGTeq3FZHvMdUudhzN1pXLHyLG7tMQfcD/nJGi8nsv5dF1ZbBHuo rUlQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18-v6si7336020pgn.433.2018.06.25.14.25.09; Mon, 25 Jun 2018 14:25:23 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755509AbeFYVXe (ORCPT + 99 others); Mon, 25 Jun 2018 17:23:34 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:40628 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbeFYVXb (ORCPT ); Mon, 25 Jun 2018 17:23:31 -0400 Received: by mail-pl0-f65.google.com with SMTP id t6-v6so2066697plo.7; Mon, 25 Jun 2018 14:23:31 -0700 (PDT) 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=SuDhzoGI1ZTQdS8wnxZf87oRh6JkuyiNCpzu2I2ktuA=; b=sM+W/WQtZKO+gA+1TNJ/1LnOLKXR0nb31YVkhdgDBvQRaTGHZ/3M/RIr5pXA65oXLl 0Iny6YdTSWvyPYylQ05EubuojpgdSm3Efaer/Y+hh8EACZPpeD6s+09HVBYe/aThx21z TrJPJtnTX9MFlcwJ9CXpUZ7ep5TrilMimmVGQUhnmTZTcNnQ6t6ECJSIr5LYXl+vdsxW LhcU0a1lhVXlvAJBELqInswjmpZuevBcqGWssUHW6GsaHZW0cK0K6a4l5WHRxBY4BjeR kdR+5i8qrKbclDfSDR21J+ju80BBAu3xqnSXRII0dN+gRMzQs93Igqk/uGeS4NQ0s5r7 vBNw== X-Gm-Message-State: APt69E0mhyTrgwJxJ1w1c5OSrgILQ6krH+3YJXlN69FTNGmOqu26enP8 IMbWdrjCVM8PHeeNOriqtA== X-Received: by 2002:a17:902:3c5:: with SMTP id d63-v6mr14237267pld.163.1529961811082; Mon, 25 Jun 2018 14:23:31 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id s85-v6sm1750769pfj.28.2018.06.25.14.23.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 14:23:30 -0700 (PDT) Date: Mon, 25 Jun 2018 15:23:29 -0600 From: Rob Herring To: Ludovic Barre Cc: Ulf Hansson , Maxime Coquelin , Alexandre Torgue , Gerald Baeza , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 12/19] mmc: mmci: add variant property to request a reset Message-ID: <20180625212329.GA26557@rob-hp-laptop> References: <1528809280-31116-1-git-send-email-ludovic.Barre@st.com> <1528809280-31116-13-git-send-email-ludovic.Barre@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528809280-31116-13-git-send-email-ludovic.Barre@st.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 03:14:33PM +0200, Ludovic Barre wrote: > From: Ludovic Barre > > Some variants could require a reset. > STM32 sdmmc variant needs to reset hardware block > during the power cycle procedure (for re-initialization) > > Signed-off-by: Ludovic Barre > --- > Documentation/devicetree/bindings/mmc/mmci.txt | 2 ++ > drivers/mmc/host/mmci.c | 9 +++++++++ > drivers/mmc/host/mmci.h | 4 ++++ > 3 files changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt b/Documentation/devicetree/bindings/mmc/mmci.txt > index 03796cf..e952707 100644 > --- a/Documentation/devicetree/bindings/mmc/mmci.txt > +++ b/Documentation/devicetree/bindings/mmc/mmci.txt > @@ -11,6 +11,8 @@ Required properties: > - compatible : contains "arm,pl18x", "arm,primecell". > - vmmc-supply : phandle to the regulator device tree node, mentioned > as the VCC/VDD supply in the eMMC/SD specs. > +depend of variant: Just make it an optional property. > +- resets : phandle to internal reset line. > > Optional properties: > - arm,primecell-periphid : contains the PrimeCell Peripheral ID, it overrides