From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Axe Yang <axe.yang@mediatek.com>,
Chaotian Jing <chaotian.jing@mediatek.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Wenbin Mei <wenbin.mei@mediatek.com>
Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
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: Fri, 24 Nov 2023 09:24:16 +0100 [thread overview]
Message-ID: <8dd46bcd-c1fa-4876-b4d9-e4bb91ce5de9@linaro.org> (raw)
In-Reply-To: <20231124070839.12484-3-axe.yang@mediatek.com>
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.
>
> 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.
> + 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
next prev parent reply other threads:[~2023-11-24 8:24 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 [this message]
2023-11-28 7:07 ` Axe Yang (杨磊)
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=8dd46bcd-c1fa-4876-b4d9-e4bb91ce5de9@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=axe.yang@mediatek.com \
--cc=chaotian.jing@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@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 \
--cc=wenbin.mei@mediatek.com \
/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).