From: Stephen Boyd <sboyd@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh@kernel.org>, WANG Xuerui <kernel@xen0n.name>,
Yao Zi <ziyao@disroot.org>, Yinbo Zhu <zhuyinbo@loongson.cn>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, loongarch@lists.linux.dev,
Mingcong Bai <jeffbai@aosc.io>,
Kexy Biscuit <kexybiscuit@aosc.io>, Yao Zi <ziyao@disroot.org>
Subject: Re: [PATCH v4 5/8] clk: loongson2: Avoid hardcoding firmware name of the reference clock
Date: Sun, 21 Sep 2025 12:50:53 -0700 [thread overview]
Message-ID: <175848425322.4354.14607215330062561253@lazor> (raw)
In-Reply-To: <20250919142649.58859-6-ziyao@disroot.org>
Quoting Yao Zi (2025-09-19 07:26:46)
> Loongson-2K0300 requires a reference clock with a frequency different
> from previous SoCs (120MHz v.s. 100MHz), thus hardcoding the firmware
> name of the reference clock as ref_100m isn't a good idea.
>
> This patch retrives the clock name of the reference clock dynamically
> during probe, avoiding the hardcoded pdata structure and preparing for
> support of future SoCs.
>
> Signed-off-by: Yao Zi <ziyao@disroot.org>
> ---
Applied to clk-next
next prev parent reply other threads:[~2025-09-21 19:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-19 14:26 [PATCH v4 0/8] Add clock support for Loongson 2K0300 SoC Yao Zi
2025-09-19 14:26 ` [PATCH v4 1/8] dt-bindings: clock: loongson2: Add Loongson-2K0300 compatible Yao Zi
2025-09-21 19:50 ` Stephen Boyd
2025-09-19 14:26 ` [PATCH v4 2/8] clk: loongson2: Allow specifying clock flags for gate clock Yao Zi
2025-09-21 19:50 ` Stephen Boyd
2025-09-19 14:26 ` [PATCH v4 3/8] clk: loongson2: Support scale clocks with an alternative mode Yao Zi
2025-09-21 19:50 ` Stephen Boyd
2025-09-19 14:26 ` [PATCH v4 4/8] clk: loongson2: Allow zero divisors for dividers Yao Zi
2025-09-21 19:50 ` Stephen Boyd
2025-09-19 14:26 ` [PATCH v4 5/8] clk: loongson2: Avoid hardcoding firmware name of the reference clock Yao Zi
2025-09-21 19:50 ` Stephen Boyd [this message]
2025-09-19 14:26 ` [PATCH v4 6/8] clk: loongson2: Add clock definitions for Loongson-2K0300 SoC Yao Zi
2025-09-21 19:50 ` Stephen Boyd
2025-09-19 14:26 ` [PATCH v4 7/8] LoongArch: dts: Add clock tree for Loongson-2K0300 Yao Zi
2025-09-19 14:26 ` [PATCH v4 8/8] LoongArch: dts: Remove clock-frquency from UART0 of CTCISZ Forever Pi Yao Zi
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=175848425322.4354.14607215330062561253@lazor \
--to=sboyd@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jeffbai@aosc.io \
--cc=kernel@xen0n.name \
--cc=kexybiscuit@aosc.io \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=mturquette@baylibre.com \
--cc=robh@kernel.org \
--cc=zhuyinbo@loongson.cn \
--cc=ziyao@disroot.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