18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2014, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef __QCOM_CLK_REGMAP_DIVIDER_H__ 78c2ecf20Sopenharmony_ci#define __QCOM_CLK_REGMAP_DIVIDER_H__ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <linux/clk-provider.h> 108c2ecf20Sopenharmony_ci#include "clk-regmap.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cistruct clk_regmap_div { 138c2ecf20Sopenharmony_ci u32 reg; 148c2ecf20Sopenharmony_ci u32 shift; 158c2ecf20Sopenharmony_ci u32 width; 168c2ecf20Sopenharmony_ci struct clk_regmap clkr; 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciextern const struct clk_ops clk_regmap_div_ops; 208c2ecf20Sopenharmony_ciextern const struct clk_ops clk_regmap_div_ro_ops; 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif 23