diff options
author | Tony Lindgren <tony@atomide.com> | 2022-02-03 09:56:17 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-03-15 22:07:27 +0100 |
commit | e65eb2efc6175392f0e97f515e6e5b179e181cd8 (patch) | |
tree | 6f6f624d7c514915446c7e13ed2ef02d644ce65f /drivers/clk/ti/clkctrl.c | |
parent | clk: ti: Drop legacy compatibility clocks for am3 (diff) | |
download | linux-e65eb2efc6175392f0e97f515e6e5b179e181cd8.tar.xz linux-e65eb2efc6175392f0e97f515e6e5b179e181cd8.zip |
clk: ti: Drop legacy compatibility clocks for am4
We no longer have users for the compatibility clocks and we can drop them.
These are old duplicate clocks for what we using.
Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220203085618.16043-3-tony@atomide.com
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/ti/clkctrl.c')
-rw-r--r-- | drivers/clk/ti/clkctrl.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c index b2778252716f..cccdb868cf4b 100644 --- a/drivers/clk/ti/clkctrl.c +++ b/drivers/clk/ti/clkctrl.c @@ -564,19 +564,11 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node) data = am3_clkctrl_data; #endif #ifdef CONFIG_SOC_AM43XX - if (of_machine_is_compatible("ti,am4372")) { - if (ti_clk_get_features()->flags & TI_CLK_CLKCTRL_COMPAT) - data = am4_clkctrl_compat_data; - else - data = am4_clkctrl_data; - } + if (of_machine_is_compatible("ti,am4372")) + data = am4_clkctrl_data; - if (of_machine_is_compatible("ti,am438x")) { - if (ti_clk_get_features()->flags & TI_CLK_CLKCTRL_COMPAT) - data = am438x_clkctrl_compat_data; - else - data = am438x_clkctrl_data; - } + if (of_machine_is_compatible("ti,am438x")) + data = am438x_clkctrl_data; #endif #ifdef CONFIG_SOC_TI81XX if (of_machine_is_compatible("ti,dm814")) |