1 /* SPDX-License-Identifier: GPL-2.0+ */
3 // OWL fixed factor clock driver
5 // Copyright (c) 2014 Actions Semi Inc.
6 // Author: David Liu <liuwei@actions-semi.com>
8 // Copyright (c) 2018 Linaro Ltd.
9 // Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 #ifndef _OWL_FIXED_FACTOR_H_
12 #define _OWL_FIXED_FACTOR_H_
14 #include "owl-common.h"
16 #define OWL_FIX_FACT(_struct, _name, _parent, _mul, _div, _flags) \
17 struct clk_fixed_factor _struct = { \
20 .hw.init = CLK_HW_INIT(_name, \
22 &clk_fixed_factor_ops, \
26 extern const struct clk_ops clk_fixed_factor_ops
;
28 #endif /* _OWL_FIXED_FACTOR_H_ */