clk-cpumux.h 574 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2015 Linaro Ltd.
  4. * Author: Pi-Cheng Chen <[email protected]>
  5. */
  6. #ifndef __DRV_CLK_CPUMUX_H
  7. #define __DRV_CLK_CPUMUX_H
  8. struct clk_hw_onecell_data;
  9. struct device_node;
  10. struct mtk_composite;
  11. int mtk_clk_register_cpumuxes(struct device_node *node,
  12. const struct mtk_composite *clks, int num,
  13. struct clk_hw_onecell_data *clk_data);
  14. void mtk_clk_unregister_cpumuxes(const struct mtk_composite *clks, int num,
  15. struct clk_hw_onecell_data *clk_data);
  16. #endif /* __DRV_CLK_CPUMUX_H */