linux/drivers/clk/versatile/icst.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  linux/arch/arm/common/icst307.c
 *
 *  Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
 *
 *  Support functions for calculating clocks/divisors for the ICST307
 *  clock generators.  See https://www.idt.com/ for more information
 *  on these devices.
 *
 *  This is an almost identical implementation to the ICST525 clock generator.
 *  The s2div and idx2s files are different
 */
#include <linux/module.h>
#include <linux/kernel.h>
#include <asm/div64.h>
#include "icst.h"

/*
 * Divisors for each OD setting.
 */
const unsigned char icst307_s2div[8] =;
const unsigned char icst525_s2div[8] =;
EXPORT_SYMBOL();
EXPORT_SYMBOL();

unsigned long icst_hz(const struct icst_params *p, struct icst_vco vco)
{}

EXPORT_SYMBOL();

/*
 * Ascending divisor S values.
 */
const unsigned char icst307_idx2s[8] =;
const unsigned char icst525_idx2s[8] =;
EXPORT_SYMBOL();
EXPORT_SYMBOL();

struct icst_vco
icst_hz_to_vco(const struct icst_params *p, unsigned long freq)
{}

EXPORT_SYMBOL();