From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Hansson Subject: Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC Date: Mon, 28 Nov 2016 12:09:33 +0100 Message-ID: References: <3cd05a26-d340-476e-bab1-8be9d5446f47@marvell.com> <436c6925-cb0d-afe7-e3a2-384eca15ff42@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <436c6925-cb0d-afe7-e3a2-384eca15ff42@marvell.com> Sender: linux-mmc-owner@vger.kernel.org To: Ziji Hu Cc: Gregory CLEMENT , Adrian Hunter , "linux-mmc@vger.kernel.org" , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , "devicetree@vger.kernel.org" , Thomas Petazzoni , "linux-arm-kernel@lists.infradead.org" , Jimmy Xu , Jisheng Zhang , Nadav Haklai , Ryan Gao , Doug Jones , Victor Gu , "Wei(SOCP) Liu" , Wilson Ding List-Id: devicetree@vger.kernel.org [...] > > Could you please tell me the requirement of "op_code" parameter in > mmc_send_tuning()? > According to mmc_send_tuning(),it seems that tuning command(CMD19/CMD21) > is required. Thus device will not response mmc_send_tuning() if current > speed mode doesn't support tuning command. > Please correct me if I am wrong. > When the mmc core decides it's time to execute tuning, it invokes the ->execute_tuning() host ops, which has the "opcode" as a parameter. You should be able to use it when calling mmc_send_tuning(). [...] Kind regards Uffe