1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2024 Neil Armstrong <neil.armstrong@linaro.org>
9 #include "clk-regmap.h"
13 * struct meson_vclk_gate_data - vclk_gate regmap backed specific data
15 * @enable: vclk enable field
16 * @reset: vclk reset field
17 * @flags: hardware-specific flags
20 * Same as clk_gate except CLK_GATE_HIWORD_MASK which is ignored
22 struct meson_vclk_gate_data
{
28 extern const struct clk_ops meson_vclk_gate_ops
;
31 * struct meson_vclk_div_data - vclk_div regmap back specific data
34 * @enable: vclk divider enable field
35 * @reset: vclk divider reset field
36 * @table: array of value/divider pairs, last entry should have div = 0
39 * Same as clk_divider except CLK_DIVIDER_HIWORD_MASK which is ignored
41 struct meson_vclk_div_data
{
45 const struct clk_div_table
*table
;
49 extern const struct clk_ops meson_vclk_div_ops
;