Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757075AbcCDCCs (ORCPT ); Thu, 3 Mar 2016 21:02:48 -0500 Received: from m199-177.yeah.net ([123.58.177.199]:57479 "EHLO m199-177.yeah.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754648AbcCDCCr (ORCPT ); Thu, 3 Mar 2016 21:02:47 -0500 Subject: Re: [RFC PATCH 2/4] mmc: core: implement enhanced strobe support To: Adrian Hunter , Shawn Lin References: <1456972557-7994-1-git-send-email-shawn.lin@rock-chips.com> <1456972596-8077-1-git-send-email-shawn.lin@rock-chips.com> <56D83E09.70008@intel.com> Cc: Ulf Hansson , Michal Simek , soren.brinkmann@xilinx.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org From: Shawn Lin Message-ID: <56D8EC54.7040902@kernel-upstream.org> Date: Fri, 4 Mar 2016 10:00:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D83E09.70008@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1koWUFPN1dZCBgUCR5ZQVZLVUpDQkJCQkNKQ0NLSkNMQkNDV1kJDhceCF lBWSgrPSQrOigoJDI1JDM#Oj8#KUFLVUtANiMkIj4oJDI1JDM#Oj8#KUFLVUtAKy8pJCI#KCQyNS QzPjo*PilBS1VLQDg0LjUvKSIkODVBS1VLQCk#PDI0NSQ6KDI6QUtVS0ArKTQtMjU4PiQ9LjEyOj VBS1VLQD8iNTo2MjgkMiskNTQkMjUkMz46Pz4pQUtVS0A2LjcvMiQpOCsvJD8yPT0#KT41LyQyNS QzPjo*PilBSVVLQDIrJEokNjI1Li8#JDg1LyRLJEpLQUtVS0AyKyRISyQ2MjUuLz4kODUvJEskTk tBS1VLQDIrJC80PzoiJDg1LyRLJEpLS0FLVUtAMiskTiQ2MjUuLz4kODUvJEskSktBS1VLQDIrJE okMzQuKSQ4NS8kSyRKS0tBS1VLQCguOTE#OC8kTiQ2MjUuLz4kODUvJEskSktBS1VLQCguOTE#OC 8kLzQ*OiIkODUvJEskSktLQUtVS0AoLjkxPjgvJEokMzQuKSQ4NS8kSyRKS0tBS1VLQD01JDY6Ii RPSkIkMzcxJEokS0NLSEtPQUtVSEhAPSskKT4kPSwkMzcxJEtDS0hLTUFWTFVOQD01JCguOSQ#NS w0KT8oJDM3MSRKS0tJS0pBS1VJQ0AoLjkkPkFKVU5OQD01JDkyL0wkMzcxJEtMSklLSUFIVUpOWQ Y+ X-HM-Sender-Digest: e1kSHx4VD1lBWUc6MyI6Pzo5MDo3GQg2PgtOPysILUswCRNVSlVKT05M S05NQ01CSkNNVTMWGhIXVQgTGgwVVRcSFTsQHgkVHhdWDgsIDwkeGhZVFAkcRVlXWQweGVlBHRoX CB5XWQgBWUFISE1LN1dZEgtZQVlOQ1VJSVVMVUpKT1kG X-HM-Tid: 0a533f5b6add6427c2e3b11012f8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1709 Lines: 48 Hi Adrian, On 2016/3/3 21:37, Adrian Hunter wrote: > On 03/03/16 04:36, Shawn Lin wrote: >> Controllers use data strobe line to latch data from devices >> under hs400 mode, but not for cmd line. So from emmc 5.1, JEDEC >> introduces enhanced strobe mode for latching cmd response from >> emmc devices to host controllers. This new feature is optional. > > As I currently understand it, HS400ES does not require tuning. > Consequently you can go straight to HS400ES and do not need to do > HS200 first. If that is the case then more changes are needed. > That's the case, and it's already in my plan before I going to remove "RFC" prefix. From my experience of developing emmc-device firmware, the only reason we need tuning for HS200 before we switch it into HS400 is that although data-line can be latched by DS but the cmd-line is still in SDR mode when runing in HS400. With hs400-es setuped, tuning and retune stuff is meaningless. ALl the SI should be guranteed by HW design to regulate the PCB payload. > Also it would be nice if the transfer mode displayed reflected enhanced > strobe e.g. Great idea! And maybe more thing should be done for core/debugfs.c It seems to big change for init_card, so I need more time to split my step for changing it to make the change will not do any side effect from non-hs400es procedure. :) Thanks. > > Currently > > mmc1: new HS400 MMC card at address 0001 > > Change for enhance strobe supported > > mmc1: new HS400ES MMC card at address 0001 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >