clk-regmap-mux.h 459 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2014, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __QCOM_CLK_REGMAP_MUX_H__
  6. #define __QCOM_CLK_REGMAP_MUX_H__
  7. #include <linux/clk-provider.h>
  8. #include "clk-regmap.h"
  9. #include "common.h"
  10. struct clk_regmap_mux {
  11. u32 reg;
  12. u32 shift;
  13. u32 width;
  14. const struct parent_map *parent_map;
  15. struct clk_regmap clkr;
  16. };
  17. extern const struct clk_ops clk_regmap_mux_closest_ops;
  18. #endif