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)
committerStephen Boyd <sboyd@kernel.org>
Fri, 11 Mar 2022 02:55:59 +0000 (18:55 -0800)
commit2c1593328d7f02fe49de5ad6b42c36296c9d6922
tree084b6cb830f90ef5fdbe4c93576a00adbb21e399
parentd02747e9894c66940db6859c273ab3000c730a93
clk: ti: Add ti_dt_clk_name() helper to use clock-output-names

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>
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h