Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2019 BayLibre, SAS.
0004  * Author: Jerome Brunet <jbrunet@baylibre.com>
0005  */
0006 
0007 #ifndef __MESON_CLKC_H
0008 #define __MESON_CLKC_H
0009 
0010 #include <linux/clk-provider.h>
0011 #include "clk-regmap.h"
0012 
0013 struct platform_device;
0014 
0015 struct meson_eeclkc_data {
0016     struct clk_regmap *const    *regmap_clks;
0017     unsigned int            regmap_clk_num;
0018     const struct reg_sequence   *init_regs;
0019     unsigned int            init_count;
0020     struct clk_hw_onecell_data  *hw_onecell_data;
0021 };
0022 
0023 int meson_eeclkc_probe(struct platform_device *pdev);
0024 
0025 #endif /* __MESON_CLKC_H */