From: Robert Marko <robimarko@gmail.com>
To: Chukun Pan <amadeus@jmu.edu.cn>, Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v6 1/2] clk: qcom: gcc-ipq6018: update sdcc max clock frequency
Date: Sat, 22 Jun 2024 16:36:20 +0200 [thread overview]
Message-ID: <e3ad7b57-65dc-4262-b523-8bb81b60892b@gmail.com> (raw)
In-Reply-To: <20240620150122.1406631-2-amadeus@jmu.edu.cn>
On 20. 06. 2024. 17:01, Chukun Pan wrote:
> The mmc controller of the IPQ6018 does not support HS400 mode.
> So adjust the maximum clock frequency of sdcc to 200 MHz (HS200).
>
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
> ---
> drivers/clk/qcom/gcc-ipq6018.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c
> index 7e69de34c310..6c764e3e2665 100644
> --- a/drivers/clk/qcom/gcc-ipq6018.c
> +++ b/drivers/clk/qcom/gcc-ipq6018.c
> @@ -1617,7 +1617,7 @@ static const struct freq_tbl ftbl_sdcc_apps_clk_src[] = {
> F(96000000, P_GPLL2, 12, 0, 0),
> F(177777778, P_GPLL0, 4.5, 0, 0),
> F(192000000, P_GPLL2, 6, 0, 0),
> - F(384000000, P_GPLL2, 3, 0, 0),
> + F(200000000, P_GPLL0, 4, 0, 0),
Hi,
Are you sure that 200MHz is even valid of a frequency, cause all IPQ SoC-s
use 192MHz for the HS200 mode instead.
I would just drop the 384MHz frequency as datasheet clearly states that
HS400
is not supported.
Regards,
Robert
> { }
> };
>
next prev parent reply other threads:[~2024-06-22 14:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 15:01 [PATCH v6 0/2] arm64: dts: qcom: ipq6018: add sdhci node Chukun Pan
2024-06-20 15:01 ` [PATCH v6 1/2] clk: qcom: gcc-ipq6018: update sdcc max clock frequency Chukun Pan
2024-06-20 22:02 ` Dmitry Baryshkov
2024-06-22 14:36 ` Robert Marko [this message]
2024-06-26 4:03 ` Bjorn Andersson
2024-06-26 7:22 ` Robert Marko
2024-06-20 15:01 ` [PATCH v6 2/2] arm64: dts: qcom: ipq6018: add sdhci node Chukun Pan
2024-06-26 4:30 ` (subset) [PATCH v6 0/2] " Bjorn Andersson
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=e3ad7b57-65dc-4262-b523-8bb81b60892b@gmail.com \
--to=robimarko@gmail.com \
--cc=amadeus@jmu.edu.cn \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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).