meson-eeclk.h 560 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2019 BayLibre, SAS.
  4. * Author: Jerome Brunet <[email protected]>
  5. */
  6. #ifndef __MESON_CLKC_H
  7. #define __MESON_CLKC_H
  8. #include <linux/clk-provider.h>
  9. #include "clk-regmap.h"
  10. struct platform_device;
  11. struct meson_eeclkc_data {
  12. struct clk_regmap *const *regmap_clks;
  13. unsigned int regmap_clk_num;
  14. const struct reg_sequence *init_regs;
  15. unsigned int init_count;
  16. struct clk_hw_onecell_data *hw_onecell_data;
  17. };
  18. int meson_eeclkc_probe(struct platform_device *pdev);
  19. #endif /* __MESON_CLKC_H */