diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-01-15 10:15:13 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2019-02-15 15:46:21 +0100 |
commit | 7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad (patch) | |
tree | cdefcb84f52a3d9a98e823421b4348e2897bf43d /drivers/clk/ti/clock.h | |
parent | clk: ti: move clk_hw_omap list handling under generic part of the driver (diff) | |
download | linux-7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad.tar.xz linux-7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad.zip |
clk: ti: add new API for checking if a provided clock is an OMAP clock
omap2_clk_is_hw_omap can now be used to verify if the provided clk_hw
is an omap HW clock or not. This is done to replace the usage of CLK_IS_BASIC
flag within the TI clock drivers.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r-- | drivers/clk/ti/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index e5b8af38cfa0..034ff6a2be07 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -302,6 +302,7 @@ long omap4_dpll_regm4xen_round_rate(struct clk_hw *hw, int omap4_dpll_regm4xen_determine_rate(struct clk_hw *hw, struct clk_rate_request *req); int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw)); +bool omap2_clk_is_hw_omap(struct clk_hw *hw); extern struct ti_clk_ll_ops *ti_clk_ll_ops; |