Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5906735imb; Fri, 8 Mar 2019 05:13:00 -0800 (PST) X-Google-Smtp-Source: APXvYqw4qRAFvpet4XE50kqJlGsGiMjWqf9G9qC/erbif7ZKslBuZFYbadWavx/SltVpgxQ6KXgc X-Received: by 2002:a63:1060:: with SMTP id 32mr16749310pgq.126.1552050779869; Fri, 08 Mar 2019 05:12:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552050779; cv=none; d=google.com; s=arc-20160816; b=Ic5GbwShiWa5UksbwDLqHFCasCWfOKHvCfLxFAe6gMJgvIv1eqBJ7KLz2ymRPZT7TU fJfw5GMAaj1AqoSvWGBVUYDIgNZTxfYKorfvBbHkcSIumFU9gJx/H2j41jgoPNBudkS4 7pxvGzrwEgASwNOiiUWJ8SJSGarjEbofMXrFe6rQJSJWok1OVPxMuvuUtJsu2oQ84uKA Bn6xnlYd1KOOzyTXMTwK3J6okji0BOM/TAVU1vtNAk1tcqYqtrHX3uqSdYbL2FJvscsZ z2cJ7gjxz5osD+CO8v5SO9wjMAF/MSoCGSFOZva37EXOtw7OoOlVt4MUUwr1WjlnnVjW Sw8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=qzwWHkuap2lGALmG3kPHFoktRl5A42BVmpWFBPFLlqI=; b=YmniAgG2n0mFt4XzAjwHVukUQs1wD+vITs1PSWOINsqCqTlVIBmTL6Aa6q2J3CYlt5 8UGeGPw51UnsDVS2zu/GlWkp01KtaWu2uYZtT0SX41waT1Gwgh+4HvaMxW+rdxEj7Beo GxvxAN00jmGmb1Y03gAxXZXUUdg2XZ4+gO1Psu2tbKA+UJ+SRnjNKGjWho5ms4miPZmH TFb9Wv5nbtR/eimojygz8cXisq5wXFJYGC1Be/qhj4jW6oNqnp7kCPKAswnEI8Bf0+Bw gHs2tzb3O3W5M+i+UhWq7/f5JyD3Uwl9XNruLbkGQ5iWAuCWQ2R3x5+DjLs5pNMlTecX COmw== 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 d127si6416575pgc.303.2019.03.08.05.12.43; Fri, 08 Mar 2019 05:12: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 S1726537AbfCHNLL convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Mar 2019 08:11:11 -0500 Received: from vegas.theobroma-systems.com ([144.76.126.164]:34737 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbfCHNLL (ORCPT ); Fri, 8 Mar 2019 08:11:11 -0500 Received: from ip092042140082.rev.nessus.at ([92.42.140.82]:51974 helo=[10.2.146.249]) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1h2FGw-0005as-Um; Fri, 08 Mar 2019 14:10:47 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [PATCH v2 2/3] dt-bindings: mmc: Add a new property disable-cqe-dcmd. From: =?utf-8?Q?Christoph_M=C3=BCllner?= In-Reply-To: <37a96eda-196e-bacf-7ae2-5b9354c70273@intel.com> Date: Fri, 8 Mar 2019 14:10:45 +0100 Cc: robh+dt@kernel.org, mark.rutland@arm.com, Heiko Stuebner , shawn.lin@rock-chips.com, ulf.hansson@linaro.org, Philipp Tomsich , Michal Simek , Douglas Anderson , Viresh Kumar , Enric Balletbo i Serra , Vicente Bergas , Emil Renner Berthing , Randy Li , Tony Xie , Ezequiel Garcia , Klaus Goger , Lin Huang , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Content-Transfer-Encoding: 8BIT Message-Id: <3BCC2A27-3AF4-4E5E-BBD4-6A5B49831D3C@theobroma-systems.com> References: <20190307084329.25416-1-christoph.muellner@theobroma-systems.com> <20190307084329.25416-2-christoph.muellner@theobroma-systems.com> <37a96eda-196e-bacf-7ae2-5b9354c70273@intel.com> To: Adrian Hunter X-Mailer: Apple Mail (2.3445.9.1) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 08.03.2019, at 13:46, Adrian Hunter wrote: > > On 7/03/19 10:43 AM, Christoph Muellner wrote: >> This patch documents the new property disable-cqe-dcmd >> for the Arasan eMMC 5.1 driver. >> >> Signed-off-by: Christoph Muellner >> Signed-off-by: Philipp Tomsich >> --- >> Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt >> index 1edbb049cccb..ec699bf98b7c 100644 >> --- a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt >> +++ b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt >> @@ -44,6 +44,10 @@ Optional Properties: >> properly. Test mode can be used to force the controller to function. >> - xlnx,int-clock-stable-broken: when present, the controller always reports >> that the internal clock is stable even when it is not. >> + - disable-cqe-dcmd: The eMMC 5.1 standard specifies direct commands (DCMDs) >> + as part of the command queue engine (CQE). On controllers with a CQHCI, >> + such as the Arasan eMMC 5.1 host controller, the driver has to enable DCMDs. >> + This is done unless disable-cqe-dcmd is specified. > > If "supports-cqe" is in mmc.txt, should "disable-cqe-dcmd" be there also? The file mmc.txt says on top: "These properties are common to multiple MMC host controllers". As my patchset introduces "disable-cqe-dcmd" just for sdhci-of-arasan, I would say it should not go into that file. Also I wonder why "supports-cqe" is in mmc.txt, because only sdhci-tegra.c is evaluating that property. So I would expect it to be documented in Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt However, I see that "disable-cqe-dcmd" could go into other drivers as well. But is this enough to document it in mmc.txt?