From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Andy-ld Lu <andy-ld.lu@mediatek.com>,
ulf.hansson@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
matthias.bgg@gmail.com, 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
Subject: Re: [PATCH v3 2/3] mmc: mtk-sd: Add two settings in platdata
Date: Thu, 10 Oct 2024 14:18:30 +0200 [thread overview]
Message-ID: <c18f8d23-ac54-4660-adce-0e8f7ab53fba@collabora.com> (raw)
In-Reply-To: <20241009120203.14913-3-andy-ld.lu@mediatek.com>
Il 09/10/24 14:01, Andy-ld Lu ha scritto:
> There are modified register settings for STOP_DLY_SEL and POP_EN_CNT,
> with two new fields added to the compatibility structure to reflect
> the modifications.
>
> For legacy SoCs, also add the original value of 'stop_dly_sel' to the
> platdata, for unified code setting.
>
mmc: mtk-sd: Add stop_dly_sel and pop_en_cnt to platform data
that's a better title; then, in the commit description, you should describe
why stop_dly_sel/pop_en_cnt is overridden (so, why some SoCs need a different
value for those registers).
Also, this commit should come *before* adding support for MT8196: you first
add the two settings in platdata explaining that this is also done in
preparation for adding support for the SD/MMC controller found in MT8196,
then you add the acutal MT8196 support.
For this commit, anyway, the code itself looks good.
Cheers,
Angelo
next prev parent reply other threads:[~2024-10-10 12:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 12:01 [PATCH v3 0/3] Add mtk-sd support for MT8196 Andy-ld Lu
2024-10-09 12:01 ` [PATCH v3 1/3] mmc: mtk-sd: Add " Andy-ld Lu
2024-10-10 12:18 ` AngeloGioacchino Del Regno
2024-10-09 12:01 ` [PATCH v3 2/3] mmc: mtk-sd: Add two settings in platdata Andy-ld Lu
2024-10-10 12:18 ` AngeloGioacchino Del Regno [this message]
2024-10-11 0:51 ` Andy-ld Lu (卢东)
2024-10-09 12:01 ` [PATCH v3 3/3] dt-bindings: mmc: mtk-sd: Add support for MT8196 Andy-ld Lu
2024-10-10 12:18 ` AngeloGioacchino Del Regno
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=c18f8d23-ac54-4660-adce-0e8f7ab53fba@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=andy-ld.lu@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.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@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
all inboxes | Powered by JetHome®