Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312886

RE: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning mode.

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Lakshmi Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Newsgroups linux.kernel
Subject RE: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning mode.
Date Wed, 20 Jan 2016 06:30:02 +0100
Message-ID <qSTvc-1X3-3@gated-at.bofh.it> (permalink)
References <qSFBU-HG-25@gated-at.bofh.it> <qSG4V-18j-7@gated-at.bofh.it>
X-Original-To Chen-Yu Tsai <wens@csie.org>
Authentication-Results spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=bestguesspass action=none header.from=xilinx.com;
Received-Spf Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;
Thread-Topic [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning mode.
Thread-Index AQHRUsRL0Ue/S49km06BTlFGCevD1J8CaPwAgAFybBA=
Accept-Language en-US
Content-Language en-US
X-Originating-IP [172.23.97.233]
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
MIME-Version 1.0
X-Rcis-Action ALLOW
X-Tm-As-Product-Ver IMSS-7.1.0.1224-8.0.0.1202-22074.005
X-Tm-As-User-Approved-Sender Yes;Yes
X-Forefront-Antispam-Report CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(377454003)(189002)(199003)(13464003)(24454002)(87936001)(86362001)(55846006)(50986999)(50466002)(5001960100002)(110136002)(189998001)(5004730100002)(11100500001)(5890100001)(5003600100002)(81156007)(5250100002)(6116002)(102836003)(3846002)(586003)(5008740100001)(1096002)(4326007)(2906002)(23676002)(1220700001)(76176999)(54356999)(2950100001)(2920100001)(92566002)(33656002)(63266004)(106466001)(106116001)(551934003)(47776003)(19580405001)(19580395003)(6806005)(2900100001)(7059030)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1NAM02HT042;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;MX:1;A:1;LANG:en;
X-Ms-Office365-Filtering-Correlation-ID 9ff981f4-789b-4f42-e66b-08d321598d94
X-Exchange-Antispam-Report-Test UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:CY1NAM02HT042;UriScan:(192813158149592);
X-Microsoft-Antispam-Prvs <50427feea1834eaabf6ffceb7f4b493b@CY1NAM02HT042.eop-nam02.prod.protection.outlook.com>
X-Exchange-Antispam-Report-Cfa-Test BCL:0;PCL:0;RULEID:(601004)(2401047)(13024025)(520078)(8121501046)(5005006)(13017025)(13015025)(13023025)(13018025)(10201501046)(3002001);SRVR:CY1NAM02HT042;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT042;
X-Forefront-Prvs 0827D7ACB9
X-Originatororg xilinx.com
X-Ms-Exchange-Crosstenant-Originalarrivaltime 20 Jan 2016 05:21:28.7398 (UTC)
X-Ms-Exchange-Crosstenant-ID 657af505-d5df-48d0-8300-c31994686c5c
X-Ms-Exchange-Crosstenant-Originalattributedtenantconnectingip TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01]
X-Ms-Exchange-Crosstenant-Fromentityheader HybridOnPrem
X-Ms-Exchange-Transport-Crosstenantheadersstamped CY1NAM02HT042
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
X-Original-Cc Michal Simek <michals@xilinx.com>, Soren Brinkmann <sorenb@xilinx.com>, Ulf Hansson <ulf.hansson@linaro.org>, Kevin Hao <haokexin@gmail.com>, "Emil P. Lenchak" <emill@xilinx.com>, Tobias Klauser <tklauser@distanz.ch>, "Sudeep Holla" <Sudeep.Holla@arm.com>, Adrian Hunter <adrian.hunter@intel.com>, Jisheng Zhang <jszhang@marvell.com>, "Ivan T. Ivanov" <ivan.ivanov@linaro.org>, Scott Branden <sbranden@broadcom.com>, Vincent Yang <vincent.yang.fujitsu@gmail.com>, Haibo Chen <haibo.chen@freescale.com>, Marek Vasut <marex@denx.de>, "ludovic.desroches@atmel.com" <ludovic.desroches@atmel.com>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, "Suman Tripathi" <stripathi@apm.com>, Shawn Lin <shawn.lin@rock-chips.com>, devicetree <devicetree@vger.kernel.org>, Harini Katakam <harinik@xilinx.com>, "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>, linux-kernel <linux-kernel@vger.kernel.org>, Anirudha Sarangi <anirudh@xilinx.com>, Punnaiah Choudary Kalluri <punnaia@xilinx.com>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
X-Original-Date Wed, 20 Jan 2016 05:21:24 +0000
X-Original-Message-ID <4FF8F58FAA9D5D4193D4E554E4352C5902C52798@XAP-PVEXMBX02.xlnx.xilinx.com>
X-Original-References <1453213055-35563-1-git-send-email-lakshmis@xilinx.com> <CAGb2v655SF-CUbZKKTif0toHqJ61Z4P4_QzQacfQL9EN0Y0zZQ@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1312886

