From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH v4 06/10] linux: clk: add fw_name
Date: Mon, 07 Jul 2025 13:22:48 +0200 [thread overview]
Message-ID: <20250707-v2024-10-0-topic-socfpga-agilex5-v4-6-af7ee9182480@pengutronix.de> (raw)
In-Reply-To: <20250707-v2024-10-0-topic-socfpga-agilex5-v4-0-af7ee9182480@pengutronix.de>
Allow setting a local parent name for the provider that is registering
the clk. This is done in Linux, too.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
include/linux/clk.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/clk.h b/include/linux/clk.h
index f2c02c9eec8fca9702176d0265eecc3620e74fdb..f893d9071371340366b118b506e597195d3f1d58 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -352,11 +352,13 @@ struct clk_ops {
/**
* struct clk_parent_data - clk parent information
* @hw: parent clk_hw pointer (used for clk providers with internal clks)
+ * @fw_name: parent name local to provider registering clk
* @name: globally unique parent name (used as a fallback)
* @index: parent index local to provider registering clk (if @fw_name absent)
*/
struct clk_parent_data {
const struct clk_hw *hw;
+ const char *fw_name;
const char *name;
int index;
};
--
2.46.0
next prev parent reply other threads:[~2025-07-07 11:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-07 11:22 [PATCH v4 00/10] ARM: SoCFPGA: Add initial support for Agilex5 Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 01/10] ARM: socfpga: kconfig: sort entries Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 02/10] mach: socfpga: debug_ll: rework putc_ll Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 03/10] reset: reset-socfpga: build only for 32-bit socfpga Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 04/10] arm: socfgpa: add support for SoCFPGA Agilex5 Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 05/10] clk: support init->parent_data Steffen Trumtrar
2025-07-07 11:22 ` Steffen Trumtrar [this message]
2025-07-07 11:22 ` [PATCH v4 07/10] clk: socfpga: add agilex5 clock support Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 08/10] net: phy: add Analog Devices ADIN1300 Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 09/10] net: add support for Designware XGMAC (10gb) ethernet Steffen Trumtrar
2025-07-07 11:22 ` [PATCH v4 10/10] ARM: socfpga: add Arrow AXE5 Agilex5 board Steffen Trumtrar
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=20250707-v2024-10-0-topic-socfpga-agilex5-v4-6-af7ee9182480@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@lists.infradead.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