meson-clkc-utils.h 412 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
  2. /*
  3. * Copyright (c) 2023 Neil Armstrong <neil.armstrong@linaro.org>
  4. */
  5. #ifndef __MESON_CLKC_UTILS_H__
  6. #define __MESON_CLKC_UTILS_H__
  7. #include <linux/of_device.h>
  8. #include <linux/clk-provider.h>
  9. struct meson_clk_hw_data {
  10. struct clk_hw **hws;
  11. unsigned int num;
  12. };
  13. struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_data);
  14. #endif