blob: 77316207bde19c623f613678cc024425b878e144 [file] [log] [blame]
Jerome Brunet6682bd42019-02-01 15:53:45 +01001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2019 BayLibre, SAS.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
5 */
6
7#ifndef __MESON_CLKC_H
8#define __MESON_CLKC_H
9
10#include <linux/clk-provider.h>
11#include "clk-regmap.h"
12
Jerome Brunet6682bd42019-02-01 15:53:45 +010013struct platform_device;
14
15struct meson_eeclkc_data {
16 struct clk_regmap *const *regmap_clks;
17 unsigned int regmap_clk_num;
Jerome Brunet19a18d42019-05-13 14:31:14 +020018 const struct reg_sequence *init_regs;
19 unsigned int init_count;
Jerome Brunet6682bd42019-02-01 15:53:45 +010020 struct clk_hw_onecell_data *hw_onecell_data;
21};
22
23int meson_eeclkc_probe(struct platform_device *pdev);
24
25#endif /* __MESON_CLKC_H */