Jerome Brunet | 6682bd4 | 2019-02-01 15:53:45 +0100 | [diff] [blame] | 1 | /* 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 Brunet | 6682bd4 | 2019-02-01 15:53:45 +0100 | [diff] [blame] | 13 | struct platform_device; |
| 14 | |
| 15 | struct meson_eeclkc_data { |
| 16 | struct clk_regmap *const *regmap_clks; |
| 17 | unsigned int regmap_clk_num; |
Jerome Brunet | 19a18d4 | 2019-05-13 14:31:14 +0200 | [diff] [blame] | 18 | const struct reg_sequence *init_regs; |
| 19 | unsigned int init_count; |
Jerome Brunet | 6682bd4 | 2019-02-01 15:53:45 +0100 | [diff] [blame] | 20 | struct clk_hw_onecell_data *hw_onecell_data; |
| 21 | }; |
| 22 | |
| 23 | int meson_eeclkc_probe(struct platform_device *pdev); |
| 24 | |
| 25 | #endif /* __MESON_CLKC_H */ |