^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (c) 2014, The Linux Foundation. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef __QCOM_CLK_REGMAP_DIVIDER_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define __QCOM_CLK_REGMAP_DIVIDER_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/clk-provider.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include "clk-regmap.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct clk_regmap_div {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) u32 reg;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) u32 shift;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) u32 width;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct clk_regmap clkr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) extern const struct clk_ops clk_regmap_div_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) extern const struct clk_ops clk_regmap_div_ro_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif