linux/drivers/clk/samsung/clk-s5pv210-audss.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014 Tomasz Figa <[email protected]>
 *
 * Based on Exynos Audio Subsystem Clock Controller driver:
 *
 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 * Author: Padmavathi Venna <[email protected]>
 *
 * Driver for Audio Subsystem Clock Controller of S5PV210-compatible SoCs.
*/

#include <linux/io.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/of_address.h>
#include <linux/syscore_ops.h>
#include <linux/init.h>
#include <linux/platform_device.h>

#include <dt-bindings/clock/s5pv210-audss.h>

static DEFINE_SPINLOCK(lock);
static void __iomem *reg_base;
static struct clk_hw_onecell_data *clk_data;

#define ASS_CLK_SRC
#define ASS_CLK_DIV
#define ASS_CLK_GATE

#ifdef CONFIG_PM_SLEEP
static unsigned long reg_save[][2] =;

static int s5pv210_audss_clk_suspend(void)
{}

static void s5pv210_audss_clk_resume(void)
{}

static struct syscore_ops s5pv210_audss_clk_syscore_ops =;
#endif /* CONFIG_PM_SLEEP */

/* register s5pv210_audss clocks */
static int s5pv210_audss_clk_probe(struct platform_device *pdev)
{}

static const struct of_device_id s5pv210_audss_clk_of_match[] =;

static struct platform_driver s5pv210_audss_clk_driver =;

static int __init s5pv210_audss_clk_init(void)
{}
core_initcall(s5pv210_audss_clk_init);