diff options
author | Tony Lindgren <tony@atomide.com> | 2022-02-04 08:14:49 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-03-11 03:55:59 +0100 |
commit | ed06099c5d0b329082cc19c58eace0b20bf7fe70 (patch) | |
tree | cdc90f4803d522ffb1f2220a5d2254824c2727e5 /drivers/clk/ti/mux.c | |
parent | clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() (diff) | |
download | linux-ed06099c5d0b329082cc19c58eace0b20bf7fe70.tar.xz linux-ed06099c5d0b329082cc19c58eace0b20bf7fe70.zip |
clk: ti: Update component clocks to use ti_dt_clk_name()
Let's update all the TI component clocks to use ti_dt_clk_name() instead
of devicetree node name if available.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220204071449.16762-9-tony@atomide.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/ti/mux.c')
-rw-r--r-- | drivers/clk/ti/mux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clk/ti/mux.c b/drivers/clk/ti/mux.c index 0069e7cf3ebc..15de513d2d81 100644 --- a/drivers/clk/ti/mux.c +++ b/drivers/clk/ti/mux.c @@ -176,6 +176,7 @@ static void of_mux_clk_setup(struct device_node *node) struct clk_omap_reg reg; unsigned int num_parents; const char **parent_names; + const char *name; u8 clk_mux_flags = 0; u32 mask = 0; u32 shift = 0; @@ -213,7 +214,8 @@ static void of_mux_clk_setup(struct device_node *node) mask = (1 << fls(mask)) - 1; - clk = _register_mux(NULL, node->name, parent_names, num_parents, + name = ti_dt_clk_name(node); + clk = _register_mux(NULL, name, parent_names, num_parents, flags, ®, shift, mask, latch, clk_mux_flags, NULL); |