devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Axe Yang (杨磊)" <Axe.Yang@mediatek.com>
To: "robh+dt@kernel.org" <robh+dt@kernel.org>,
	"Wenbin Mei (梅文彬)" <Wenbin.Mei@mediatek.com>,
	"krzysztof.kozlowski@linaro.org" <krzysztof.kozlowski@linaro.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"Chaotian Jing (井朝天)" <Chaotian.Jing@mediatek.com>,
	"krzysztof.kozlowski+dt@linaro.org"
	<krzysztof.kozlowski+dt@linaro.org>,
	"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
	"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
	"angelogioacchino.delregno@collabora.com"
	<angelogioacchino.delregno@collabora.com>
Cc: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Project_Global_Chrome_Upstream_Group
	<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: Re: [PATCH v1 2/2] dt-bindings: mmc: mtk-sd: add 64-steps tuning related property
Date: Tue, 28 Nov 2023 07:07:16 +0000	[thread overview]
Message-ID: <736a6dc342ff0c5452687b7588cc194e22bb209c.camel@mediatek.com> (raw)
In-Reply-To: <8dd46bcd-c1fa-4876-b4d9-e4bb91ce5de9@linaro.org>

Hi Krzysztof,

Thank you for the comments. I uploaded patchset v2 just now, please
have a look.

Regards,
Axe

On Fri, 2023-11-24 at 09:24 +0100, Krzysztof Kozlowski wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  On 24/11/2023 08:08, Axe Yang wrote:
> > Add 'mediatek,tune-64-steps' option. This property will give MSDC
> > a chance to achieve a more optimal calibration result, thus
> avoiding
> > potential CRC issues.
> 
> Documentation goes before users.

Fixed in v2.

> > 
> > Signed-off-by: Axe Yang <axe.yang@mediatek.com>
> > ---
> >  Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > index 3fffa467e4e1..c33301e2ea33 100644
> > --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > @@ -145,6 +145,14 @@ properties:
> >      minimum: 0
> >      maximum: 7
> >  
> > +  mediatek,tune-64-steps:
> > +    $ref: /schemas/types.yaml#/definitions/flag
> > +    description:
> > +      Some Soc need enable 64-steps tuning for better delay value
> to avoid CRC issue.
> 
> This scales poorly. Instead should be enum with number of tuning
> steps.

Fixed in v2.

> 
> > +      If present, tune 64 steps to cover a complete clock cycle.
> > +      If not present, tune only 32 steps. For eMMC and SD, this
> can also yield
> > +      satisfactory calibration results in most cases.
> 
> Best regards,
> Krzysztof
> 

      reply	other threads:[~2023-11-28  7:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24  7:08 [PATCH v1 0/2] mmc: mediatek: add support for complete clock cycle tuning Axe Yang
2023-11-24  7:08 ` [PATCH v1 1/2] mmc: mediatek: add support for 64-steps tuning Axe Yang
2023-11-29  1:39   ` Chaotian Jing (井朝天)
2023-11-24  7:08 ` [PATCH v1 2/2] dt-bindings: mmc: mtk-sd: add 64-steps tuning related property Axe Yang
2023-11-24  8:24   ` Krzysztof Kozlowski
2023-11-28  7:07     ` Axe Yang (杨磊) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=736a6dc342ff0c5452687b7588cc194e22bb209c.camel@mediatek.com \
    --to=axe.yang@mediatek.com \
    --cc=Chaotian.Jing@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=Wenbin.Mei@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).