blob: f0f71d23797b7b11882f340afeabe2a80ca74cd3 [file] [log] [blame]
Andy Shevchenko4e7cf742021-08-12 20:00:22 +03001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _CLK_FRACTIONAL_DIV_H
3#define _CLK_FRACTIONAL_DIV_H
4
5struct clk_hw;
6
Andy Shevchenko928f9e22021-08-12 20:00:23 +03007extern const struct clk_ops clk_fractional_divider_ops;
8
Andy Shevchenko4e7cf742021-08-12 20:00:22 +03009void clk_fractional_divider_general_approximation(struct clk_hw *hw,
10 unsigned long rate,
11 unsigned long *parent_rate,
12 unsigned long *m,
13 unsigned long *n);
14
15#endif