Show key headers only | View raw


Hi,

> -----Original Message-----
> From: Chen-Yu Tsai [mailto:wens@csie.org]
> Sent: Tuesday, January 19, 2016 8:32 PM
> To: Lakshmi Sai Krishna Potthuri
> Cc: Michal Simek; Soren Brinkmann; Ulf Hansson; Kevin Hao; Emil P. Lenchak;
> Tobias Klauser; Sudeep Holla; Adrian Hunter; Jisheng Zhang; Ivan T. Ivanov;
> Scott Branden; Vincent Yang; Haibo Chen; Marek Vasut;
> ludovic.desroches@atmel.com; Rob Herring; Pawel Moll; Mark Rutland; Ian
> Campbell; Kumar Gala; Suman Tripathi; Shawn Lin; devicetree; Harini
> Katakam; linux-mmc@vger.kernel.org; linux-kernel; Lakshmi Sai Krishna
> Potthuri; Anirudha Sarangi; Punnaiah Choudary Kalluri; linux-arm-kernel
> Subject: Re: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto
> tuning mode.
>
> Hi,
>
> On Tue, Jan 19, 2016 at 10:17 PM, P L Sai Krishna
> <lakshmi.sai.krishna.potthuri@xilinx.com> wrote:
> > During the auto tuning mode of SDR104, a couple of transactions on
> > rx_tap_value which are not incremental or decremental by 1.
> > Since the DLL supports only increment/decrement by 1 during dynamic
> > change, observed unexpected delays during both these transactions.
> > The first transaction occurs when the tap value reached 0x1F, it will
> > reset to 0x0 and go till 0x7. This transaction can be avoided by
> > changing the corecfg_dis1p5xtuningcnt to 1'b1 which is currently tied
> > to 1'b0 in the RTL.
> > The second transaction occurs after the tuning is completed.
> > Once the tuning is done, the tuning fsm in the host controller
> > calculates the average pattern match and will write the value on the
> > rx tap value. Therefore observed a transaction from 0x7 to the final
> > value which need not be a increment/decrement value.
> > Because of this issue DLL tuning will not be accurate and SDR50,
> > SDR104 & HS200 modes may not work.
> >
> > This patch adds workaround to change the SD clock after tuning done to
> > provide accurate DLL tuning for SDR50,
> > SD104 & HS200 modes.
> >
> > After receiving the tuning done, program "SDCLK Frequency Select"
> > of clock control register with a value different from the desired
> > value. Wait for the "Internal Clock Stable" bit of the clock control
> > register and program the desired frequency.
>
> Does this series apply to any non-Arasan or non-sdhci mmc hosts?
> The subject does not indicate a specific platform.

This series is applicable only for Zynq Ultrascal+ MPSoC which
uses Arasan SDHCI.
Sorry, I will change the description to indicate the same.
The DT property used is made generic but the tuning used is
Specific to this SoC.

Regards
Sai Krishna


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning mode. P L Sai Krishna <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-19 15:50 +0100
  [LINUX PATCH 5/5] mmc: host: Update the quirks for this controller. P L Sai Krishna <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-19 15:50 +0100
    Re: [LINUX PATCH 5/5] mmc: host: Update the quirks for this controller. Holger Schurig <holgerschurig@gmail.com> - 2016-01-19 17:10 +0100
  [LINUX PATCH 4/5] Documentation: mmc: Updated the binding doc for Arasan SDHCI. P L Sai Krishna <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-19 15:50 +0100
    Re: [LINUX PATCH 4/5] Documentation: mmc: Updated the binding doc  for Arasan SDHCI. Rob Herring <robh@kernel.org> - 2016-01-19 18:20 +0100
      RE: [LINUX PATCH 4/5] Documentation: mmc: Updated the binding doc  for Arasan SDHCI. Lakshmi Sai Krishna Potthuri   <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-20 07:00 +0100
        Re: [LINUX PATCH 4/5] Documentation: mmc: Updated the binding doc for  Arasan SDHCI. Rob Herring <robh@kernel.org> - 2016-01-20 16:10 +0100
  Re: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning mode. Chen-Yu Tsai <wens@csie.org> - 2016-01-19 16:10 +0100
    RE: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning  mode. Lakshmi Sai Krishna Potthuri   <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-20 06:30 +0100
  Re: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning  mode. Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-01-19 19:00 +0100
    RE: [LINUX PATCH 1/5] mmc: Workaround for the issue in auto tuning  mode. Lakshmi Sai Krishna Potthuri   <lakshmi.sai.krishna.potthuri@xilinx.com> - 2016-01-20 07:10 +0100

csiph-web