Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp971097ybx; Wed, 30 Oct 2019 08:01:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG762HQnIAX7U4QWexsLOxdD+5ArInmD9cu4ictjfr/+0pGBKPeIm/iOaVh0KR0yNfn2Uq X-Received: by 2002:a05:6402:304c:: with SMTP id bu12mr71819edb.230.1572447680534; Wed, 30 Oct 2019 08:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572447680; cv=none; d=google.com; s=arc-20160816; b=oi954aWBBpz/eFCrQYQCkUBy1he6zdwN6YA5igWGzrm/Ms8hAxQL/6G9YasPcNHr1i 9yza+lv7dRV+g7mspJqtyt0d47PJmCSRezydOXgwEaFsXzvuCc124oyvTtxhw/fyi3Up 0gK3ctAA+sGkQJqah+ATbdzxZHAO7AstLUyX+aHBlRHBLdE+035JK1BTIDhr8wOHzxj7 V/Ol2uXUUhPbfxzJoHbiKz7E/RHCd995Blyr4qluOFPuh/WAa9FGHZXzw+BnXnYEoq2B GxIsqiDpLv2lAuhkLsOw2HkSB26x9v2lOqdq/fMv4R4oTV/UaVHkvhTqUbAqSFLtr97t UDZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hNZcxEruvf8VcEgV12QG1AuNsmpJsv+vCmtArpIWJMY=; b=vTB2Y21l7wkYDU1J5MB1TkHte+3Y7Z2yC5fHVRusws3MWa/CsI2gkyANiOgaz04rqc suwJZdkGxDmlBhvXXEP2EceNZC4LiZbkUZC2HvrHIBSzKj5rVY0UX09cBj+XSzKpaXqq lt5yAzbWXO8L+0SgNBnF9N0/ME1jbk1F92zdS/ND5Bv530SoiMQ1yAOOPZ1HRp0wi7e0 PmOGtw3ITGr2LdCsdSNRY1DEj8wF+0jNE8WU/3TbBw4N7xzh5ztAzjsxvc5iJXJcj17O IkFUAXNHLUnt+sq4DD0opre893uF79m372/Su/7V62muUVVB4WzuaxDgPNY05TOmbGDI f3wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0iggF+J; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj17si1415342ejb.57.2019.10.30.08.00.55; Wed, 30 Oct 2019 08:01:20 -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=@linaro.org header.s=google header.b=g0iggF+J; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbfJ3O6H (ORCPT + 99 others); Wed, 30 Oct 2019 10:58:07 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:42437 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726772AbfJ3O6H (ORCPT ); Wed, 30 Oct 2019 10:58:07 -0400 Received: by mail-ua1-f67.google.com with SMTP id v2so773326uam.9 for ; Wed, 30 Oct 2019 07:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hNZcxEruvf8VcEgV12QG1AuNsmpJsv+vCmtArpIWJMY=; b=g0iggF+JgdTMYAr4mMgTLxZq7FZRkSb9aix7YOJppOGXwFuU39AeIlzKfye3jEC+Nf E5WhW0ayBApGA3e6LQAmfNOehFs4XaZLnjzC7ylbmSjiSkkzxa18yngDgVAy+YPdf8YF xzh4k4+vYJeNRay2Ay7FbZtxHpdDy9kXgIqZ559GP/rkZsw7YZC2nCN1T+d6UFyqsohT mV0Yy+ut1dtfibK++DcGkXDlgi70hfa8+iO/DVyt7lOw3AwJKDbcj0I3v6f5sNIdnQZ0 DMRds/mSHEGNJOcd+6X5gfZlsom9I6uJ2Ww9uxmaFKR2KXDWn8SKCIRg7ZG/yv2Ldf++ lVbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hNZcxEruvf8VcEgV12QG1AuNsmpJsv+vCmtArpIWJMY=; b=II3clAKDWpNp6aJcobhWuX2y4ZdNAsM00ULC4px9S7dw2An3P9fnfNZwCUn+odRp4o 08S7YfWDn0GQD+mbU1VQ36iAlRHQuxRy8uxcssBpWbZ+3uuGwGjuyFLsKsQkntTSB9OI wCJazvw18x+sEDULNewFzauwC5zXdYthPymScOvo9uXdceBUrOew/jWwUl70k3P9vIxv JMoZVaiPeagcDjBVgafI54YyyIfv/Y9LMX899btAXMEKkh8WOseiyLkpQ/ksNwaenzKq Xmd8fklzPHvqZUAMDekhImBnZy1i+0RhnO0B64N49oAzQEuaqxhYK3gFOapi+xm/VSAK QzEQ== X-Gm-Message-State: APjAAAXambNOSpt0ubO3e78bj31nqYepY3VKhqY+pDPOV3EpK4zRpDqm uZ47hMJhu4UtwZLF1LSFShxotZBckxbBaExckD2evQ== X-Received: by 2002:ab0:7095:: with SMTP id m21mr23352ual.15.1572447485669; Wed, 30 Oct 2019 07:58:05 -0700 (PDT) MIME-Version: 1.0 References: <1572345042-101207-1-git-send-email-manish.narani@xilinx.com> <1572345042-101207-4-git-send-email-manish.narani@xilinx.com> In-Reply-To: <1572345042-101207-4-git-send-email-manish.narani@xilinx.com> From: Ulf Hansson Date: Wed, 30 Oct 2019 15:57:29 +0100 Message-ID: Subject: Re: [PATCH v4 4/8] dt-bindings: mmc: arasan: Add optional properties for Arasan SDHCI To: Manish Narani Cc: Rob Herring , Mark Rutland , Adrian Hunter , Michal Simek , jolly.shah@xilinx.com, nava.manne@xilinx.com, rajan.vaja@xilinx.com, "linux-mmc@vger.kernel.org" , DTML , Linux Kernel Mailing List , Linux ARM , git@xilinx.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Oct 2019 at 11:30, Manish Narani wrote: > > Add optional properties for Arasan SDHCI which are used to set clk delays > for different speed modes in the controller. > > Signed-off-by: Manish Narani > --- > .../devicetree/bindings/mmc/arasan,sdhci.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt > index b51e40b2e0c5..c0f505b6cab5 100644 > --- a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt > +++ b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt > @@ -46,6 +46,22 @@ 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. > + - arasan-clk-phase-legacy: Input/Output Clock Delay pair in degrees for Legacy Mode. > + - arasan-clk-phase-mmc-hs: Input/Output Clock Delay pair degrees for MMC HS. > + - arasan-clk-phase-sd-hs: Input/Output Clock Delay pair in degrees for SD HS. > + - arasan-clk-phase-uhs-sdr12: Input/Output Clock Delay pair in degrees for SDR12. > + - arasan-clk-phase-uhs-sdr25: Input/Output Clock Delay pair in degrees for SDR25. > + - arasan-clk-phase-uhs-sdr50: Input/Output Clock Delay pair in degrees for SDR50. > + - arasan-clk-phase-uhs-sdr104: Input/Output Clock Delay pair in degrees for SDR104. > + - arasan-clk-phase-uhs-ddr50: Input/Output Clock Delay pair in degrees for SD DDR50. > + - arasan-clk-phase-mmc-ddr52: Input/Output Clock Delay pair in degrees for MMC DDR52. > + - arasan-clk-phase-mmc-hs200: Input/Output Clock Delay pair in degrees for MMC HS200. > + - arasan-clk-phase-mmc-hs400: Input/Output Clock Delay pair in degrees for MMC HS400. I don't mind if you convert these to common mmc bindings. I think other controllers/platforms may find them useful, at least at some point, if not already. > + > + Above mentioned are the clock (phase) delays which are to be configured in the > + controller while switching to particular speed mode. The range of values are > + 0 to 359 degrees. If not specified, driver will configure the default value > + defined for particular mode in it. > > Example: > sdhci@e0100000 { > -- > 2.17.1 > Kind regards Uffe