From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: Bough Chen <haibo.chen@nxp.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Cc: Stephen Boyd <sboyd@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: [PATCH 4/5] ARM: dts: imxrt1050: remove mmc max-frequency property
Date: Tue, 18 Oct 2022 19:29:27 +0200 [thread overview]
Message-ID: <de1957b5-ef9c-1f78-d2e6-b97a6f678b26@benettiengineering.com> (raw)
In-Reply-To: <DB7PR04MB40100794ED12BA4224CD6B1B90289@DB7PR04MB4010.eurprd04.prod.outlook.com>
Hi Haibo,
On 18/10/22 05:01, Bough Chen wrote:
>> -----Original Message-----
>> From: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> Sent: 2022年10月18日 7:56
>> To: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
>> linux-kernel@vger.kernel.org; linux-clk@vger.kernel.org;
>> linux-mmc@vger.kernel.org
>> Cc: Stephen Boyd <sboyd@kernel.org>; Bough Chen <haibo.chen@nxp.com>;
>> Adrian Hunter <adrian.hunter@intel.com>; Ulf Hansson
>> <ulf.hansson@linaro.org>; Giulio Benetti
>> <giulio.benetti@benettiengineering.com>
>> Subject: [PATCH 4/5] ARM: dts: imxrt1050: remove mmc max-frequency
>> property
>>
>> According to i.MXRT1050 Reference Manual usdhc supports up to 208Mhz clock
>
> Please double check this. As I know, the i.MXRT1050 and i.MX6/7/8/9 series use the same usdhc IP, maybe include some small difference.
> For the usdhc in i.MX6/7/8/9, I confirmed with IC team, the card clock output from usdhc can't be upper than
200MHz, otherwise maybe meet some stable related issue.
Thanks for poiting, I've double checked and you're right. RM states
208Mhz but DS states 200Mhz and it makes sense because of HS200.
> So here I think should change to like this:
> max-frequency = <200000000>;
Ok, I'll send a V2 for this. I wait for other comments on the other
patches for a bit before.
Best regards
--
Giulio Benetti
CEO/CTO@Benetti Engineering sas
>
> Best Regards
> Haibo Chen
>
>
>> so let's remove max-frequency property in the .dtsi base file and in case add
>> that property in the board specific .dts file for a specific device connected to it.
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
>> arch/arm/boot/dts/imxrt1050.dtsi | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm/boot/dts/imxrt1050.dtsi
>> b/arch/arm/boot/dts/imxrt1050.dtsi
>> index 114465e4dde6..0b44cc4ce6ad 100644
>> --- a/arch/arm/boot/dts/imxrt1050.dtsi
>> +++ b/arch/arm/boot/dts/imxrt1050.dtsi
>> @@ -93,7 +93,6 @@ usdhc1: mmc@402c0000 {
>> bus-width = <4>;
>> fsl,wp-controller;
>> no-1-8-v;
>> - max-frequency = <4000000>;
>> fsl,tuning-start-tap = <20>;
>> fsl,tuning-step = <2>;
>> status = "disabled";
>> --
>> 2.34.1
>
next prev parent reply other threads:[~2022-10-18 17:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 23:55 [PATCH 1/5] clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets Giulio Benetti
2022-10-17 23:55 ` [PATCH 2/5] clk: imx: imxrt1050: add IMXRT1050_CLK_LCDIF_PIX clock gate Giulio Benetti
2022-10-17 23:56 ` [PATCH 3/5] mmc: sdhci-esdhc-imx: improve imxrt1050 data Giulio Benetti
2022-10-18 3:06 ` Bough Chen
2022-10-26 11:25 ` Ulf Hansson
2022-10-17 23:56 ` [PATCH 4/5] ARM: dts: imxrt1050: remove mmc max-frequency property Giulio Benetti
2022-10-18 3:01 ` Bough Chen
2022-10-18 17:29 ` Giulio Benetti [this message]
2022-10-17 23:56 ` [PATCH 5/5] ARM: dts: imx: prepend a 0 in the memory address to make it clear it's 32MB Giulio Benetti
2022-10-18 22:36 ` [PATCH 1/5] clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets Giulio Benetti
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=de1957b5-ef9c-1f78-d2e6-b97a6f678b26@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=adrian.hunter@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=haibo.chen@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=sboyd@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