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_MUX_H__ 78c2ecf20Sopenharmony_ci#define __QCOM_CLK_REGMAP_MUX_H__ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <linux/clk-provider.h> 108c2ecf20Sopenharmony_ci#include "clk-regmap.h" 118c2ecf20Sopenharmony_ci#include "common.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cistruct clk_regmap_mux { 148c2ecf20Sopenharmony_ci u32 reg; 158c2ecf20Sopenharmony_ci u32 shift; 168c2ecf20Sopenharmony_ci u32 width; 178c2ecf20Sopenharmony_ci const struct parent_map *parent_map; 188c2ecf20Sopenharmony_ci struct clk_regmap clkr; 198c2ecf20Sopenharmony_ci}; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciextern const struct clk_ops clk_regmap_mux_closest_ops; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif 24