Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp331837lqh; Mon, 6 May 2024 23:39:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrl5wZnt4Yg4fNAgrh1CPCN6yqNzpqVyufGqbdchngiB5qYMeoNWrogn8GZq2TUuGCd3w0gWEn86B6WnhVSByvmArKx1wcsxvkRD3UsA== X-Google-Smtp-Source: AGHT+IF/zHC0hfYC0zISkJVI2A6i+RyMwjAeXEwrBbP1zy1KfzLREGijj90bwMBpUpZiigckeGi9 X-Received: by 2002:a05:6a21:6da2:b0:1ac:96c8:1310 with SMTP id wl34-20020a056a216da200b001ac96c81310mr12837627pzb.56.1715063977831; Mon, 06 May 2024 23:39:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715063977; cv=pass; d=google.com; s=arc-20160816; b=PLLJnQ1ZoMyRbb9ilXXq6iceTTxfOzyXFoAg4OfTZwwOJS6DhkzCU/gwt3l79XC1HY O1383e7DEv6/zmwvJVDVC78276j27Zg4PNkyk+PtfOVs0S4dXLdMH+s/fWDBGsHWZ1N3 ugdzSCTVSiPPuhVeZ+ALgf+HRgyK9G0/mGnPghSQEgnH/b/4hhfPhJ26tpNALttn76Cu kIODG2RB0Ty16ARBx3Z5XayfgwpUXzjOuz4Y2nCiMyPCfdZnghu1tytd+osn8KGnlkPO VvAV45MDhX4oYeVIo7qdCp4AWuJvas/Hfh25GAGxEHrqk9Uh1c0dmZbypXtZfWa6t1Oq lvDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=UL8QYK9hXPgefD//27fpOf0KLYOC1/c069RMug+C/YY=; fh=r1DNx14w4VK54mRvsaPGlAu4jAeRB0STLhA2tZn+Pr8=; b=YlXI1yw8c6IcWhgkFKXHoEYhaiYdK2Jwe1xjmAhwu9FJ2OCBZzMHfovnqi/6q1Nxfk F+xvyDay3Pg2RcJrqBNR/NEf9QTaMDMrQNUzXfpIcK+NlG8dk041hsr83GKb/OgrVGvT d9mqnz1emeSAmZBgnFFfTZelSwUjqQAnk7PemQ3m2CumoCMLXgzehP/XV0EEa7FstmZg jKQ+su3C+QDK9wJzj2RkS3RFCloG8188YIDPAfIVAvauOBLUt4QfkCONSXitS8W4X6/M tcfpQg0ja6rh5Y6aOcVV7oH7YnCXChzVTb9glm/VMsYlb7x+baGkGXi0YEJfyTIQMn98 jMFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DdTY2SBZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lp6-20020a17090b4a8600b002af33564b9asi12031844pjb.13.2024.05.06.23.39.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 23:39:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DdTY2SBZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6BC28B21ACA for ; Tue, 7 May 2024 06:37:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7036A78C94; Tue, 7 May 2024 06:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DdTY2SBZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 691132EB08; Tue, 7 May 2024 06:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715063859; cv=none; b=CP/xAHG1aG4sKypD423ECaZt82L0o+pWtMsodPjZRLZUZyIl2t+9iHOjpAnMvbsZFboZrg98HcG88JNLJQBErpSCN4xRi19E85uetwKEl+ZHt9bYFxCotvjPlKOAPFc2XreeX4u+Y7wkLv0g41xMp8YRmypf39nSDknABTXMUi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715063859; c=relaxed/simple; bh=So5cWA9X/plmkFRBimltC9aU3la3EuxEVdH1kzJTYmE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rZSwyF+zS3R19osSsY0dQVeD2dVrXJR71l64ICAExBpOFhy0uwtP2942k/51gEMhKf7vgK1rkF44fg1bR0uyYEllWTXCSexRTQ3pez43p7KvgAcASZqw0/1ZcIot/vu6VPr+ADGnZwJVX9My0Ol/QgwRSZCNjjd2oOZu9t434VM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DdTY2SBZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C91D5C4AF63; Tue, 7 May 2024 06:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715063858; bh=So5cWA9X/plmkFRBimltC9aU3la3EuxEVdH1kzJTYmE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DdTY2SBZ5TwZQSl3KEq39YQvqzELf14NOBJg+qVN3UILiefALRvquwFcp1oePXPVI XRZN8WUR3lUl87s0KT/rfwVzAxq9iSQJu67hfYTmjMprz3n+DZakLzXMsIEhEUuqD5 bWcexrvgfMLz0HWvep7i93EUsLDHKt0Z3W3bzy3mGKH2pM+1fRMXR8TbFMzL4mAxno 6B0lNUnQr70OisPBstXNqklz+3oCI9J/7WzYrbWpdzP4d6WoSw8E1nB9y3BX4p4NtL 2hvjunY3VFlp7VzwPGBu4vZRJbimIkM8/tHWeE5jqOEsvzgAoS4nUs6CPY9NU7XE4M ecaWtAvsGgWYQ== Message-ID: <321b9a79-e4d1-4cdc-80ba-c226a6b2cdb4@kernel.org> Date: Tue, 7 May 2024 08:37:30 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 09/11] sdhci: dt-bindings: configuration settings To: Krishna Yarlagadda , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, corbet@lwn.net, andi.shyti@kernel.org, wsa+renesas@sang-engineering.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, digetx@gmail.com, ldewangan@nvidia.com, mkumard@nvidia.com References: <20240506225139.57647-1-kyarlagadda@nvidia.com> <20240506225139.57647-10-kyarlagadda@nvidia.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbB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Jh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240506225139.57647-10-kyarlagadda@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/05/2024 00:51, Krishna Yarlagadda wrote: > SDHCI vendor tuning registers are configured using config setting > framework. Document available config for Tegra SDHCI controllers. > > Signed-off-by: Krishna Yarlagadda > --- > .../bindings/mmc/nvidia,tegra20-sdhci.yaml | 36 +++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml > index 72987f0326a1..002bc1ffc156 100644 > --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml > @@ -177,6 +177,37 @@ properties: > operates at a 1.8 V fixed I/O voltage. > $ref: /schemas/types.yaml#/definitions/flag > > + config: No. This node does not re > + description: Config settings for SDHCI devices. > + Config setting is the configuration based on chip/board/system > + characterization on interface/controller settings. This is needed for > + - making the controller internal configuration to better perform > + - making the interface to work proper by setting drive strength, slew > + rates etc > + - making the low power leakage. > + SDHCI has configuration based on device speed modes. > + - common is set on all speeds and can be overridden by speed mode. > + - List of speed modes and their config name > + "default", /* MMC_TIMING_LEGACY */ > + "sd-mmc-highspeed", /* MMC_TIMING_MMC_HS */ > + "sd-mmc-highspeed", /* MMC_TIMING_SD_HS */ > + "uhs-sdr12", /* MMC_TIMING_UHS_SDR12 */ > + "uhs-sdr25", /* MMC_TIMING_UHS_SDR25 */ > + "uhs-sdr50", /* MMC_TIMING_UHS_SDR50 */ > + "uhs-sdr104", /* MMC_TIMING_UHS_SDR104 */ > + "uhs-ddr52", /* MMC_TIMING_UHS_DDR50 */ > + "uhs-ddr52", /* MMC_TIMING_MMC_DDR52 */ > + "mmc-hs200", /* MMC_TIMING_MMC_HS200 */ > + "mmc-hs400", /* MMC_TIMING_MMC_HS400 */ > + type: object > + unevaluatedProperties: true NAK. > + properties: > + nvidia,num-tuning-iter: > + description: Specify DQS trim value for HS400 timing. > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0 > + maximum: 0xffff "iterations" is decimal value. How it can be 0? 0 tries to time? Best regards, Krzysztof