linux/drivers/clk/visconti/pll.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2021 TOSHIBA CORPORATION
 * Copyright (c) 2021 Toshiba Electronic Devices & Storage Corporation
 *
 * Nobuhiro Iwamatsu <[email protected]>
 */

#ifndef _VISCONTI_PLL_H_
#define _VISCONTI_PLL_H_

#include <linux/clk-provider.h>
#include <linux/regmap.h>
#include <linux/spinlock.h>

struct visconti_pll_provider {};

#define VISCONTI_PLL_RATE(_rate, _dacen, _dsmen, \
	_refdiv, _intin, _fracin, _postdiv1, _postdiv2)

struct visconti_pll_rate_table {};

struct visconti_pll_info {};

struct visconti_pll_provider * __init visconti_init_pll(struct device_node *np,
							void __iomem *base,
							unsigned long nr_plls);
void visconti_register_plls(struct visconti_pll_provider *ctx,
			    const struct visconti_pll_info *list,
			    unsigned int nr_plls, spinlock_t *lock);

#endif /* _VISCONTI_PLL_H_ */