]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: ti: Add ti_dt_clk_name() helper to use clock-output-names
authorTony Lindgren <tony@atomide.com>
Fri, 4 Feb 2022 07:14:47 +0000 (09:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:08:17 +0000 (11:08 +0100)
commit9b5e9d8bf9a68e897946b0ac8a6922a0e24a53af
tree95b61ba3bb717c6049a23fafb6cec80b86438dd2
parentf45fff806ebb6cfa8b64da241ffa23ff4f6cc26e
clk: ti: Add ti_dt_clk_name() helper to use clock-output-names

[ Upstream commit 2c1593328d7f02fe49de5ad6b42c36296c9d6922 ]

Let's create the clock alias based on the clock-output-names property if
available. Also the component clock drivers can use ti_dt_clk_name() in
the following patches.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220204071449.16762-7-tony@atomide.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Stable-dep-of: 7af5b9eadd64 ("clk: ti: fix double free in of_ti_divider_clk_setup()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h